Give – Donation Plugin and Fundraising Platform - Version 2.21.1

Version Description

Download this release

Release Info

Developer jason_the_adams
Plugin Icon 128x128 Give – Donation Plugin and Fundraising Platform
Version 2.21.1
Comparing to
See all releases

Code changes from version 2.21.0 to 2.21.1

Files changed (32) hide show
  1. assets/dist/js/gutenberg.asset.php +1 -1
  2. assets/dist/js/gutenberg.js +1 -1
  3. blocks/donation-form-grid/data/options.js +22 -23
  4. blocks/donor-wall/data/attributes.js +77 -77
  5. blocks/donor-wall/data/options.js +15 -16
  6. give.php +2 -2
  7. includes/admin/emails/class-email-setting-field.php +1 -1
  8. includes/admin/settings/class-settings-license.php +1 -1
  9. includes/admin/settings/class-settings-recurring.php +1 -1
  10. includes/admin/tools/import/class-give-import-donations.php +2 -2
  11. includes/admin/upgrades/views/plugins-update-section.php +1 -1
  12. includes/admin/views/blank-slate.php +3 -3
  13. includes/class-give-cli-commands.php +2 -2
  14. includes/deprecated/deprecated-actions.php +1 -1
  15. includes/deprecated/deprecated-filters.php +1 -1
  16. includes/gateways/stripe/includes/deprecated/deprecated-filters.php +1 -1
  17. includes/libraries/wp-background-process.php +1 -1
  18. languages/give.pot +280 -172
  19. readme.txt +5 -1
  20. src/Donors/Repositories/DonorRepository.php +9 -4
  21. src/Framework/QueryBuilder/Concerns/MetaQuery.php +27 -27
  22. src/LegacySubscriptions/includes/give-subscription.php +5 -5
  23. src/LegacySubscriptions/includes/give-subscriptions-api.php +4 -4
  24. src/MigrationLog/Migrations/MigrateCompletedMigrations.php +1 -1
  25. src/PaymentGateways/Gateways/Stripe/Actions/CreateCheckoutSession.php +5 -1
  26. src/Views/Form/Templates/Classic/resources/views/receipt.php +1 -1
  27. templates/shortcode-donor-wall.php +107 -104
  28. templates/shortcode-goal.php +176 -166
  29. vendor/autoload.php +1 -1
  30. vendor/composer/autoload_real.php +7 -7
  31. vendor/composer/autoload_static.php +4 -4
  32. vendor/composer/installed.php +6 -6
assets/dist/js/gutenberg.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('jquery', 'lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => '67d8f8244775bf52');
1
+ <?php return array('dependencies' => array('jquery', 'lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => '3167a30773c04ce4');
assets/dist/js/gutenberg.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e,t={73792:(e,t,n)=>{"use strict";var r=n(67294);const o=window.wp.i18n,i=window.wp.blocks;var a=n(72446),l=n.n(a),u=n(53741),s={insert:"head",singleton:!1};l()(u.Z,s);u.Z.locals;var c=n(45697),f=n.n(c),p=["color","size"];function d(){return d=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},d.apply(this,arguments)}function m(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}var h={white:"#fff",grey:"#555d66",give:"#66bb6a"},g=function(e){var t=e.color,n=void 0===t?"give":t,o=e.size,i=void 0===o?"24px":o,a=m(e,p);return r.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 157.2 157.2",width:i,height:i},a),r.createElement("circle",{fill:h[n],cx:"78.6",cy:"78.6",r:"78.6"}),r.createElement("path",{fill:"#fff",d:"M89.8 84.2c.3.7 1 1.3 1 1.3 13.9 1.7 33.6-.2 48.6-2.2-8.6 18.5-24 30.8-38.1 30.8-26.5 0-46.9-32.1-46.9-32.1 8.2-7.2 21.7-30.8 41.2-30.8s28 10.7 28 10.7l2.2-3.5s-9.1-31.9-34.9-31.9-53.2 42.3-69.2 52c0 0 22 52.2 70.2 52.2 40.4 0 50.6-38.6 52.5-48.2 5.4-.8 9.9-1.6 12.8-2.1 1-2.2 2.1-6.1 1.3-11.3-16.1 6.2-40.5 13.2-69.1 13.2-.1 0 0 1 .4 1.9z"}))};g.propTypes={color:f().oneOf(Object.keys(h)),size:f().oneOfType([f().number,f().string])};const v=g;const y={id:{type:"number",default:0},prevId:{type:"number"},displayStyle:{type:"string",default:"onpage"},continueButtonTitle:{type:"string",default:""},showTitle:{type:"boolean",default:!0},showGoal:{type:"boolean",default:!0},contentDisplay:{type:"boolean",default:!0},showContent:{type:"string",default:"above"}},b=window.wp.serverSideRender;var w=n.n(b),k=n(62795),x={insert:"head",singleton:!1};l()(k.Z,x);k.Z.locals;const E=window.wp.data,_=window.wp.components;var S=n(82636),O={insert:"head",singleton:!1};l()(S.Z,O);S.Z.locals;const C=function(){return r.createElement("p",{className:"give-blank-slate__help"},"Need help? Get started with ",r.createElement("a",{href:"http://docs.givewp.com/give101/",target:"_blank",rel:"noopener noreferrer"},(0,o.__)("GiveWP 101")))};var T=n(4607),P={insert:"head",singleton:!1};l()(T.Z,P);T.Z.locals;const N=function(){return r.createElement("div",{className:"placeholder-animation"},r.createElement("div",{className:"timeline-wrapper"},r.createElement("div",{className:"timeline-item"},r.createElement("div",{className:"animated-background"},r.createElement("div",{className:"layer label layer-4"},r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"})),r.createElement("div",{className:"layer-gap small"}),r.createElement("div",{className:"layer h2 layer-5"},r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"})),r.createElement("div",{className:"layer-gap medium"}),r.createElement("div",{className:"layer label layer-6"},r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"})),r.createElement("div",{className:"layer-gap small"}),r.createElement("div",{className:"layer h2 layer-7"},r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"})),r.createElement("div",{className:"layer-gap medium"}),r.createElement("div",{className:"layer-gap medium"}),r.createElement("div",{className:"layer h1 layer-8"},r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"}))))))};const D=function(e){var t=e.noIcon,n=e.isLoader,o=e.title,i=e.description,a=e.children,l=e.helpLink,u=r.createElement(N,null),s=r.createElement("div",{className:"block-loaded"},!!o&&r.createElement("h3",{className:"give-blank-slate__heading"},o),!!i&&r.createElement("p",{className:"give-blank-slate__message"},i),a,!!l&&r.createElement(C,null));return r.createElement("div",{className:"give-blank-slate"},!t&&r.createElement(v,{size:"80",className:"give-blank-slate__image"}),n?u:s)};function I(e){var t=[];return e&&(t=e.map((function(e){var t=e.id,n=e.title.rendered;return{value:t,label:""===n?"".concat(t," : ").concat((0,o.__)("No form title","give")):n}}))),t.unshift({value:"0",label:(0,o.__)("-- Select Form --","give")}),t}const M=function(){return r.createElement(D,{title:(0,o.__)("No donation forms found.","give"),description:(0,o.__)("The first step towards accepting online donations is to create a form.","give"),helpLink:!0},r.createElement(_.Button,{isPrimary:!0,isLarge:!0,className:"give-blank-slate__cta",href:"".concat(wpApiSettings.root.replace("/wp-json/",""),"/wp-admin/post-new.php?post_type=give_forms")},(0,o.__)("Create Donation Form","give")))},R=window.wp.element,j=window.jQuery;var F=n.n(j);function A(e){return A="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},A(e)}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(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 V(e,t){return V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},V(e,t)}function B(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=W(e);if(t){var o=W(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return U(this,n)}}function U(e,t){if(t&&("object"===A(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return H(e)}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(e){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},W(e)}var $=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(a,e);var t,n,o,i=B(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).saveSetting=t.saveSetting.bind(H(t)),t.saveState=t.saveState.bind(H(t)),t}return t=a,n=[{key:"saveSetting",value:function(e,t){this.props.setAttributes(L({},e,t))}},{key:"saveState",value:function(e,t){this.setState(L({},e,t))}},{key:"componentDidMount",value:function(){var e=this.props.value;this.$el=F()(this.el),this.$el.val(e),this.$input=this.$el.chosen({width:"100%"}).data("chosen"),this.handleChange=this.handleChange.bind(this),this.$el.on("change",this.handleChange)}},{key:"componentWillUnmount",value:function(){this.$el.off("change",this.handleChange),this.$el.chosen("destroy")}},{key:"handleChange",value:function(e){this.props.onChange(e.target.value)}},{key:"componentDidUpdate",value:function(){var e=F()(".chosen-base-control").closest(".chosen-container").find(".chosen-search-input");this.$input.search_field.autocomplete({source:function(t,n){var r={action:"give_block_donation_form_search_results",search:t.term},o=F()(".give-block-chosen-select");F().post(ajaxurl,r,(function(r){o.empty(),(r=JSON.parse(r)).length>0&&(n(F().map(r,(function(e){o.append('<option value="'.concat(e.id,'">').concat(e.name,"</option>"))}))),o.trigger("chosen:updated"),e.val(t.term))}))}})}},{key:"render",value:function(){var e=this;return r.createElement(_.BaseControl,{className:"give-chosen-base-control"},r.createElement("select",{className:"give-select give-select-chosen give-block-chosen-select",ref:function(t){return e.el=t}},this.props.options.map((function(e,t){return r.createElement("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)}))))}}],n&&z(t.prototype,n),o&&z(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(R.Component);const Q=$;const G=(0,E.withSelect)((function(e){return{forms:e("core").getEntityRecords("postType","give_forms",{per_page:30})}}))((function(e){var t=e.forms,n=e.setAttributes;return t?t&&0===t.length?r.createElement(M,null):r.createElement(D,{title:(0,o.__)("Donation Form","give")},r.createElement(Q,{className:"give-blank-slate__select",options:I(t),onChange:function(e){n({id:Number(e)})},value:0})):r.createElement(_.Placeholder,null,r.createElement(_.Spinner,null))})),q=window.wp.blockEditor;var K={};K.displayStyles=[{value:"onpage",label:(0,o.__)("Full Form","give")},{value:"modal",label:(0,o.__)("Modal","give")},{value:"reveal",label:(0,o.__)("Reveal","give")},{value:"button",label:(0,o.__)("One Button Launch","give")}],K.contentPosition=[{value:"above",label:(0,o.__)("Above","give")},{value:"below",label:(0,o.__)("Below","give")}];const Y=K;function Z(e){return Z="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},Z(e)}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(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 ee(e,t){return ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ee(e,t)}function te(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=oe(e);if(t){var o=oe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ne(this,n)}}function ne(e,t){if(t&&("object"===Z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return re(e)}function re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},oe(e)}var ie=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ee(e,t)}(l,e);var t,n,i,a=te(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={continueButtonTitle:t.props.attributes.continueButtonTitle},t.saveSetting=t.saveSetting.bind(re(t)),t.saveState=t.saveState.bind(re(t)),t}return t=l,(n=[{key:"saveSetting",value:function(e,t){this.props.setAttributes(X({},e,t))}},{key:"saveState",value:function(e,t){this.setState(X({},e,t))}},{key:"render",value:function(){var e=this,t=this.props.forms,n=this.props.attributes,i=n.id,a=n.displayStyle,l=n.showTitle,u=n.showGoal,s=n.showContent,c=n.contentDisplay;return r.createElement(q.InspectorControls,{key:"inspector"},r.createElement(_.PanelBody,{title:(0,o.__)("Donation Form Settings","give")},r.createElement(_.Button,{isDefault:!0,onClick:function(){return e.saveSetting("id",0)},className:"give-change-donation-form-btn"},r.createElement(_.Dashicon,{icon:"edit"})," ",(0,o.__)("Change Donation Form","give"))),function(e,t){if(e){var n=e.find((function(e){return parseInt(e.id)===parseInt(t)}));return n&&(!n.formTemplate||"legacy"===n.formTemplate)}return!1}(t,i)&&r.createElement("div",null,r.createElement(_.PanelBody,{title:(0,o.__)("Display","give")},r.createElement(_.SelectControl,{label:(0,o.__)("Form Format","give"),name:"displayStyle",value:a,options:Y.displayStyles,onChange:function(t){return e.saveSetting("displayStyle",t)}}),"reveal"===a&&r.createElement(_.TextControl,{name:"continueButtonTitle",label:(0,o.__)("Continue Button Title","give"),value:this.state.continueButtonTitle,onChange:function(t){return e.saveState("continueButtonTitle",t)},onBlur:function(t){return e.saveSetting("continueButtonTitle",t.target.value)}})),r.createElement(_.PanelBody,{title:(0,o.__)("Settings","give")},r.createElement(_.ToggleControl,{label:(0,o.__)("Title","give"),name:"showTitle",checked:!!l,onChange:function(t){return e.saveSetting("showTitle",t)}}),r.createElement(_.ToggleControl,{label:(0,o.__)("Goal","give"),name:"showGoal",checked:!!u,onChange:function(t){return e.saveSetting("showGoal",t)}}),r.createElement(_.ToggleControl,{label:(0,o.__)("Content","give"),name:"contentDisplay",checked:!!c,onChange:function(t){return e.saveSetting("contentDisplay",t)}}),c&&r.createElement(_.SelectControl,{label:(0,o.__)("Content Position","give"),name:"showContent",value:s,options:Y.contentPosition,onChange:function(t){return e.saveSetting("showContent",t)}}))))}}])&&J(t.prototype,n),i&&J(t,i),Object.defineProperty(t,"prototype",{writable:!1}),l}(R.Component);const ae=(0,E.withSelect)((function(e){return{forms:e("core").getEntityRecords("postType","give_forms",{per_page:30})}}))(ie);function le(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 ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ce=function(e){var t=e.attributes,n=e.isSelected,o=e.className;return t.id?r.createElement("div",{className:n?"".concat(o," isSelected"):o},r.createElement(ae,ue({},e)),r.createElement(w(),{block:"give/donation-form",attributes:t})):r.createElement(G,ue({},e))};(0,i.registerBlockType)("give/donation-form",{title:(0,o.__)("Donation Form","give"),description:(0,o.__)("The GiveWP Donation Form block inserts an existing donation form into the page. Each donation form's presentation can be customized below.","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give")],supports:{html:!1},attributes:y,edit:ce,save:function(){return null}});const fe={formsPerPage:{type:"string",default:"12"},paged:{type:"boolean",default:!0},formIDs:{type:"array",default:[]},excludedFormIDs:{type:"array",default:[]},excludeForms:{type:"boolean",default:!1},orderBy:{type:"string",default:"date"},order:{type:"string",default:"DESC"},categories:{type:"array",default:[]},tags:{type:"array",default:[]},columns:{type:"string",default:"1"},imageSize:{type:"string",default:"medium"},imageHeight:{type:"string",default:"auto"},imageHeightOptions:{type:"string",default:"auto"},showTitle:{type:"boolean",default:!0},showExcerpt:{type:"boolean",default:!0},showGoal:{type:"boolean",default:!0},showProgressBar:{type:"boolean",default:!0},showFeaturedImage:{type:"boolean",default:!0},showDonateButton:{type:"boolean",default:!0},tagBackgroundColor:{type:"string",default:"#69b86b"},tagTextColor:{type:"string",default:"#ffffff"},donateButtonTextColor:{type:"string",default:"#69b86b"},displayType:{type:"string",default:"redirect"},excerptLength:{type:"integer",default:16},filter:{type:"string",default:"tags"},progressBarColor:{type:"string",default:"#69b86b"}};var pe={columns:[{value:"1",label:"Full width"},{value:"2",label:"Double"},{value:"3",label:"Triple"},{value:"4",label:"Max (4)"}]};pe.order=[{value:"DESC",label:(0,o.__)("Descending","give")},{value:"ASC",label:(0,o.__)("Ascending","give")}],pe.orderBy=[{value:"donation_amount",label:(0,o.__)("Donation Amount","give")},{value:"post_date",label:(0,o.__)("Date Created","give")}],pe.toggleOptions=[{value:"Donor info",label:(0,o.__)("Donor Info","give")},{value:"Wall attributes",label:(0,o.__)("Wall Attributes","give")}],pe.filter=[{value:"ids",label:(0,o.__)("Donor ID","give")},{value:"formID",label:(0,o.__)("Form ID","give")},{value:"categories",label:(0,o.__)("Categories","give")},{value:"tags",label:(0,o.__)("Tags","give")}];const de=pe;var me={};me.orderBy=[{value:"date",label:(0,o.__)("Date Created","give")},{value:"title",label:(0,o.__)("Form Name","give")},{value:"amount_donated",label:(0,o.__)("Amount Donated","give")},{value:"number_donations",label:(0,o.__)("Number of Donations","give")},{value:"menu_order",label:(0,o.__)("Menu Order","give")},{value:"post__in",label:(0,o.__)("Provided Form IDs","give")},{value:"closest_to_goal",label:(0,o.__)("Closest To Goal","give")},{value:"random",label:(0,o.__)("Random","give")}],me.order=[{value:"DESC",label:(0,o.__)("Descending","give")},{value:"ASC",label:(0,o.__)("Ascending","give")}],me.columns=[{value:"1",label:"Full Width"},{value:"2",label:"Double"},{value:"3",label:"Triple"},{value:"4",label:"Max (4)"}],me.displayType=[{value:"redirect",label:(0,o.__)("Redirect","give")},{value:"modal_reveal",label:(0,o.__)("Modal","give")}],me.filter=[{value:"formIDs",label:(0,o.__)("Form ID","give")},{value:"categories",label:(0,o.__)("Categories","give")},{value:"tags",label:(0,o.__)("Tags","give")}],me.imageHeight=[{value:"auto",label:(0,o.__)("Auto","give")},{value:"custom",label:(0,o.__)("Custom","give")}];const he=me;var ge=n(94184),ve=n.n(ge),ye=n(40399),be={insert:"head",singleton:!1};l()(ye.Z,be);ye.Z.locals;function we(e){var t=e.display,n=e.selected,o=String(t);return r.createElement("div",{className:ve()("give_column_selector_container",{give_column_selector_selected:o===n})},r.createElement(r.Fragment,null,Array(t).fill(null).map((function(e,t){return r.createElement("div",{key:t,className:"give_column_selector_box"}," ")}))))}function ke(e){var t=e.children;return r.createElement("div",{className:"give_column_selector_row"},t)}function xe(e){var t=e.label,n=e.selected,o=e.help;return r.createElement("div",{className:"give_column_selector"},t&&r.createElement("p",null,t),o&&r.createElement("p",{className:"give_column_selector_help_text"},o),"1"===n?r.createElement(ke,null,r.createElement(we,{display:1,selected:n})):"2"===n?r.createElement(ke,null,r.createElement(we,{display:2,selected:n})):"3"===n?r.createElement(ke,null,r.createElement(we,{display:3,selected:n})):r.createElement(ke,null,r.createElement(we,{display:4,selected:n})))}var Ee=n(91158),_e={insert:"head",singleton:!1};l()(Ee.Z,_e);Ee.Z.locals;const Se=function(e){var t=e.attributes,n=e.setAttributes,i=t.formsPerPage,a=t.paged,l=t.imageSize,u=t.imageHeight,s=t.formIDs,c=t.excludeForms,f=t.excludedFormIDs,p=t.orderBy,d=t.order,m=t.categories,h=t.tags,g=t.columns,v=t.showTitle,y=t.showExcerpt,b=(t.excerptLength,t.showGoal),w=t.showProgressBar,k=t.showFeaturedImage,x=t.showDonateButton,S=t.tagBackgroundColor,O=t.donateButtonTextColor,C=t.displayType,T=t.filter,P=t.tagTextColor,N=t.imageHeightOptions,D=t.progressBarColor,I=function(e,t){n(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))},M=function(e){return Array.isArray(e)?e:s.indexOf(",")?e.split(","):[e]};return r.createElement(q.InspectorControls,{key:"inspector"},r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Layout","give"),initialOpen:!0},r.createElement(xe,{label:(0,o.__)("Columns","give"),selected:g,onClick:function(e){return I("columns",e)},help:(0,o.__)('Controls how many columns of the Form Grid appear. "Best Fit" will adjust responsively to the space available.',"give")}),r.createElement(_.SelectControl,{label:(0,o.__)("Columns","give"),name:"columns",value:g,options:he.columns,onChange:function(e){return I("columns",e)}}))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Display Elements","give"),initialOpen:!0},r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showTitle",label:(0,o.__)("Show Title","give"),checked:!!v,onChange:function(e){return I("showTitle",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showGoal",label:(0,o.__)("Show Goal","give"),checked:!!b,onChange:function(e){return I("showGoal",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showExcerpt",label:(0,o.__)("Show Excerpt","give"),checked:!!y,onChange:function(e){return I("showExcerpt",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showProgressBar",label:(0,o.__)("Show Progress Bar","give"),checked:!!w,onChange:function(e){return I("showProgressBar",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showDonateButton",label:(0,o.__)("Show Donate Button","give"),checked:!!x,onChange:function(e){return I("showDonateButton",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",align:"right",name:"showFeaturedImage",label:(0,o.__)("Show Featured Image","give"),checked:!!k,onChange:function(e){return I("showFeaturedImage",e)}}),k&&r.createElement(r.Fragment,null,r.createElement(_.SelectControl,{className:"give-form-grid-inspector",name:"imageSize",label:(0,o.__)("Image Size","give"),value:l,options:(0,E.select)(q.store).getSettings().imageSizes.map((function(e){return{value:e.slug,label:e.name}})),onChange:function(e){return I("imageSize",e)}}),r.createElement(_.SelectControl,{className:"give-form-grid-inspector",name:"imageHeightOptions",label:(0,o.__)("Image Height","give"),value:N,options:he.imageHeight,onChange:function(e){return function(e){I("imageHeightOptions",e),I("imageHeight",e)}(e)}}),"custom"===N&&r.createElement(_.TextControl,{className:"give-form-grid-inspector__filter",name:"imageHeight",value:u,onChange:function(e){return I("imageHeight",e)},help:(0,o.__)('Featured image height. Default "auto". Accepts valid heights in px, em, or rem.',"give")})))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Grid Settings","give"),initialOpen:!0},r.createElement(_.SelectControl,{className:"give-form-grid-inspector",label:(0,o.__)("Order By","give"),name:"orderBy",value:p,options:he.orderBy,onChange:function(e){return I("orderBy",e)},help:(0,o.__)("The order forms are displayed in.","give")}),r.createElement(_.SelectControl,{className:"give-form-grid-inspector",label:(0,o.__)("Order","give"),name:"order",value:d,options:he.order,onChange:function(e){return I("order",e)},help:(0,o.__)("Whether the order ascends or descends.","give")}),r.createElement(_.SelectControl,{className:"give-form-grid-inspector",label:(0,o.__)("Filter","give"),name:"filter",value:T,options:he.filter,onChange:function(e){return I("filter",e)}}),"categories"===T?r.createElement(r.Fragment,null,r.createElement(_.FormTokenField,{className:"give-form-grid-inspector__filter",name:"categories",value:M(m),onChange:function(e){return I("categories",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the name of your category to add it to the list. Only forms within the categories you choose will be displayed in this grid.","give"))):"tags"===T?r.createElement(r.Fragment,null,r.createElement(_.FormTokenField,{className:"give-form-grid-inspector__filter",name:"tags",value:M(h),onChange:function(e){return I("tags",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the name of your tag to add it to the list. Only forms with these tags you choose will be displayed in this grid.","give"))):"formIDs"===T?r.createElement(r.Fragment,null,r.createElement(_.FormTokenField,{className:"give-form-grid-inspector__filter",name:"formIDs",value:M(s),onChange:function(e){return I("formIDs",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the ID of your form to add it to the list. Only forms with these IDs you choose will be displayed in this grid.","give"))):void 0,r.createElement(_.ToggleControl,{className:"give-form-grid-inspector exclude__form",name:"excludeForms",label:(0,o.__)("Exclude specific forms?","give"),checked:!!c,onChange:function(e){return I("excludeForms",e)}}),c&&r.createElement(r.Fragment,null,r.createElement(_.FormTokenField,{name:"excludedFormIDs",label:(0,o.__)("Excluded Form IDs","give"),value:M(f),onChange:function(e){return I("excludedFormIDs",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the ID of your form to exclude it from the list. Forms with these IDs you choose will not be displayed in this grid.","give"))))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Grid Interaction","give"),initialOpen:!0},r.createElement(_.SelectControl,{className:"give-form-grid-inspector",label:(0,o.__)("Display Type","give"),name:"displayType",value:C,options:he.displayType,onChange:function(e){return I("displayType",e)}}),"redirect"===C?r.createElement("p",{className:"give-form-grid-inspector__help"},(0,o.__)("Users will be redirected to the donation form page.","give")):r.createElement("p",{className:"give-form-grid-inspector__help"},(0,o.__)("Modal with the donation form will be displayed on the same page.","give")),r.createElement(_.TextControl,{className:"give-form-grid-inspector",name:"formsPerPage",label:(0,o.__)("Forms Per Page","give"),value:i,onChange:function(e){return I("formsPerPage",e)},help:(0,o.__)("Sets the number of forms to be displayed on the first page load.","give")}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"paged",label:(0,o.__)("Show Pagination","give"),checked:!!a,onChange:function(e){return I("paged",e)},help:(0,o.__)("Enable form display to multiple pages.","give")}))),r.createElement(q.PanelColorSettings,{title:(0,o.__)("Color Settings"),colorSettings:[{value:S,onChange:function(e){return I("tagBackgroundColor",e)},label:(0,o.__)("Tag Background Color","give")},{value:P,onChange:function(e){return I("tagTextColor",e)},label:(0,o.__)("Tag Text Color","give")},{value:O,onChange:function(e){return I("donateButtonTextColor",e)},label:(0,o.__)("Donate Button Text Color","give")},{value:D,onChange:function(e){return I("progressBarColor",e)},label:(0,o.__)("Progress Bar Color","give")}]}))};function Oe(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 Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Te=(0,E.withSelect)((function(e){return{forms:e("core").getEntityRecords("postType","give_forms")}}))((function(e){var t=e.attributes;return r.createElement(R.Fragment,null,r.createElement(Se,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){Ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)),r.createElement(w(),{block:"give/donation-form-grid",attributes:t}))}));(0,i.registerBlockType)("give/donation-form-grid",{title:(0,o.__)("Donation Form Grid","give"),description:(0,o.__)("The GiveWP Donation Form Grid block insert an existing donation form into the page. Each form's presentation can be customized below.","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give"),(0,o.__)("grid","give")],supports:{html:!1},attributes:fe,edit:Te,save:function(){return null}});const Pe={donorsPerPage:{type:"string",default:"12"},formID:{type:"array",default:[]},ids:{type:"array",default:[]},categories:{type:"array",default:[]},tags:{type:"string",default:[]},orderBy:{type:"string",default:"post_date"},order:{type:"string",default:"DESC"},paged:{type:"string",default:"1"},columns:{type:"string",default:"3"},showAvatar:{type:"boolean",default:!0},showName:{type:"boolean",default:!0},showCompanyName:{type:"boolean",default:!1},showForm:{type:"boolean",default:!0},showTotal:{type:"boolean",default:!0},showComments:{type:"boolean",default:!0},showTributes:{type:"boolean",default:!0},showAnonymous:{type:"boolean",default:!0},onlyComments:{type:"boolean",default:!1},commentLength:{type:"string",default:"80"},readMoreText:{type:"string",default:(0,o.__)("Read more","give")},loadMoreText:{type:"string",default:(0,o.__)("Load more","give")},avatarSize:{type:"string",default:"75"},toggleOptions:{type:"string",default:"Donor info"},filter:{type:"string",default:"Donor ID"},color:{type:"string",default:"#219653"}};var Ne=n(44516),De={insert:"head",singleton:!1};l()(Ne.Z,De);Ne.Z.locals;function Ie(e){var t=e.options,n=e.onClick,o=e.selected;return r.createElement("div",{className:"give-toggle"},t.map((function(e,t){return r.createElement("div",{key:t,onClick:function(){return n(e)},className:"give-toggle__option",style:o===e?{background:"#007cba",color:"white"}:{}},e)})))}var Me=n(10878),Re={insert:"head",singleton:!1};l()(Me.Z,Re);Me.Z.locals;const je=function(e){var t=e.attributes,n=e.setAttributes,i=t.donorsPerPage,a=t.ids,l=t.formID,u=t.categories,s=t.tags,c=t.orderBy,f=t.order,p=t.columns,d=t.avatarSize,m=t.showAvatar,h=t.showName,g=t.showCompanyName,v=t.onlyComments,y=t.showForm,b=t.showTotal,w=t.showComments,k=t.showAnonymous,x=t.commentLength,E=t.readMoreText,S=t.loadMoreText,O=t.toggleOptions,C=t.filter,T=t.color,P=t.showTributes,N=function(e,t){n(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))},D=function(e){return Array.isArray(e)?e:formIDs.indexOf(",")?e.split(","):[e]};return r.createElement(q.InspectorControls,{key:"inspector"},r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Layout","give"),initialOpen:!0},r.createElement(xe,{selected:p,onClick:function(e){return N("columns",e)},help:(0,o.__)("Controls how many columns of the Form Grid appear. All sizes will adjust responsively to the space available. The maximum number allowed per row is 4","give")}),r.createElement(_.SelectControl,{className:"give-donor-wall-inspector",name:"columns",label:(0,o.__)("Columns","give"),value:p,options:de.columns,onChange:function(e){return N("columns",e)}}))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Display Elements","give"),initialOpen:!1},r.createElement(Ie,{options:[(0,o.__)("Donor info","give"),(0,o.__)("Wall attributes","give")],onClick:function(e){return N("toggleOptions",e)},selected:O}),"Donor info"===O?r.createElement(r.Fragment,null,r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showName",label:(0,o.__)("Show Name","give"),checked:!!h,onChange:function(e){return N("showName",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showName",label:(0,o.__)("Show Company Name","give"),checked:!!g,onChange:function(e){return N("showCompanyName",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showAnonymous",label:(0,o.__)("Show Anonymous","give"),checked:!!k,onChange:function(e){return N("showAnonymous",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showAvatar",label:(0,o.__)("Show Avatar","give"),checked:!!m,onChange:function(e){return N("showAvatar",e)}}),r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"avatarSize",label:(0,o.__)("Avatar Size","give"),help:(0,o.__)("Avatar size. Default height is 75. Accepts valid heights in px.","give"),value:d,onChange:function(e){return N("avatarSize",e)}})):r.createElement(r.Fragment,null,r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showForm",label:(0,o.__)("Show Donation Form","give"),checked:!!y,onChange:function(e){return N("showForm",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showTotal",label:(0,o.__)("Show Total","give"),checked:!!b,onChange:function(e){return N("showTotal",e)}}),!!window.Give_Tribute&&r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showTributes",label:(0,o.__)("Show Tributes","give"),checked:!!P,onChange:function(e){return N("showTributes",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showComments",label:(0,o.__)("Show Comments","give"),checked:!!w,onChange:function(e){return N("showComments",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"onlyComments",label:(0,o.__)("Only Comments","give"),checked:!!v,onChange:function(e){return N("onlyComments",e)}}),r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"commentLength",label:(0,o.__)("Comment Length","give"),help:(0,o.__)("Limits the amount of characters to be displayed on donations with comments.","give"),value:x,onChange:function(e){return N("commentLength",e)}}),r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"readMoreText",label:(0,o.__)("Read More Text","give"),value:E,onChange:function(e){return N("readMoreText",e)}})))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Wall Settings","give"),initialOpen:!1},r.createElement(_.SelectControl,{className:"give-donor-wall-inspector",label:(0,o.__)("Sort By","give"),name:"orderBy",value:c,options:de.orderBy,onChange:function(e){return N("orderBy",e)}}),r.createElement(_.SelectControl,{className:"give-donor-wall-inspector",label:(0,o.__)("Order","give"),name:"order",value:f,options:de.order,onChange:function(e){return N("order",e)}}),r.createElement(_.SelectControl,{className:"give-donor-wall-inspector",label:(0,o.__)("Filter","give"),name:"filter",value:C,options:de.filter,onChange:function(e){return N("filter",e)}}),"categories"===C?r.createElement(r.Fragment,null," ",r.createElement(_.FormTokenField,{className:"give-donor-wall-inspector",onChange:function(e){return N("categories",e)},value:D(u)}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the name of your category to add it to the list. Only forms within the categories you choose will be displayed in this grid.","give"))):"tags"===C?r.createElement(r.Fragment,null," ",r.createElement(_.FormTokenField,{className:"give-donor-wall-inspector",name:"tags",value:D(s),onChange:function(e){return N("tags",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the name of your tag to add it to the list. Only forms with these tags you choose will be displayed in this grid.","give"))):"ids"===C?r.createElement(r.Fragment,null," ",r.createElement(_.FormTokenField,{className:"give-donor-wall-inspector",name:"ids",value:D(a),onChange:function(e){return N("ids",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("By default, all donors will display. Use this setting to restrict the donor wall to only display certain donors. Use a comma-separated list of donor IDs.","give"))):"formID"===C?r.createElement(r.Fragment,null," ",r.createElement(_.FormTokenField,{className:"give-donor-wall-inspector",help:(0,o.__)("By Default, donations to all forms will display. Use this setting to restrict the donor to display only donations to certains forms. Use a comma-separated list of form IDs.","give"),name:"formID",value:D(l),onChange:function(e){return N("formID",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the ID of your form to add it to the list. Only forms with these IDs you choose will be displayed in this grid.","give"))):void 0)),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Wall Interaction","give"),initialOpen:!0},r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"donorsPerPage",label:(0,o.__)("Donors Per Page","give"),value:i,onChange:function(e){return N("donorsPerPage",e)},help:(0,o.__)("How many donors should show up on the initial page load?","give")}),r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"loadMoreText",label:(0,o.__)("Load More Text","give"),value:S,onChange:function(e){return N("loadMoreText",e)}}))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Color","give"),initialOpen:!1},r.createElement(q.ColorPalette,{value:T,onChange:function(e){return n({color:e})}}))))};function Fe(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 Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Le=function(e){var t=e.attributes;return r.createElement(R.Fragment,null,r.createElement(je,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)),r.createElement(w(),{block:"give/donor-wall",attributes:t}))};(0,i.registerBlockType)("give/donor-wall",{title:(0,o.__)("Donor Wall","give"),description:(0,o.__)("The GiveWP Donor Wall block displays donations on the front end of the site. The settings below allow you to customize the information displayed","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give"),(0,o.__)("wall","give")],supports:{html:!1},attributes:Pe,edit:Le,save:function(){return null}});var ze=wp.blockEditor.InnerBlocks,Ve=wp.element.useEffect,Be=wp.data,Ue=Be.select,He=Be.dispatch;const We=function(e){var t=e.isSelected,n=e.clientId;Ve((function(){t&&i()}),[]);var i=function(){var e=Ue("core/editor").getBlocksByClientId(n)[0],t=e.innerBlocks[e.innerBlocks.length-1];He("core/block-editor").selectBlock(t.clientId)},a=[["core/media-text",{imageFill:!0},[["core/heading",{placeholder:(0,o.__)("Heading","give")}],["core/paragraph",{placeholder:(0,o.__)("Summary","give")}]]],["give/progress-bar",{}]];return r.createElement("div",{className:"give-multi-form-goal-block"},r.createElement(ze,{template:a,templateLock:"all"}))};var $e=wp.blockEditor.InnerBlocks;const Qe=function(){return r.createElement("div",{className:"give-multi-form-goal-block"},r.createElement($e.Content,null))};var Ge=n(87048),qe={insert:"head",singleton:!1};l()(Ge.Z,qe);Ge.Z.locals;(0,wp.blocks.registerBlockType)("give/multi-form-goal",{title:(0,o.__)("Multi-Form Goal","give"),description:(0,o.__)("The Multi-Form Goals block displays progress made across donation forms towards a common goal.","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give"),(0,o.__)("multi form goals","give")],supports:{align:["wide"]},edit:We,save:Qe});const Ke={ids:{type:"array",default:[]},categories:{type:"array",default:[]},tags:{type:"array",default:[]},goal:{type:"string",default:"1000"},enddate:{type:"string",default:""},color:{type:"string",default:"#66bb6a"}};function Ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(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 Xe(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Je(e,t){return Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Je(e,t)}function et(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&&Je(e,t)}function tt(e){return tt="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},tt(e)}function nt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rt(e,t){if(t&&("object"===tt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return nt(e)}function ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ot(e)}var it=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function at(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||it(r)&&it(o)))return!1;var r,o;return!0}const lt=function(e,t){var n;void 0===t&&(t=at);var r,o=[],i=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}};var ut=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(e){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}();const st=function(e){function t(e,r,u,s,p){for(var d,m,h,g,w,x=0,E=0,_=0,S=0,O=0,I=0,R=h=d=0,F=0,A=0,L=0,z=0,V=u.length,B=V-1,U="",H="",W="",$="";F<V;){if(m=u.charCodeAt(F),F===B&&0!==E+S+_+x&&(0!==E&&(m=47===E?10:47),S=_=x=0,V++,B++),0===E+S+_+x){if(F===B&&(0<A&&(U=U.replace(f,"")),0<U.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:U+=u.charAt(F)}m=59}switch(m){case 123:for(d=(U=U.trim()).charCodeAt(0),h=1,z=++F;F<V;){switch(m=u.charCodeAt(F)){case 123:h++;break;case 125:h--;break;case 47:switch(m=u.charCodeAt(F+1)){case 42:case 47:e:{for(R=F+1;R<B;++R)switch(u.charCodeAt(R)){case 47:if(42===m&&42===u.charCodeAt(R-1)&&F+2!==R){F=R+1;break e}break;case 10:if(47===m){F=R+1;break e}}F=R}}break;case 91:m++;case 40:m++;case 34:case 39:for(;F++<B&&u.charCodeAt(F)!==m;);}if(0===h)break;F++}if(h=u.substring(z,F),0===d&&(d=(U=U.replace(c,"").trim()).charCodeAt(0)),64===d){switch(0<A&&(U=U.replace(f,"")),m=U.charCodeAt(1)){case 100:case 109:case 115:case 45:A=r;break;default:A=D}if(z=(h=t(r,A,h,m,p+1)).length,0<M&&(w=l(3,h,A=n(D,U,L),r,T,C,z,m,p,s),U=A.join(""),void 0!==w&&0===(z=(h=w.trim()).length)&&(m=0,h="")),0<z)switch(m){case 115:U=U.replace(k,a);case 100:case 109:case 45:h=U+"{"+h+"}";break;case 107:h=(U=U.replace(v,"$1 $2"))+"{"+h+"}",h=1===N||2===N&&i("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=U+h,112===s&&(H+=h,h="")}else h=""}else h=t(r,n(r,U,L),h,s,p+1);W+=h,h=L=A=R=d=0,U="",m=u.charCodeAt(++F);break;case 125:case 59:if(1<(z=(U=(0<A?U.replace(f,""):U).trim()).length))switch(0===R&&(d=U.charCodeAt(0),45===d||96<d&&123>d)&&(z=(U=U.replace(" ",":")).length),0<M&&void 0!==(w=l(1,U,r,e,T,C,H.length,s,p,s))&&0===(z=(U=w.trim()).length)&&(U="\0\0"),d=U.charCodeAt(0),m=U.charCodeAt(1),d){case 0:break;case 64:if(105===m||99===m){$+=U+u.charAt(F);break}default:58!==U.charCodeAt(z-1)&&(H+=o(U,d,m,U.charCodeAt(2)))}L=A=R=d=0,U="",m=u.charCodeAt(++F)}}switch(m){case 13:case 10:47===E?E=0:0===1+d&&107!==s&&0<U.length&&(A=1,U+="\0"),0<M*j&&l(0,U,r,e,T,C,H.length,s,p,s),C=1,T++;break;case 59:case 125:if(0===E+S+_+x){C++;break}default:switch(C++,g=u.charAt(F),m){case 9:case 32:if(0===S+x+E)switch(O){case 44:case 58:case 9:case 32:g="";break;default:32!==m&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===S+E+x&&(A=L=1,g="\f"+g);break;case 108:if(0===S+E+x+P&&0<R)switch(F-R){case 2:112===O&&58===u.charCodeAt(F-3)&&(P=O);case 8:111===I&&(P=I)}break;case 58:0===S+E+x&&(R=F);break;case 44:0===E+_+S+x&&(A=1,g+="\r");break;case 34:case 39:0===E&&(S=S===m?0:0===S?m:S);break;case 91:0===S+E+_&&x++;break;case 93:0===S+E+_&&x--;break;case 41:0===S+E+x&&_--;break;case 40:if(0===S+E+x){if(0===d)if(2*O+3*I==533);else d=1;_++}break;case 64:0===E+_+S+x+R+h&&(h=1);break;case 42:case 47:if(!(0<S+x+_))switch(E){case 0:switch(2*m+3*u.charCodeAt(F+1)){case 235:E=47;break;case 220:z=F,E=42}break;case 42:47===m&&42===O&&z+2!==F&&(33===u.charCodeAt(z+2)&&(H+=u.substring(z,F+1)),g="",E=0)}}0===E&&(U+=g)}I=O,O=m,F++}if(0<(z=H.length)){if(A=r,0<M&&(void 0!==(w=l(2,H,A,e,T,C,z,s,p,s))&&0===(H=w).length))return $+H+W;if(H=A.join(",")+"{"+H+"}",0!=N*P){switch(2!==N||i(H,2)||(P=0),P){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}P=0}}return $+H+W}function n(e,t,n){var o=t.trim().split(h);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var l=0;for(e=0===a?"":e[0]+" ";l<i;++l)t[l]=r(e,t[l],n).trim();break;default:var u=l=0;for(t=[];l<i;++l)for(var s=0;s<a;++s)t[u++]=r(e[s]+" ",o[l],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+";",l=2*t+3*n+4*r;if(944===l){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===N||2===N&&i(u,1)?"-webkit-"+u+u:u}if(0===N||2===N&&!i(a,1))return a;switch(l){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(O,"$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"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return d.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(w,"tb");break;case 232:u=a.replace(w,"tb-rl");break;case 220:u=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<l?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+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===S.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.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(m,"$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),R(2!==t?r:r.replace(_,"$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 l(e,t,n,r,o,i,a,l,u,c){for(var f,p=0,d=t;p<M;++p)switch(f=I[p].call(s,e,d,n,r,o,i,a,l,u,c)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==t)return d}function u(e){return void 0!==(e=e.prefix)&&(R=null,e?"function"!=typeof e?N=1:(N=2,R=e):N=0),u}function s(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<M){var o=l(-1,n,r,r,T,C,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(D,r,n,0,0);return 0<M&&(void 0!==(o=l(-2,i,r,r,T,C,i.length,0,0,0))&&(i=o)),"",P=0,C=T=1,i}var c=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,m=/([,: ])(transform)/g,h=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,E=/-self|flex-/g,_=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,C=1,T=1,P=0,N=1,D=[],I=[],M=0,R=null,j=0;return s.use=function e(t){switch(t){case void 0:case null:M=I.length=0;break;default:if("function"==typeof t)I[M++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else j=0|!!t}return e},s.set=u,void 0!==e&&u(e),s};var ct="/*|*/";function ft(e){e&&pt.current.insert(e+"}")}var pt={current:null},dt=function(e,t,n,r,o,i,a,l,u,s){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return pt.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+ct;break;case 3:switch(l){case 102:case 112:return pt.current.insert(n[0]+t),"";default:return t+(0===s?ct:"")}case-2:t.split("/*|*/}").forEach(ft)}};const mt=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new st(t);var o,i={};o=e.container||document.head;var a,l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){i[e]=!0})),e.parentNode!==o&&o.appendChild(e)})),r.use(e.stylisPlugins)(dt),a=function(e,t,n,o){var i=t.name;pt.current=n,r(e,t.styles),o&&(u.inserted[i]=!0)};var u={key:n,sheet:new ut({key:n,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:a};return u};function ht(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var gt=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)}};const vt=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)};const yt={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};var bt=/[A-Z]|^ms/g,wt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kt=function(e){return 45===e.charCodeAt(1)},xt=function(e){return null!=e&&"boolean"!=typeof e},Et=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return kt(e)?e:e.replace(bt,"-$&").toLowerCase()})),_t=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(wt,(function(e,t,n){return Ot={name:t,styles:n,next:Ot},t}))}return 1===yt[e]||kt(e)||"number"!=typeof t||0===t?t:t+"px"};function St(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 Ot={name:n.name,styles:n.styles,next:Ot},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)Ot={name:o.name,styles:o.styles,next:Ot},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+=St(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]+"}":xt(a)&&(r+=Et(i)+":"+_t(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=St(e,t,a,!1);switch(i){case"animation":case"animationName":r+=Et(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)xt(a[u])&&(r+=Et(i)+":"+_t(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=Ot,a=n(e);return Ot=i,St(e,t,a,r)}}if(null==t)return n;var l=t[n];return void 0===l||r?n:l}var Ot,Ct=/label:\s*([^\s;\n{]+)\s*;/g;var Tt=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ot=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=St(n,t,i,!1)):o+=i[0];for(var a=1;a<e.length;a++)o+=St(n,t,e[a],46===o.charCodeAt(o.length-1)),r&&(o+=i[a]);Ct.lastIndex=0;for(var l,u="";null!==(l=Ct.exec(o));)u+="-"+l[1];return{name:vt(o)+u,styles:o,next:Ot}},Pt=Object.prototype.hasOwnProperty,Nt=(0,r.createContext)("undefined"!=typeof HTMLElement?mt():null),Dt=(0,r.createContext)({}),It=Nt.Provider,Mt=function(e){var t=function(t,n){return(0,r.createElement)(Nt.Consumer,null,(function(r){return e(t,r,n)}))};return(0,r.forwardRef)(t)},Rt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",jt=function(e,t){var n={};for(var r in t)Pt.call(t,r)&&(n[r]=t[r]);return n[Rt]=e,n},Ft=function(e,t,n,o){var i=null===n?t.css:t.css(n);"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var a=t[Rt],l=[i],u="";"string"==typeof t.className?u=ht(e.registered,l,t.className):null!=t.className&&(u=t.className+" ");var s=Tt(l);gt(e,s,"string"==typeof a);u+=e.key+"-"+s.name;var c={};for(var f in t)Pt.call(t,f)&&"css"!==f&&f!==Rt&&(c[f]=t[f]);return c.ref=o,c.className=u,(0,r.createElement)(a,c)},At=Mt((function(e,t,n){return"function"==typeof e.css?(0,r.createElement)(Dt.Consumer,null,(function(r){return Ft(t,e,r,n)})):Ft(t,e,null,n)}));const Lt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tt(t)};var zt=function(e,t){var n=arguments;if(null==t||!Pt.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=At,i[1]=jt(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)},Vt=(r.Component,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 l in a="",i)i[l]&&l&&(a&&(a+=" "),a+=l);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o});function Bt(e,t,n){var r=[],o=ht(e,r,n);return r.length<2?n:o+t(r)}var Ut=Mt((function(e,t){return(0,r.createElement)(Dt.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Tt(n,t.registered);return gt(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return Bt(t.registered,r,Vt(n))},theme:n},i=e.children(o);return!0,i}))})),Ht=n(73935);function Wt(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 $t(){return $t=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},$t.apply(this,arguments)}function Qt(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}function Gt(e,t){if(e){if("string"==typeof e)return Qt(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)?Qt(e,t):void 0}}function qt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||Gt(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 Kt(e){return function(e){if(Array.isArray(e))return Qt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Gt(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 Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zt=n(35639),Xt=function(){};function Jt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function en(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(Jt(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var tn=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===tt(e)&&null!==e?[e]:[]};function nn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function rn(e){return nn(e)?window.pageYOffset:e.scrollTop}function on(e,t){nn(e)?window.scrollTo(0,t):e.scrollTop=t}function an(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function ln(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Xt,o=rn(e),i=t-o,a=10,l=0;function u(){var t=an(l+=a,o,i,n);on(e,t),l<n?window.requestAnimationFrame(u):r(e)}u()}function un(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function sn(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 cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sn(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fn(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}function pn(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,l=e.theme.spacing,u=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),s={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return s;var c=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,d=f.height,m=f.top,h=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,v=rn(u),y=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),w=h-b,k=g-m,x=w+v,E=c-v-m,_=p-g+v+y,S=v+m-b,O=160;switch(o){case"auto":case"bottom":if(k>=d)return{placement:"bottom",maxHeight:t};if(E>=d&&!a)return i&&ln(u,_,O),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&k>=r)return i&&ln(u,_,O),{placement:"bottom",maxHeight:a?k-y:E-y};if("auto"===o||a){var C=t,T=a?w:x;return T>=r&&(C=Math.min(T-y-l.controlHeight,t)),{placement:"top",maxHeight:C}}if("bottom"===o)return on(u,_),{placement:"bottom",maxHeight:t};break;case"top":if(w>=d)return{placement:"top",maxHeight:t};if(x>=d&&!a)return i&&ln(u,S,O),{placement:"top",maxHeight:t};if(!a&&x>=r||a&&w>=r){var P=t;return(!a&&x>=r||a&&w>=r)&&(P=a?w-b:x-b),i&&ln(u,S,O),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return s}var dn=function(e){return"auto"===e?"bottom":e},mn=(0,r.createContext)({getPortalPlacement:null}),hn=function(e){et(n,e);var t=fn(n);function n(){var e;Ye(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,l=n.menuShouldScrollIntoView,u=n.theme;if(t){var s="fixed"===a,c=pn({maxHeight:o,menuEl:t,minHeight:r,placement:i,shouldScroll:l&&!s,isFixedPosition:s,theme:u}),f=e.context.getPortalPlacement;f&&f(c),e.setState(c)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||dn(t);return cn(cn({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return Xe(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(r.Component);hn.contextType=mn;var gn=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"}},vn=gn,yn=gn,bn=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};bn.defaultProps={children:"No options"};var wn=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};wn.defaultProps={children:"Loading..."};var kn=function(e){et(n,e);var t=fn(n);function n(){var e;Ye(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!==dn(e.props.menuPlacement)&&e.setState({placement:n})},e}return Xe(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,l="fixed"===i;if(!t&&!l||!r)return null;var u=this.state.placement||dn(o),s=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),c=l?0:window.pageYOffset,f=s[u]+c,p=zt("div",{css:a("menuPortal",{offset:f,position:i,rect:s})},n);return zt(mn.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,Ht.createPortal)(p,t):p)}}]),n}(r.Component),xn=Array.isArray,En=Object.keys,_n=Object.prototype.hasOwnProperty;function Sn(e,t){if(e===t)return!0;if(e&&t&&"object"==tt(e)&&"object"==tt(t)){var n,r,o,i=xn(e),a=xn(t);if(i&&a){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!Sn(e[n],t[n]))return!1;return!0}if(i!=a)return!1;var l=e instanceof Date,u=t instanceof Date;if(l!=u)return!1;if(l&&u)return e.getTime()==t.getTime();var s=e instanceof RegExp,c=t instanceof RegExp;if(s!=c)return!1;if(s&&c)return e.toString()==t.toString();var f=En(e);if((r=f.length)!==En(t).length)return!1;for(n=r;0!=n--;)if(!_n.call(t,f[n]))return!1;for(n=r;0!=n--;)if(!("_owner"===(o=f[n])&&e.$$typeof||Sn(e[o],t[o])))return!1;return!0}return e!=e&&t!=t}function On(e,t){try{return Sn(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function Cn(){var e,t,n=(e=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Cn=function(){return n},n}var Tn={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},Pn=function(e){var t=e.size,n=Wt(e,["size"]);return zt("svg",$t({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Tn},n))},Nn=function(e){return zt(Pn,$t({size:20},e),zt("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"}))},Dn=function(e){return zt(Pn,$t({size:20},e),zt("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"}))},In=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}}},Mn=In,Rn=In,jn=function(){var e=Lt.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_"}}}(Cn()),Fn=function(e){var t=e.delay,n=e.offset;return zt("span",{css:Lt({animation:"".concat(jn," 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"},"")})},An=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,i=e.isRtl;return zt("div",$t({},o,{css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),zt(Fn,{delay:0,offset:i}),zt(Fn,{delay:160,offset:!0}),zt(Fn,{delay:320,offset:!i}))};An.defaultProps={size:4};function Ln(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 zn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vn(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 Bn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Un=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function Hn(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 Wn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $n=function(e){var t=e.children,n=e.innerProps;return zt("div",n,t)},Qn=$n,Gn=$n;var qn=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,i=e.data,a=e.getStyles,l=e.innerProps,u=e.isDisabled,s=e.removeProps,c=e.selectProps,f=r.Container,p=r.Label,d=r.Remove;return zt(Ut,null,(function(r){var m=r.css,h=r.cx;return zt(f,{data:i,innerProps:Wn(Wn({},l),{},{className:h(m(a("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":u},n))}),selectProps:c},zt(p,{data:i,innerProps:{className:h(m(a("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:c},t),zt(d,{data:i,innerProps:Wn({className:h(m(a("multiValueRemove",e)),o({"multi-value__remove":!0},n))},s),selectProps:c}))}))};qn.defaultProps={cropWithEllipsis:!0};function Kn(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 Yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kn(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}for(var Zn={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({},i,{css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)}),t||zt(Nn,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,i=e.isDisabled,a=e.isFocused,l=e.innerRef,u=e.innerProps,s=e.menuIsOpen;return zt("div",$t({ref:l,css:r("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":a,"control--menu-is-open":s},o)},u),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({},i,{css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)}),t||zt(Dn,null))},DownChevron:Dn,CrossIcon:Nn,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.Heading,a=e.headingProps,l=e.label,u=e.theme,s=e.selectProps;return zt("div",{css:o("group",e),className:r({group:!0},n)},zt(i,$t({},a,{selectProps:s,theme:u,getStyles:o,cx:r}),l),zt("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.theme,i=(e.selectProps,Wt(e,["className","cx","getStyles","theme","selectProps"]));return zt("div",$t({css:r("groupHeading",zn({theme:o},i)),className:n({"group-heading":!0},t)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return zt("div",{css:o("indicatorsContainer",e),className:r({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return zt("span",$t({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerRef,i=e.isHidden,a=e.isDisabled,l=e.theme,u=(e.selectProps,Wt(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return zt("div",{css:r("input",Bn({theme:l},u))},zt(Zt.Z,$t({className:n({input:!0},t),inputRef:o,inputStyle:Un(i),disabled:a},u)))},LoadingIndicator:An,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerRef,a=e.innerProps;return zt("div",$t({css:o("menu",e),className:r({menu:!0},n)},a,{ref:i}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isMulti,a=e.innerRef,l=e.innerProps;return zt("div",$t({css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":i},n),ref:a},l),t)},MenuPortal:kn,LoadingMessage:wn,NoOptionsMessage:bn,MultiValue:qn,MultiValueContainer:Qn,MultiValueLabel:Gn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return zt("div",n,t||zt(Nn,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.isFocused,l=e.isSelected,u=e.innerRef,s=e.innerProps;return zt("div",$t({css:o("option",e),className:r({option:!0,"option--is-disabled":i,"option--is-focused":a,"option--is-selected":l},n),ref:u},s),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({css:o("placeholder",e),className:r({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps,a=e.isDisabled,l=e.isRtl;return zt("div",$t({css:o("container",e),className:r({"--is-disabled":a,"--is-rtl":l},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.innerProps;return zt("div",$t({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":i},n)},a),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,i=e.getStyles,a=e.hasValue;return zt("div",{css:i("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a},n)},t)}},Xn=function(e){return Yn(Yn({},Zn),e.components)},Jn=[{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źẑżžẓẕƶȥɀⱬꝣ"}],er=new RegExp("["+Jn.map((function(e){return e.letters})).join("")+"]","g"),tr={},nr=0;nr<Jn.length;nr++)for(var rr=Jn[nr],or=0;or<rr.letters.length;or++)tr[rr.letters[or]]=rr.base;var ir=function(e){return e.replace(er,(function(e){return tr[e]}))};function ar(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 lr=function(e){return e.replace(/^\s+|\s+$/g,"")},ur=function(e){return"".concat(e.label," ").concat(e.value)};var sr={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;"},cr=function(e){return zt("span",$t({css:sr},e))};function fr(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,Wt(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return zt("input",$t({ref:t},n,{css:Lt({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 pr(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var dr=function(e){et(n,e);var t=pr(n);function n(){return Ye(this,n),t.apply(this,arguments)}return Xe(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,Ht.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(r.Component),mr=["boxSizing","height","overflow","paddingRight","position"],hr={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function gr(e){e.preventDefault()}function vr(e){e.stopPropagation()}function yr(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function br(){return"ontouchstart"in window||navigator.maxTouchPoints}function wr(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var kr=!(!window.document||!window.document.createElement),xr=0,Er=function(e){et(n,e);var t=wr(n);function n(){var e;Ye(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 Xe(n,[{key:"componentDidMount",value:function(){var e=this;if(kr){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;if(n&&mr.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&xr<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,u=window.innerWidth-l+a||0;Object.keys(hr).forEach((function(e){var t=hr[e];i&&(i[e]=t)})),i&&(i.paddingRight="".concat(u,"px"))}o&&br()&&(o.addEventListener("touchmove",gr,this.listenerOptions),r&&(r.addEventListener("touchstart",yr,this.listenerOptions),r.addEventListener("touchmove",vr,this.listenerOptions))),xr+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(kr){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;xr=Math.max(xr-1,0),n&&xr<1&&mr.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),o&&br()&&(o.removeEventListener("touchmove",gr,this.listenerOptions),r&&(r.removeEventListener("touchstart",yr,this.listenerOptions),r.removeEventListener("touchmove",vr,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),n}(r.Component);function _r(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}Er.defaultProps={accountForScrollbars:!0};var Sr={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},Or=function(e){et(n,e);var t=_r(n);function n(){var e;Ye(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 Xe(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?zt("div",null,zt("div",{onClick:this.blurSelectInput,css:Sr}),zt(dr,{innerRef:this.getScrollTarget},t),r?zt(Er,{touchScrollTarget:r}):null):t}}]),n}(r.PureComponent);function Cr(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var Tr=function(e){et(n,e);var t=Cr(n);function n(){var e;Ye(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,l=r.onTopLeave,u=e.scrollTarget,s=u.scrollTop,c=u.scrollHeight,f=u.clientHeight,p=e.scrollTarget,d=n>0,m=c-f-s,h=!1;m>n&&e.isBottom&&(i&&i(t),e.isBottom=!1),d&&e.isTop&&(l&&l(t),e.isTop=!1),d&&n>m?(o&&!e.isBottom&&o(t),p.scrollTop=c,h=!0,e.isBottom=!0):!d&&-n>s&&(a&&!e.isTop&&a(t),p.scrollTop=0,h=!0,e.isTop=!0),h&&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 Xe(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 r.createElement(dr,{innerRef:this.getScrollTarget},this.props.children)}}]),n}(r.Component);function Pr(e){var t=e.isEnabled,n=void 0===t||t,o=Wt(e,["isEnabled"]);return n?r.createElement(Tr,o):o.children}var Nr=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"}},Dr=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.")}},Ir=function(e){return!!e.isDisabled};var Mr={clearIndicator:Rn,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control: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}}},dropdownIndicator:Mn,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading: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"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator: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}},input: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}},loadingIndicator: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"}},loadingMessage:yn,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return Yt(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),Yt(t,"backgroundColor",a.neutral0),Yt(t,"borderRadius",o),Yt(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Yt(t,"marginBottom",i.menuGutter),Yt(t,"marginTop",i.menuGutter),Yt(t,"position","absolute"),Yt(t,"width","100%"),Yt(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal: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}},multiValue: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}},multiValueLabel: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"}},multiValueRemove: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}}},noOptionsMessage:vn,option: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)}}},placeholder: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%)"}},singleValue: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%)"}},valueContainer: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"}}};var Rr={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 jr(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 Fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jr(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ar(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var Lr,zr={backspaceRemovesValue:!0,blurInputOnSelect:un(),captureMenuScroll:!un(),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?ar(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ignoreCase:!0,ignoreAccents:!0,stringify:ur,trim:!0,matchFrom:"any"},Lr),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,l=n.matchFrom,u=a?lr(t):t,s=a?lr(i(e)):i(e);return r&&(u=u.toLowerCase(),s=s.toLowerCase()),o&&(u=ir(u),s=ir(s)),"start"===l?s.substr(0,u.length)===u:s.indexOf(u)>-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:Ir,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},Vr=1,Br=function(e){et(n,e);var t=Ar(n);function n(e){var r;Ye(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=Xn({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,Fr(Fr({},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 a=r.getOptionValue(e);r.setValue(i.filter((function(e){return r.getOptionValue(e)!==a})),"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(Kt(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 en.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=Mr[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:Dr(t,n)})},r.announceAriaLiveContext=function(e){var t=e.event,n=e.context;r.setState({ariaLiveContext:Nr(t,Fr(Fr({},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&&nn(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,l=t.isClearable,u=t.isDisabled,s=t.menuIsOpen,c=t.onKeyDown,f=t.tabSelectsValue,p=t.openMenuOnFocus,d=r.state,m=d.focusedOption,h=d.focusedValue,g=d.selectValue;if(!(u||"function"==typeof c&&(c(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(h)r.removeValue(h);else{if(!o)return;n?r.popValue():l&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!s||!f||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(s){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":s?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):l&&i&&r.clearValue();break;case" ":if(a)return;if(!s){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":s?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":s?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!s)return;r.focusOption("pageup");break;case"PageDown":if(!s)return;r.focusOption("pagedown");break;case"Home":if(!s)return;r.focusOption("first");break;case"End":if(!s)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),l=r.getOptionLabel(e),u=r.getOptionValue(e);if(!(r.shouldHideSelectedOptions()&&a||!r.filterOption({label:l,value:u,data:e},o))){var s=i?void 0:function(){return r.onOptionHover(e)},c=i?void 0:function(){return r.selectOption(e)},f="".concat(r.getElementId("option"),"-").concat(n);return{innerProps:{id:f,onClick:c,onMouseMove:s,onMouseOver:s,tabIndex:-1},data:e,isDisabled:i,isSelected:a,key:f,label:l,type:"option",value:u}}};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 l=a(t,"".concat(n));l&&(e.render.push(l),e.focusable.push(t))}return e}),{render:[],focusable:[]})};var o=e.value;r.cacheComponents=lt(r.cacheComponents,On).bind(nt(r)),r.cacheComponents(e.components),r.instancePrefix="react-select-"+(r.props.instanceId||++Vr);var i=tn(o);r.buildMenuOptions=lt(r.buildMenuOptions,(function(e,t){var n=qt(e,2),r=n[0],o=n[1],i=qt(t,2),a=i[0];return o===i[1]&&r.inputValue===a.inputValue&&r.options===a.options})).bind(nt(r));var a=e.menuIsOpen?r.buildMenuOptions(e,i):{render:[],focusable:[]};return r.state.menuOptions=a,r.state.selectValue=i,r}return Xe(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=tn(e.value),l=e.menuIsOpen?this.buildMenuOptions(e,a):{render:[],focusable:[]},u=this.getNextFocusedValue(a),s=this.getNextFocusedOption(l.focusable);this.setState({menuOptions:l,selectValue:a,focusedOption:s,focusedValue:u})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,i,a=this.props,l=a.isDisabled,u=a.menuIsOpen,s=this.state.isFocused;(s&&!l&&e.isDisabled||s&&u&&!e.menuIsOpen)&&this.focusInput(),s&&l&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),i=n.offsetHeight/3,o.bottom+i>r.bottom?on(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+i,t.scrollHeight)):o.top-i<r.top&&on(t,Math.max(n.offsetTop-i,0)),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,l=a.isMulti,u=a.tabSelectsValue,s="first"===e?0:i.focusable.length-1;if(!l){var c=i.focusable.indexOf(r[0]);c>-1&&(s=c)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:i,focusedValue:null,focusedOption:i.focusable[s]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})}))}},{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 l=i.indexOf(a);a||(l=-1,this.announceAriaLiveContext({event:"value"}));var u=i.length-1,s=-1;if(i.length){switch(e){case"previous":s=0===l?0:-1===l?u:l-1;break;case"next":l>-1&&l<u&&(s=l+1)}-1===s&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==s,focusedValue:i[s]})}}}},{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,l=a.focusable;if(l.length){var u=0,s=l.indexOf(i);i||(s=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:r}})),"up"===e?u=s>0?s-1:l.length-1:"down"===e?u=(s+1)%l.length:"pageup"===e?(u=s-n)<0&&(u=0):"pagedown"===e?(u=s+n)>l.length-1&&(u=l.length-1):"last"===e&&(u=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[u],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Ir(l[u]),tabSelectsValue:r}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Rr):Fr(Fr({},Rr),this.props.theme):Rr}},{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,l=a.isMulti,u=a.isRtl,s=a.options;return{cx:t,clearValue:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:s,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,l=i.menuIsOpen,u=i.inputValue,s=i.screenReaderStatus,c=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}):"",f=o&&l?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}):"",p=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:u,screenReaderMessage:s({count:this.countOptions()})});return"".concat(c," ").concat(f," ").concat(p," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,a=e.tabIndex,l=e.form,u=this.components.Input,s=this.state.inputIsHidden,c=o||this.getElementId("input"),f={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return r.createElement(fr,$t({id:c,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Xt,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:a,form:l,value:""},f));var p=this.commonProps,d=p.cx,m=p.theme,h=p.selectProps;return r.createElement(u,$t({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:d,getStyles:this.getStyles,id:c,innerRef:this.getInputRef,isDisabled:t,isHidden:s,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:h,spellCheck:"false",tabIndex:a,form:l,theme:m,type:"text",value:i},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,l=t.SingleValue,u=t.Placeholder,s=this.commonProps,c=this.props,f=c.controlShouldRenderValue,p=c.isDisabled,d=c.isMulti,m=c.inputValue,h=c.placeholder,g=this.state,v=g.selectValue,y=g.focusedValue,b=g.isFocused;if(!this.hasValue()||!f)return m?null:r.createElement(u,$t({},s,{key:"placeholder",isDisabled:p,isFocused:b}),h);if(d){var w=v.map((function(t,l){var u=t===y;return r.createElement(n,$t({},s,{components:{Container:o,Label:i,Remove:a},isFocused:u,isDisabled:p,key:"".concat(e.getOptionValue(t)).concat(l),index:l,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"))}));return w}if(m)return null;var k=v[0];return r.createElement(l,$t({},s,{data:k,isDisabled:p}),this.formatOptionLabel(k,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,$t({},t,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return r.createElement(e,$t({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,$t({},o,{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,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,$t({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,n=t.Group,o=t.GroupHeading,i=t.Menu,a=t.MenuList,l=t.MenuPortal,u=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,f=this.commonProps,p=this.state,d=p.focusedOption,m=p.menuOptions,h=this.props,g=h.captureMenuScroll,v=h.inputValue,y=h.isLoading,b=h.loadingMessage,w=h.minMenuHeight,k=h.maxMenuHeight,x=h.menuIsOpen,E=h.menuPlacement,_=h.menuPosition,S=h.menuPortalTarget,O=h.menuShouldBlockScroll,C=h.menuShouldScrollIntoView,T=h.noOptionsMessage,P=h.onMenuScrollToTop,N=h.onMenuScrollToBottom;if(!x)return null;var D,I=function(t){var n=d===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,r.createElement(c,$t({},f,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())D=m.render.map((function(t){if("group"===t.type){t.type;var i=Wt(t,["type"]),a="".concat(t.key,"-heading");return r.createElement(n,$t({},f,i,{Heading:o,headingProps:{id:a,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return I(e)})))}if("option"===t.type)return I(t)}));else if(y){var M=b({inputValue:v});if(null===M)return null;D=r.createElement(u,f,M)}else{var R=T({inputValue:v});if(null===R)return null;D=r.createElement(s,f,R)}var j={minMenuHeight:w,maxMenuHeight:k,menuPlacement:E,menuPosition:_,menuShouldScrollIntoView:C},F=r.createElement(hn,$t({},f,j),(function(t){var n=t.ref,o=t.placerProps,l=o.placement,u=o.maxHeight;return r.createElement(i,$t({},f,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:y,placement:l}),r.createElement(Pr,{isEnabled:g,onTopArrive:P,onBottomArrive:N},r.createElement(Or,{isEnabled:O},r.createElement(a,$t({},f,{innerRef:e.getMenuListRef,isLoading:y,maxHeight:u}),D))))}));return S||"fixed"===_?r.createElement(l,$t({},f,{appendTo:S,controlElement:this.controlRef,menuPlacement:E,menuPosition:_}),F):F}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,a=t.name,l=this.state.selectValue;if(a&&!o){if(i){if(n){var u=l.map((function(t){return e.getOptionValue(t)})).join(n);return r.createElement("input",{name:a,type:"hidden",value:u})}var s=l.length>0?l.map((function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):r.createElement("input",{name:a,type:"hidden"});return r.createElement("div",null,s)}var c=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?r.createElement(cr,{"aria-live":"polite"},r.createElement("span",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),r.createElement("span",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,l=a.className,u=a.id,s=a.isDisabled,c=a.menuIsOpen,f=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(o,$t({},p,{className:l,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:f}),this.renderLiveRegion(),r.createElement(t,$t({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:f,menuIsOpen:c}),r.createElement(i,$t({},p,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,$t({},p,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),n}(r.Component);function Ur(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}Br.defaultProps=zr;var Hr={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};function Wr(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}r.Component;var $r,Qr,Gr,qr=($r=Br,Gr=Qr=function(e){et(n,e);var t=Ur(n);function n(){var e;Ye(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))).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 Xe(n,[{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 e=this,t=this.props,n=(t.defaultInputValue,t.defaultMenuIsOpen,t.defaultValue,Wt(t,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return r.createElement($r,$t({},n,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(r.Component),Qr.defaultProps=Hr,Gr);const Kr=qr;var Yr=n(61210),Zr={insert:"head",singleton:!1};l()(Yr.Z,Zr);Yr.Z.locals;function Xr(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 Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach((function(t){eo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var to=wp.compose.useInstanceId,no=wp.components.BaseControl,ro=function e(t){var n=t.name,o=t.label,i=t.help,a=t.className,l=t.value,u=t.placeholder,s=t.hideLabelFromVision,c=t.isLoading,f=t.isDisabled,p=t.onChange,d=t.options,m=to(e),h="give-multi-select-control-".concat(n,"-").concat(m);return d&&d.length<1?null:r.createElement(no,{label:o,hideLabelFromVision:s,id:h,help:i,className:a},r.createElement(Kr,{isLoading:c,inputId:h,value:l,onChange:function(e){return p(e)},options:d,maxMenuHeight:"200px",isDisabled:f,placeholder:u,isMulti:!0,theme:function(e){return Jr(Jr({},e),{},{colors:Jr(Jr({},e.colors),{},{primary:"#007cba",primary75:"#31a6e0",primary50:"#5dbae8",primary25:"#9edaf7"})})}}))};ro.propTypes={label:f().string,value:f().any.isRequired,onChange:f().func,options:f().array.isRequired,name:f().string.isRequired,help:f().string,className:f().string,hideLabelFromVision:f().bool,isLoading:f().bool,isDisabled:f().bool,placeholder:f().string},ro.defaultProps={label:null,value:null,onChange:null,placeholder:"".concat((0,o.__)("Select","give"),"..."),options:null};const oo=ro;var io=wp.compose.useInstanceId,ao=wp.components,lo=ao.BaseControl,uo=ao.ColorPalette,so=function e(t){var n=t.name,o=t.label,i=t.help,a=t.className,l=t.value,u=t.hideLabelFromVision,s=t.onChange,c=t.colors,f=io(e),p="give-color-control-".concat(n,"-").concat(f);return r.createElement(lo,{label:o,hideLabelFromVision:u,id:p,help:i,className:a},r.createElement(uo,{value:l,colors:c,onChange:function(e){return s(e)},clearable:!0}))};so.propTypes={label:f().string,value:f().any.isRequired,onChange:f().func,name:f().string.isRequired,help:f().string,className:f().string,hideLabelFromVision:f().bool},so.defaultProps={onChange:null,options:null};const co=so;var fo=wp.compose.useInstanceId,po=wp.components,mo=po.DateTimePicker,ho=po.BaseControl,go=po.Button,vo=po.Dropdown,yo=wp.date,bo=yo.__experimentalGetSettings,wo=yo.date,ko=function e(t){var n=t.name,i=t.label,a=t.help,l=t.className,u=t.value,s=t.onChange,c=fo(e),f="give-date-time-control-".concat(n,"-").concat(c),p=bo(),d=/a(?!\\)/i.test(p.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return r.createElement(ho,{label:i,hideLabelFromVision:!0,id:f,help:a,className:l},r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},r.createElement("span",null,i),r.createElement(vo,{position:"bottom right",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return r.createElement(go,{isSecondary:!0,onClick:n,"aria-expanded":t},""!==u?wo("F j, Y",u):(0,o.__)("Set date","give"))},renderContent:function(){return r.createElement(mo,{currentDate:u,onChange:function(e){return s(e)},is12Hour:d})}})))};ko.propTypes={label:f().string,value:f().any.isRequired,onChange:f().func,name:f().string.isRequired,help:f().string,className:f().string},ko.defaultProps={onChange:null};const xo=ko;var Eo=wp.data.useSelect;var _o=wp.blockEditor.InspectorControls,So=wp.components,Oo=So.PanelBody,Co=So.TextControl,To=giveProgressBarThemeSupport.editorColorPalette;const Po=function(e){var t=e.attributes,n=e.setAttributes,i=t.ids,a=t.categories,l=t.tags,u=t.goal,s=t.enddate,c=t.color,f=Eo((function(e){var t=e("core").getEntityRecords("postType","give_forms");return t?t.map((function(e){return{label:e.title.rendered?e.title.rendered:(0,o.__)("(no title)"),value:e.id}})):[]}),[]),p=Eo((function(e){var t=e("core").getEntityRecords("taxonomy","give_forms_tag",{per_page:100});return t?t.map((function(e){return{label:e.name?e.name:(0,o.__)("(no title)"),value:e.id}})):[]}),[]),d=Eo((function(e){var t=e("core").getEntityRecords("taxonomy","give_forms_category",{per_page:100});return t?t.map((function(e){return{label:e.name?e.name:(0,o.__)("(no title)"),value:e.id}})):[]}),[]),m=function(e,t){n(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))};return r.createElement(_o,{key:"inspector"},r.createElement(Oo,{title:(0,o.__)("Goal","give"),initialOpen:!0},r.createElement(Co,{name:"goal",label:(0,o.__)("Goal amount","give"),type:"number",onChange:function(e){return m("goal",e)},value:u}),r.createElement(xo,{name:"enddate",label:(0,o.__)("Goal end date","give"),value:s,onChange:function(e){return m("enddate",e)}}),r.createElement(co,{colors:To,name:"color",label:(0,o.__)("Progress bar color","give"),onChange:function(e){return m("color",e)},value:c})),r.createElement(Oo,{title:(0,o.__)("Filters","give"),initialOpen:!1},r.createElement(oo,{name:"ids",label:(0,o.__)("Filter by forms","give"),value:f.filter((function(e){return i.includes(e.value)})),placeholder:"".concat((0,o.__)("All forms","give"),"..."),options:f,onChange:function(e){return m("ids",e?e.map((function(e){return e.value})):[])}}),r.createElement(oo,{name:"categories",label:(0,o.__)("Filter by categories","give"),value:d.filter((function(e){return a.includes(e.value)})),placeholder:"".concat((0,o.__)("All categories","give"),"..."),options:d,onChange:function(e){return m("categories",e?e.map((function(e){return e.value})):[])}}),r.createElement(oo,{name:"tags",label:(0,o.__)("Filter by tags","give"),value:p.filter((function(e){return l.includes(e.value)})),placeholder:"".concat((0,o.__)("All tags","give"),"..."),options:p,onChange:function(e){return m("tags",e?e.map((function(e){return e.value})):[])}})))},No=window.lodash;function Do(e){return Do="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},Do(e)}function Io(){return Io=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},Io.apply(this,arguments)}function Mo(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 Ro(e,t){return Ro=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ro(e,t)}function jo(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=Ao(e);if(t){var o=Ao(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Fo(this,n)}}function Fo(e,t){if(t&&("object"===Do(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ao(e)}function Lo(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 zo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lo(Object(n),!0).forEach((function(t){Vo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bo=wp.element,Uo=Bo.Component,Ho=Bo.RawHTML,Wo=Bo.Fragment,$o=wp.apiFetch,Qo=wp.url.addQueryArgs,Go=wp.components.Placeholder;var qo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ro(e,t)}(a,e);var t,n,o,i=jo(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={response:null,prevResponse:null},t}return t=a,n=[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=(0,No.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){(0,No.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState((function(e){return{response:null,prevResponse:e.response}}));var n=e.block,r=e.attributes,o=void 0===r?null:r,i=e.urlQueryArgs,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Qo("/wp/v2/block-renderer/".concat(e),zo(zo({context:"edit"},null!==t?{attributes:t}:{}),n))}(n,o,void 0===i?{}:i),l=this.currentFetchRequest=$o({path:a}).then((function(e){t.isStillMounted&&l===t.currentFetchRequest&&e&&t.setState({response:e.rendered})})).catch((function(e){t.isStillMounted&&l===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})}));return l}}},{key:"render",value:function(){var e=this.props.spinnerLocation,t=e.right,n=e.top,o=e.unit,i=this.state.response,a=this.state.prevResponse,l="";null!==a&&(l='<div style="position:relative;"><div style="position:absolute;right:'.concat(t).concat(o,";top:").concat(n).concat(o,';z-index:1"><span class="components-spinner"></span></div>').concat(a,"</div>"));var u=this.props,s=u.className,c=u.EmptyResponsePlaceholder,f=u.ErrorResponsePlaceholder;return""===i?r.createElement(c,Io({response:i},this.props)):i?i.error?r.createElement(f,Io({response:i},this.props)):r.createElement(Ho,{key:"html",className:s},i):r.createElement(Wo,null,r.createElement(Ho,{key:"html",className:s},l))}}],n&&Mo(t.prototype,n),o&&Mo(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(Uo);qo.defaultProps={EmptyResponsePlaceholder:function(e){var t=e.className;return r.createElement(Go,{className:t},(0,o.__)("Block rendered as empty."))},ErrorResponsePlaceholder:function(e){var t=e.response,n=e.className,i=sprintf((0,o.__)("Error loading block: %s"),t.errorMsg);return r.createElement(Go,{className:n},i)}};const Ko=qo;var Yo=wp.element.Fragment;const Zo=function(e){var t=e.attributes,n=e.setAttributes;return r.createElement(Yo,null,r.createElement(Po,{attributes:t,setAttributes:n}),r.createElement(Ko,{block:"give/progress-bar",attributes:t,spinnerLocation:{right:0,top:-30,unit:"px"}}))};(0,wp.blocks.registerBlockType)("give/progress-bar",{title:(0,o.__)("Progress Bar","give"),description:(0,o.__)("The Progress Bar block displays progress made across donation forms towards a common goal.","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give"),(0,o.__)("progress-bar","give")],attributes:Ke,parent:["give/multi-form-goal"],edit:Zo})},94184:(e,t)=>{var n;!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 l in n)r.call(n,l)&&n[l]&&e.push(l);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)}()},40399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".give_column_selector{padding-bottom:10px}.give_column_selector_container{align-items:center;background-color:#d9d9d9;border-radius:2px;display:flex;flex:1;flex-direction:row;gap:10px;min-height:80px;padding:10px}.give_column_selector_container .give_column_selector_box{background-color:#828282;border-radius:2px;display:inline-flex;flex:1;height:33px}.give_column_selector_container.give_column_selector_selected{outline:1px solid #828282}.give_column_selector_container.give_column_selector_selected .give_best_fit_icon_box,.give_column_selector_container.give_column_selector_selected .give_column_selector_box{background-color:#2271b1!important}.give_column_selector_icon_container{align-items:center;display:flex;flex:1;flex-direction:row}.give_column_selector_icon_container div:first-child{flex-grow:2;justify-content:flex-start}.give_column_selector_icon_container div:last-child{flex-grow:0.5}.give_column_selector_help_text{color:#757575;font-size:12px;font-style:normal}.give_column_selector_row{display:flex;flex-direction:row;gap:10px;margin-bottom:10px}.give_best_fit_icon{display:flex;flex-direction:column;max-width:28px}.give_best_fit_icon .give_best_fit_row{display:flex;flex-direction:row;gap:5px;margin-bottom:5px}.give_best_fit_icon .give_best_fit_row .give_best_fit_icon_box{background-color:#828282;border-radius:2px;display:inline-flex;flex:1;height:10px}.give_best_fit_icon .give_best_fit_row:last-child{margin-bottom:0}",""]);const i=o},4607:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".timeline-item{background:#fff}@-webkit-keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:520px 0}}@keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:520px 0}}.placeholder-animation{margin:0 auto;max-width:650px}.animated-background{-webkit-animation-duration:.85s;animation-duration:.85s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:placeHolderShimmer;animation-name:placeHolderShimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(90deg,#eee 8%,#ddd 18%,#eee 33%);background-size:520px 100%;position:relative}.container{background-color:#eee;border:1px solid #eee;margin:0 auto;width:650px}.layer{display:flex}.layer.h1{height:28px}.layer.h2{height:22px}.layer.inline-radios{height:12px}.layer.label{height:8px}.layer-item.opaque{background:#fff}.layer-gap{background-color:#fff}.layer-gap.large{height:40px}.layer-gap.medium{height:20px}.layer-gap.small{height:10px}.layer-1 .layer-item:nth-child(odd){width:45%}.layer-1 .layer-item:nth-child(2n){width:55%}.layer-4 .layer-item:first-child{width:30%}.layer-4 .layer-item:nth-child(2){width:10%}.layer-4 .layer-item:nth-child(3){width:20%}.layer-4 .layer-item:nth-child(4){width:30%}.layer-4 .layer-item:nth-child(5){width:10%}.layer-5 .layer-item:first-child{width:40%}.layer-5 .layer-item:nth-child(2){width:5%}.layer-5 .layer-item:nth-child(3){width:15%}.layer-5 .layer-item:nth-child(4){width:40%}.layer-6 .layer-item:nth-child(odd){width:30%}.layer-6 .layer-item:nth-child(2n){width:70%}.layer-8 .layer-item:first-child{width:40%}.layer-8 .layer-item:nth-child(2){width:20%}.layer-8 .layer-item:nth-child(3){width:40%}",""]);const i=o},82636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,'[data-type="give/donation-form"] .components-base-control__field{margin:0 auto;max-width:400px;text-align:left}',""]);const i=o},44516:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".give-toggle{border:1px solid #757575;border-radius:2px;display:flex;margin-bottom:20px;min-height:42px}.give-toggle__option{align-items:center;cursor:pointer;display:flex;flex:1;justify-content:center;margin:3px}",""]);const i=o},91158:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".give-form-grid-inspector{align-items:center!important;flex-direction:row!important;justify-content:space-between!important}.give-form-grid-inspector__filter{margin-top:-18px!important}.give-form-grid-inspector__help{color:#757575;font-size:.75rem;font-style:normal;margin:-15px 0 15px!important}.give-form-grid-inspector .components-base-control__label{margin:0!important}.give-form-grid-inspector .components-base-control__field{align-items:center!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important}.give-form-grid-inspector .components-base-control__field .components-text-control__input{flex:0.7!important}.give-form-grid-inspector .components-flex-item{align-items:center!important;display:flex!important;justify-content:center!important}.give-form-grid-inspector .components-flex-item .components-input-control__label{flex:1!important;margin:0!important}.give-form-grid-inspector .components-input-control__container{max-width:135px!important}.give-form-grid-inspector .components-input-control__container>select{line-height:1.2!important}.components-form-token-field label{display:none!important}.exclude__form{border:1px solid transparent;margin-top:20px!important}",""]);const i=o},62795:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".wp-block-give-donation-form{position:relative}.wp-block-give-donation-form form[id*=give-form] #give-gateway-radio-list>li input[type=radio]{display:inline-block}.give-change-donation-form-btn svg{margin-top:3px}",""]);const i=o},53741:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".gutenberg__editor .give-blank-slate__image{max-width:96px}.give-chosen-base-control a.chosen-single{box-shadow:none!important}.give-chosen-base-control ul.chosen-results{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0!important;text-align:left!important}",""]);const i=o},10878:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".give-donor-wall-inspector{align-items:center!important;flex-direction:row!important;justify-content:space-between!important}.give-donor-wall-inspector .components-base-control__label{margin:0!important}.give-donor-wall-inspector .components-base-control__field{align-items:center!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important}.give-donor-wall-inspector .components-base-control__field .components-text-control__input{flex:0.7!important}.give-donor-wall-inspector .components-flex-item{align-items:center!important;display:flex!important;justify-content:center!important}.give-donor-wall-inspector .components-flex-item .components-input-control__label{flex:1!important;margin:0!important}.give-donor-wall-inspector .components-input-control__container{max-width:165px!important}.give-donor-wall-inspector .components-input-control__container>select{line-height:1.2!important}.components-form-token-field{margin-top:-18px!important}.components-form-token-field label{display:none!important}",""]);const i=o},87048:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,'[data-type="give/multi-form-goal"] [data-type="give/progress-bar"]{margin:0!important;max-width:100%!important}[data-type="give/multi-form-goal"] [data-type="core/media-text"]{margin:24px!important;max-width:100%!important}',""]);const i=o},61210:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"input[id^=give-multi-select-control-]:focus{box-shadow:none;outline:none}",""]);const i=o},1519:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},72446:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function l(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],u=t.base?i[0]+t.base:i[0],s=n[u]||0,c="".concat(u," ").concat(s);n[u]=s+1;var f=l(c),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:c,updater:g(p,t),references:1}),r.push(c)}return r}function s(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,f=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,h=0;function g(e,t){var n,r,o;if(t.singleton){var i=h++;n=m||(m=s(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=s(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=l(n[r]);a[o].references--}for(var i=u(e,t),s=0;s<n.length;s++){var c=l(n[s]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}n=i}}}},27418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,l,u=o(e),s=1;s<arguments.length;s++){for(var c in a=Object(arguments[s]))n.call(a,c)&&(u[c]=a[c]);if(t){l=t(a);for(var f=0;f<l.length;f++)r.call(a,l[f])&&(u[l[f]]=a[l[f]])}}return u}},92703:(e,t,n)=>{"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array: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}},45697:(e,t,n)=>{e.exports=n(92703)()},50414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64448:(e,t,n)=>{"use strict";var r=n(67294),o=n(27418),i=n(63840);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function l(e,t,n,r,o,i,a,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var u=!1,s=null,c=!1,f=null,p={onError:function(e){u=!0,s=e}};function d(e,t,n,r,o,i,a,c,f){u=!1,s=null,l.apply(p,arguments)}var m=null,h=null,g=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,r,o,i,l,p,m){if(d.apply(this,arguments),u){if(!u)throw Error(a(198));var h=s;u=!1,s=null,c||(c=!0,f=h)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function w(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!x[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in x[n]=t,n=t.eventTypes){var o=void 0,i=n[r],l=t,u=r;if(E.hasOwnProperty(u))throw Error(a(99,u));E[u]=i;var s=i.phasedRegistrationNames;if(s){for(o in s)s.hasOwnProperty(o)&&k(s[o],l,u);o=!0}else i.registrationName?(k(i.registrationName,l,u),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function k(e,t,n){if(_[e])throw Error(a(100,e));_[e]=t,S[e]=t.eventTypes[n].dependencies}var x=[],E={},_={},S={};function O(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&w()}var C=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),T=null,P=null,N=null;function D(e){if(e=h(e)){if("function"!=typeof T)throw Error(a(280));var t=e.stateNode;t&&(t=m(t),T(e.stateNode,e.type,t))}}function I(e){P?N?N.push(e):N=[e]:P=e}function M(){if(P){var e=P,t=N;if(N=P=null,D(e),t)for(e=0;e<t.length;e++)D(t[e])}}function R(e,t){return e(t)}function j(e,t,n,r,o){return e(t,n,r,o)}function F(){}var A=R,L=!1,z=!1;function V(){null===P&&null===N||(F(),M())}function B(e,t,n){if(z)return e(t,n);z=!0;try{return A(e,t,n)}finally{z=!1,V()}}var U=/^[: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][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,H=Object.prototype.hasOwnProperty,W={},$={};function Q(e,t,n,r,o,i){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}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){G[e]=new Q(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];G[t]=new Q(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){G[e]=new Q(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){G[e]=new Q(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){G[e]=new Q(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){G[e]=new Q(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){G[e]=new Q(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){G[e]=new Q(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){G[e]=new Q(e,5,!1,e.toLowerCase(),null,!1)}));var q=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(q,K);G[t]=new Q(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(q,K);G[t]=new Q(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(q,K);G[t]=new Q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){G[e]=new Q(e,1,!1,e.toLowerCase(),null,!1)})),G.xlinkHref=new Q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){G[e]=new Q(e,1,!1,e.toLowerCase(),null,!0)}));var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Z(e,t,n,r){var o=G.hasOwnProperty(t)?G[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!H.call($,e)||!H.call(W,e)&&(U.test(e)?$[e]=!0:(W[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Y.hasOwnProperty("ReactCurrentDispatcher")||(Y.ReactCurrentDispatcher={current:null}),Y.hasOwnProperty("ReactCurrentBatchConfig")||(Y.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,oe=J?Symbol.for("react.profiler"):60114,ie=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,le=J?Symbol.for("react.concurrent_mode"):60111,ue=J?Symbol.for("react.forward_ref"):60112,se=J?Symbol.for("react.suspense"):60113,ce=J?Symbol.for("react.suspense_list"):60120,fe=J?Symbol.for("react.memo"):60115,pe=J?Symbol.for("react.lazy"):60116,de=J?Symbol.for("react.block"):60121,me="function"==typeof Symbol&&Symbol.iterator;function he(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=me&&e[me]||e["@@iterator"])?e:null}function ge(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case se:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ge(e.type);case de:return ge(e.render);case pe:if(e=1===e._status?e._result:null)return ge(e)}return null}function ve(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ge(e.type);n=null,r&&(n=ge(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(X,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ke(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function xe(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function _e(e,t){null!=(t=t.checked)&&Z(e,"checked",t,!1)}function Se(e,t){_e(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ce(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ce(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Oe(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ce(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Te(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Pe(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function De(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Ie(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Re="http://www.w3.org/1999/xhtml",je="http://www.w3.org/2000/svg";function Fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ae(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Le,ze,Ve=(ze=function(e,t){if(e.namespaceURI!==je||"innerHTML"in e)e.innerHTML=t;else{for((Le=Le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ze(e,t)}))}:ze);function Be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ue(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:Ue("Animation","AnimationEnd"),animationiteration:Ue("Animation","AnimationIteration"),animationstart:Ue("Animation","AnimationStart"),transitionend:Ue("Transition","TransitionEnd")},We={},$e={};function Qe(e){if(We[e])return We[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in $e)return We[e]=n[t];return e}C&&($e=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ge=Qe("animationend"),qe=Qe("animationiteration"),Ke=Qe("animationstart"),Ye=Qe("transitionend"),Ze="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Je(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function nt(e){if(et(e)!==e)throw Error(a(188))}function rt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return nt(o),e;if(i===r)return nt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ot(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var at=null;function lt(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ut(e){if(null!==e&&(at=ot(at,e)),e=at,at=null,e){if(it(e,lt),at)throw Error(a(95));if(c)throw e=f,c=!1,f=null,e}}function st(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!C)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ft=[];function pt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ft.length&&ft.push(e)}function dt(e,t,n,r){if(ft.length){var o=ft.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function mt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Dn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=st(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var l=null,u=0;u<x.length;u++){var s=x[u];s&&(s=s.extractEvents(r,t,i,o,a))&&(l=ot(l,s))}ut(l)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ze.indexOf(e)&&qt(e,t)}n.set(e,null)}}var gt,vt,yt,bt=!1,wt=[],kt=null,xt=null,Et=null,_t=new Map,St=new Map,Ot=[],Ct="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Tt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Pt(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Nt(e,t){switch(e){case"focus":case"blur":kt=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":Et=null;break;case"pointerover":case"pointerout":_t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":St.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Pt(t,n,r,o,i),null!==t&&(null!==(t=In(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function It(e){var t=Dn(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){yt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=In(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Rt(e,t,n){Mt(e)&&n.delete(t)}function jt(){for(bt=!1;0<wt.length;){var e=wt[0];if(null!==e.blockedOn){null!==(e=In(e.blockedOn))&&gt(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:wt.shift()}null!==kt&&Mt(kt)&&(kt=null),null!==xt&&Mt(xt)&&(xt=null),null!==Et&&Mt(Et)&&(Et=null),_t.forEach(Rt),St.forEach(Rt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,bt||(bt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,jt)))}function At(e){function t(t){return Ft(t,e)}if(0<wt.length){Ft(wt[0],e);for(var n=1;n<wt.length;n++){var r=wt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==kt&&Ft(kt,e),null!==xt&&Ft(xt,e),null!==Et&&Ft(Et,e),_t.forEach(t),St.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)It(n),null===n.blockedOn&&Ot.shift()}var Lt={},zt=new Map,Vt=new Map,Bt=["abort","abort",Ge,"animationEnd",qe,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ye,"transitionEnd","waiting","waiting"];function Ut(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Vt.set(r,t),zt.set(r,i),Lt[o]=i}}Ut("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ut("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ut(Bt,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Wt=0;Wt<Ht.length;Wt++)Vt.set(Ht[Wt],0);var $t=i.unstable_UserBlockingPriority,Qt=i.unstable_runWithPriority,Gt=!0;function qt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Vt.get(t);switch(void 0===r?2:r){case 0:r=Yt.bind(null,t,1,e);break;case 1:r=Zt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){L||F();var o=Xt,i=L;L=!0;try{j(o,e,t,n,r)}finally{(L=i)||V()}}function Zt(e,t,n,r){Qt($t,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if(Gt)if(0<wt.length&&-1<Ct.indexOf(e))e=Pt(null,e,t,n,r),wt.push(e);else{var o=Jt(e,t,n,r);if(null===o)Nt(e,r);else if(-1<Ct.indexOf(e))e=Pt(o,e,t,n,r),wt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return kt=Dt(kt,e,t,n,r,o),!0;case"dragenter":return xt=Dt(xt,e,t,n,r,o),!0;case"mouseover":return Et=Dt(Et,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return _t.set(i,Dt(_t.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,St.set(i,Dt(St.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Nt(e,r),e=dt(e,r,null,t);try{B(mt,e)}finally{pt(e)}}}}function Jt(e,t,n,r){if(null!==(n=Dn(n=st(r)))){var o=et(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=tt(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=dt(e,r,n,t);try{B(mt,e)}finally{pt(e)}return null}var en={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var on=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function an(e,t){if(t){if(on[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function ln(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=Re;function sn(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function fn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function pn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=pn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pn(r)}}function mn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hn(){for(var e=window,t=fn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=fn((e=t.contentWindow).document)}return t}function gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vn="$?",yn="$!",bn=null,wn=null;function kn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function xn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var En="function"==typeof setTimeout?setTimeout:void 0,_n="function"==typeof clearTimeout?clearTimeout:void 0;function Sn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function On(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||n===yn||n===vn){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Cn=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+Cn,Pn="__reactEventHandlers$"+Cn,Nn="__reactContainere$"+Cn;function Dn(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Nn]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=On(e);null!==e;){if(n=e[Tn])return n;e=On(e)}return t}n=(e=n).parentNode}return null}function In(e){return!(e=e[Tn]||e[Nn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Mn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Rn(e){return e[Pn]||null}function jn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Fn(e,t){var n=e.stateNode;if(!n)return null;var r=m(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function An(e,t,n){(t=Fn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=ot(n._dispatchListeners,t),n._dispatchInstances=ot(n._dispatchInstances,e))}function Ln(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=jn(t);for(t=n.length;0<t--;)An(n[t],"captured",e);for(t=0;t<n.length;t++)An(n[t],"bubbled",e)}}function zn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Fn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=ot(n._dispatchListeners,t),n._dispatchInstances=ot(n._dispatchInstances,e))}function Vn(e){e&&e.dispatchConfig.registrationName&&zn(e._targetInst,null,e)}function Bn(e){it(e,Ln)}var Un=null,Hn=null,Wn=null;function $n(){if(Wn)return Wn;var e,t,n=Hn,r=n.length,o="value"in Un?Un.value:Un.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Wn=o.slice(e,1<t?1-t:void 0)}function Qn(){return!0}function Gn(){return!1}function qn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Qn:Gn,this.isPropagationStopped=Gn,this}function Kn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Yn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Zn(e){e.eventPool=[],e.getPooled=Kn,e.release=Yn}o(qn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Qn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Qn)},persist:function(){this.isPersistent=Qn},isPersistent:Gn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Gn,this._dispatchInstances=this._dispatchListeners=null}}),qn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},qn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,Zn(n),n},Zn(qn);var Xn=qn.extend({data:null}),Jn=qn.extend({data:null}),er=[9,13,27,32],tr=C&&"CompositionEvent"in window,nr=null;C&&"documentMode"in document&&(nr=document.documentMode);var rr=C&&"TextEvent"in window&&!nr,or=C&&(!tr||nr&&8<nr&&11>=nr),ir=String.fromCharCode(32),ar={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},lr=!1;function ur(e,t){switch(e){case"keyup":return-1!==er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function sr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var cr=!1;var fr={eventTypes:ar,extractEvents:function(e,t,n,r){var o;if(tr)e:{switch(e){case"compositionstart":var i=ar.compositionStart;break e;case"compositionend":i=ar.compositionEnd;break e;case"compositionupdate":i=ar.compositionUpdate;break e}i=void 0}else cr?ur(e,n)&&(i=ar.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=ar.compositionStart);return i?(or&&"ko"!==n.locale&&(cr||i!==ar.compositionStart?i===ar.compositionEnd&&cr&&(o=$n()):(Hn="value"in(Un=r)?Un.value:Un.textContent,cr=!0)),i=Xn.getPooled(i,t,n,r),o?i.data=o:null!==(o=sr(n))&&(i.data=o),Bn(i),o=i):o=null,(e=rr?function(e,t){switch(e){case"compositionend":return sr(t);case"keypress":return 32!==t.which?null:(lr=!0,ir);case"textInput":return(e=t.data)===ir&&lr?null:e;default:return null}}(e,n):function(e,t){if(cr)return"compositionend"===e||!tr&&ur(e,t)?(e=$n(),Wn=Hn=Un=null,cr=!1,e):null;switch(e){default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return or&&"ko"!==t.locale?null:t.data}}(e,n))?((t=Jn.getPooled(ar.beforeInput,t,n,r)).data=e,Bn(t)):t=null,null===o?t:null===t?o:[o,t]}},pr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!pr[e.type]:"textarea"===t}var mr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function hr(e,t,n){return(e=qn.getPooled(mr.change,e,t,n)).type="change",I(n),Bn(e),e}var gr=null,vr=null;function yr(e){ut(e)}function br(e){if(ke(Mn(e)))return e}function wr(e,t){if("change"===e)return t}var kr=!1;function xr(){gr&&(gr.detachEvent("onpropertychange",Er),vr=gr=null)}function Er(e){if("value"===e.propertyName&&br(vr))if(e=hr(vr,e,st(e)),L)ut(e);else{L=!0;try{R(yr,e)}finally{L=!1,V()}}}function _r(e,t,n){"focus"===e?(xr(),vr=n,(gr=t).attachEvent("onpropertychange",Er)):"blur"===e&&xr()}function Sr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return br(vr)}function Or(e,t){if("click"===e)return br(t)}function Cr(e,t){if("input"===e||"change"===e)return br(t)}C&&(kr=ct("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:mr,_isInputEventSupported:kr,extractEvents:function(e,t,n,r){var o=t?Mn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=wr;else if(dr(o))if(kr)a=Cr;else{a=Sr;var l=_r}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=Or);if(a&&(a=a(e,t)))return hr(a,n,r);l&&l(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ce(o,"number",o.value)}},Pr=qn.extend({view:null,detail:null}),Nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Dr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Nr[e])&&!!t[e]}function Ir(){return Dr}var Mr=0,Rr=0,jr=!1,Fr=!1,Ar=Pr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ir,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Mr;return Mr=e.screenX,jr?"mousemove"===e.type?e.screenX-t:0:(jr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Rr;return Rr=e.screenY,Fr?"mousemove"===e.type?e.screenY-t:0:(Fr=!0,0)}}),Lr=Ar.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),zr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Vr={eventTypes:zr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Dn(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var l=Ar,u=zr.mouseLeave,s=zr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(l=Lr,u=zr.pointerLeave,s=zr.pointerEnter,c="pointer");if(e=null==a?i:Mn(a),i=null==t?i:Mn(t),(u=l.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=i,(n=l.getPooled(s,t,n,r)).type=c+"enter",n.target=i,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(s=c,a=0,e=l=r;e;e=jn(e))a++;for(e=0,t=s;t;t=jn(t))e++;for(;0<a-e;)l=jn(l),a--;for(;0<e-a;)s=jn(s),e--;for(;a--;){if(l===s||l===s.alternate)break e;l=jn(l),s=jn(s)}l=null}else l=null;for(s=l,l=[];r&&r!==s&&(null===(a=r.alternate)||a!==s);)l.push(r),r=jn(r);for(r=[];c&&c!==s&&(null===(a=c.alternate)||a!==s);)r.push(c),c=jn(c);for(c=0;c<l.length;c++)zn(l[c],"bubbled",u);for(c=r.length;0<c--;)zn(r[c],"captured",n);return 0==(64&o)?[u]:[u,n]}};var Br="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ur=Object.prototype.hasOwnProperty;function Hr(e,t){if(Br(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Ur.call(t,n[r])||!Br(e[n[r]],t[n[r]]))return!1;return!0}var Wr=C&&"documentMode"in document&&11>=document.documentMode,$r={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Qr=null,Gr=null,qr=null,Kr=!1;function Yr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Kr||null==Qr||Qr!==fn(n)?null:("selectionStart"in(n=Qr)&&gn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},qr&&Hr(qr,n)?null:(qr=n,(e=qn.getPooled($r.select,Gr,e,t)).type="select",e.target=Qr,Bn(e),e))}var Zr={eventTypes:$r,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Je(o),i=S.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Mn(t):window,e){case"focus":(dr(o)||"true"===o.contentEditable)&&(Qr=o,Gr=t,qr=null);break;case"blur":qr=Gr=Qr=null;break;case"mousedown":Kr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Kr=!1,Yr(n,r);case"selectionchange":if(Wr)break;case"keydown":case"keyup":return Yr(n,r)}return null}},Xr=qn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jr=qn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),eo=Pr.extend({relatedTarget:null});function to(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var no={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ro={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},oo=Pr.extend({key:function(e){if(e.key){var t=no[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=to(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ro[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ir,charCode:function(e){return"keypress"===e.type?to(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?to(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),io=Ar.extend({dataTransfer:null}),ao=Pr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ir}),lo=qn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),uo=Ar.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),so={eventTypes:Lt,extractEvents:function(e,t,n,r){var o=zt.get(e);if(!o)return null;switch(e){case"keypress":if(0===to(n))return null;case"keydown":case"keyup":e=oo;break;case"blur":case"focus":e=eo;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Ar;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=io;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ao;break;case Ge:case qe:case Ke:e=Xr;break;case Ye:e=lo;break;case"scroll":e=Pr;break;case"wheel":e=uo;break;case"copy":case"cut":case"paste":e=Jr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Lr;break;default:e=qn}return Bn(t=e.getPooled(o,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),m=Rn,h=In,g=Mn,O({SimpleEventPlugin:so,EnterLeaveEventPlugin:Vr,ChangeEventPlugin:Tr,SelectEventPlugin:Zr,BeforeInputEventPlugin:fr});var co=[],fo=-1;function po(e){0>fo||(e.current=co[fo],co[fo]=null,fo--)}function mo(e,t){fo++,co[fo]=e.current,e.current=t}var ho={},go={current:ho},vo={current:!1},yo=ho;function bo(e,t){var n=e.type.contextTypes;if(!n)return ho;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function wo(e){return null!=(e=e.childContextTypes)}function ko(){po(vo),po(go)}function xo(e,t,n){if(go.current!==ho)throw Error(a(168));mo(go,t),mo(vo,n)}function Eo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ge(t)||"Unknown",i));return o({},n,{},r)}function _o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ho,yo=go.current,mo(go,e),mo(vo,vo.current),!0}function So(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Eo(e,t,yo),r.__reactInternalMemoizedMergedChildContext=e,po(vo),po(go),mo(go,e)):po(vo),mo(vo,n)}var Oo=i.unstable_runWithPriority,Co=i.unstable_scheduleCallback,To=i.unstable_cancelCallback,Po=i.unstable_requestPaint,No=i.unstable_now,Do=i.unstable_getCurrentPriorityLevel,Io=i.unstable_ImmediatePriority,Mo=i.unstable_UserBlockingPriority,Ro=i.unstable_NormalPriority,jo=i.unstable_LowPriority,Fo=i.unstable_IdlePriority,Ao={},Lo=i.unstable_shouldYield,zo=void 0!==Po?Po:function(){},Vo=null,Bo=null,Uo=!1,Ho=No(),Wo=1e4>Ho?No:function(){return No()-Ho};function $o(){switch(Do()){case Io:return 99;case Mo:return 98;case Ro:return 97;case jo:return 96;case Fo:return 95;default:throw Error(a(332))}}function Qo(e){switch(e){case 99:return Io;case 98:return Mo;case 97:return Ro;case 96:return jo;case 95:return Fo;default:throw Error(a(332))}}function Go(e,t){return e=Qo(e),Oo(e,t)}function qo(e,t,n){return e=Qo(e),Co(e,t,n)}function Ko(e){return null===Vo?(Vo=[e],Bo=Co(Io,Zo)):Vo.push(e),Ao}function Yo(){if(null!==Bo){var e=Bo;Bo=null,To(e)}Zo()}function Zo(){if(!Uo&&null!==Vo){Uo=!0;var e=0;try{var t=Vo;Go(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Vo=null}catch(t){throw null!==Vo&&(Vo=Vo.slice(e+1)),Co(Io,Yo),t}finally{Uo=!1}}}function Xo(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Jo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var ei={current:null},ti=null,ni=null,ri=null;function oi(){ri=ni=ti=null}function ii(e){var t=ei.current;po(ei),e.type._context._currentValue=t}function ai(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function li(e,t){ti=e,ri=ni=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ra=!0),e.firstContext=null)}function ui(e,t){if(ri!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ri=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ni){if(null===ti)throw Error(a(308));ni=t,ti.dependencies={expirationTime:0,firstContext:t,responders:null}}else ni=ni.next=t;return e._currentValue}var si=!1;function ci(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function fi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function pi(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function mi(e,t){var n=e.alternate;null!==n&&fi(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function hi(e,t,n,r){var i=e.updateQueue;si=!1;var a=i.baseQueue,l=i.shared.pending;if(null!==l){if(null!==a){var u=a.next;a.next=l.next,l.next=u}a=l,i.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=l))}if(null!==a){u=a.next;var s=i.baseState,c=0,f=null,p=null,d=null;if(null!==u)for(var m=u;;){if((l=m.expirationTime)<r){var h={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null};null===d?(p=d=h,f=s):d=d.next=h,l>c&&(c=l)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null}),du(l,m.suspenseConfig);e:{var g=e,v=m;switch(l=t,h=n,v.tag){case 1:if("function"==typeof(g=v.payload)){s=g.call(h,s,l);break e}s=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(l="function"==typeof(g=v.payload)?g.call(h,s,l):g))break e;s=o({},s,l);break e;case 2:si=!0}}null!==m.callback&&(e.effectTag|=32,null===(l=i.effects)?i.effects=[m]:l.push(m))}if(null===(m=m.next)||m===u){if(null===(l=i.shared.pending))break;m=a.next=l.next,l.next=u,i.baseQueue=a=l,i.shared.pending=null}}null===d?f=s:d.next=p,i.baseState=f,i.baseQueue=d,mu(c),e.expirationTime=c,e.memoizedState=s}}function gi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(a(191,r));r.call(o)}}}var vi=Y.ReactCurrentBatchConfig,yi=(new r.Component).refs;function bi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var wi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=eu(),o=vi.suspense;(o=pi(r=tu(r,e,o),o)).payload=t,null!=n&&(o.callback=n),di(e,o),nu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=eu(),o=vi.suspense;(o=pi(r=tu(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),di(e,o),nu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=eu(),r=vi.suspense;(r=pi(n=tu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),di(e,r),nu(e,n)}};function ki(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Hr(n,r)||!Hr(o,i))}function xi(e,t,n){var r=!1,o=ho,i=t.contextType;return"object"==typeof i&&null!==i?i=ui(i):(o=wo(t)?yo:go.current,i=(r=null!=(r=t.contextTypes))?bo(e,o):ho),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=wi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ei(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wi.enqueueReplaceState(t,t.state,null)}function _i(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=yi,ci(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ui(i):(i=wo(t)?yo:go.current,o.context=bo(e,i)),hi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(bi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&wi.enqueueReplaceState(o,o.state,null),hi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var Si=Array.isArray;function Oi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===yi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ci(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ti(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ru(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Au(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Oi(e,t,n),r.return=e,r):((r=ju(n.type,n.key,n.props,null,e.mode,r)).ref=Oi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Lu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Fu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Au(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=ju(t.type,t.key,t.props,null,e.mode,n)).ref=Oi(e,null,t),n.return=e,n;case te:return(t=Lu(t,e.mode,n)).return=e,t}if(Si(t)||he(t))return(t=Fu(t,e.mode,n,null)).return=e,t;Ci(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case te:return n.key===o?c(e,t,n,r):null}if(Si(n)||he(n))return null!==o?null:f(e,t,n,r,null);Ci(e,n)}return null}function m(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Si(r)||he(r))return f(t,e=e.get(n)||null,r,o,null);Ci(t,r)}return null}function h(o,a,l,u){for(var s=null,c=null,f=a,h=a=0,g=null;null!==f&&h<l.length;h++){f.index>h?(g=f,f=null):g=f.sibling;var v=d(o,f,l[h],u);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(o,f),a=i(v,a,h),null===c?s=v:c.sibling=v,c=v,f=g}if(h===l.length)return n(o,f),s;if(null===f){for(;h<l.length;h++)null!==(f=p(o,l[h],u))&&(a=i(f,a,h),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(o,f);h<l.length;h++)null!==(g=m(f,o,h,l[h],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?h:g.key),a=i(g,a,h),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(o,e)})),s}function g(o,l,u,s){var c=he(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,h=l,g=l=0,v=null,y=u.next();null!==h&&!y.done;g++,y=u.next()){h.index>g?(v=h,h=null):v=h.sibling;var b=d(o,h,y.value,s);if(null===b){null===h&&(h=v);break}e&&h&&null===b.alternate&&t(o,h),l=i(b,l,g),null===f?c=b:f.sibling=b,f=b,h=v}if(y.done)return n(o,h),c;if(null===h){for(;!y.done;g++,y=u.next())null!==(y=p(o,y.value,s))&&(l=i(y,l,g),null===f?c=y:f.sibling=y,f=y);return c}for(h=r(o,h);!y.done;g++,y=u.next())null!==(y=m(h,o,g,y.value,s))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),l=i(y,l,g),null===f?c=y:f.sibling=y,f=y);return e&&h.forEach((function(e){return t(o,e)})),c}return function(e,r,i,u){var s="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;s&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case ee:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){if(7===s.tag){if(i.type===ne){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}}else if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=Oi(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===ne?((r=Fu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=ju(i.type,i.key,i.props,null,e.mode,u)).ref=Oi(e,r,i),u.return=e,e=u)}return l(e);case te:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Lu(i,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Au(i,e.mode,u)).return=e,e=r),l(e);if(Si(i))return h(e,r,i,u);if(he(i))return g(e,r,i,u);if(c&&Ci(e,i),void 0===i&&!s)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Pi=Ti(!0),Ni=Ti(!1),Di={},Ii={current:Di},Mi={current:Di},Ri={current:Di};function ji(e){if(e===Di)throw Error(a(174));return e}function Fi(e,t){switch(mo(Ri,t),mo(Mi,e),mo(Ii,Di),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ae(null,"");break;default:t=Ae(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}po(Ii),mo(Ii,t)}function Ai(){po(Ii),po(Mi),po(Ri)}function Li(e){ji(Ri.current);var t=ji(Ii.current),n=Ae(t,e.type);t!==n&&(mo(Mi,e),mo(Ii,n))}function zi(e){Mi.current===e&&(po(Ii),po(Mi))}var Vi={current:0};function Bi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===vn||n.data===yn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ui(e,t){return{responder:e,props:t}}var Hi=Y.ReactCurrentDispatcher,Wi=Y.ReactCurrentBatchConfig,$i=0,Qi=null,Gi=null,qi=null,Ki=!1;function Yi(){throw Error(a(321))}function Zi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Br(e[n],t[n]))return!1;return!0}function Xi(e,t,n,r,o,i){if($i=i,Qi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Hi.current=null===e||null===e.memoizedState?ka:xa,e=n(r,o),t.expirationTime===$i){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,qi=Gi=null,t.updateQueue=null,Hi.current=Ea,e=n(r,o)}while(t.expirationTime===$i)}if(Hi.current=wa,t=null!==Gi&&null!==Gi.next,$i=0,qi=Gi=Qi=null,Ki=!1,t)throw Error(a(300));return e}function Ji(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===qi?Qi.memoizedState=qi=e:qi=qi.next=e,qi}function ea(){if(null===Gi){var e=Qi.alternate;e=null!==e?e.memoizedState:null}else e=Gi.next;var t=null===qi?Qi.memoizedState:qi.next;if(null!==t)qi=t,Gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Gi=e).memoizedState,baseState:Gi.baseState,baseQueue:Gi.baseQueue,queue:Gi.queue,next:null},null===qi?Qi.memoizedState=qi=e:qi=qi.next=e}return qi}function ta(e,t){return"function"==typeof t?t(e):t}function na(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=l=i=null,s=o;do{var c=s.expirationTime;if(c<$i){var f={expirationTime:s.expirationTime,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=f,i=r):u=u.next=f,c>Qi.expirationTime&&(Qi.expirationTime=c,mu(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),du(c,s.suspenseConfig),r=s.eagerReducer===e?s.eagerState:e(r,s.action);s=s.next}while(null!==s&&s!==o);null===u?i=r:u.next=l,Br(r,t.memoizedState)||(Ra=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ra(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);Br(i,t.memoizedState)||(Ra=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function oa(e){var t=Ji();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ta,lastRenderedState:e}).dispatch=ba.bind(null,Qi,e),[t.memoizedState,e]}function ia(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Qi.updateQueue)?(t={lastEffect:null},Qi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function aa(){return ea().memoizedState}function la(e,t,n,r){var o=Ji();Qi.effectTag|=e,o.memoizedState=ia(1|t,n,void 0,void 0===r?null:r)}function ua(e,t,n,r){var o=ea();r=void 0===r?null:r;var i=void 0;if(null!==Gi){var a=Gi.memoizedState;if(i=a.destroy,null!==r&&Zi(r,a.deps))return void ia(t,n,i,r)}Qi.effectTag|=e,o.memoizedState=ia(1|t,n,i,r)}function sa(e,t){return la(516,4,e,t)}function ca(e,t){return ua(516,4,e,t)}function fa(e,t){return ua(4,2,e,t)}function pa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function da(e,t,n){return n=null!=n?n.concat([e]):null,ua(4,2,pa.bind(null,t,e),n)}function ma(){}function ha(e,t){return Ji().memoizedState=[e,void 0===t?null:t],e}function ga(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function va(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ya(e,t,n){var r=$o();Go(98>r?98:r,(function(){e(!0)})),Go(97<r?97:r,(function(){var r=Wi.suspense;Wi.suspense=void 0===t?null:t;try{e(!1),n()}finally{Wi.suspense=r}}))}function ba(e,t,n){var r=eu(),o=vi.suspense;o={expirationTime:r=tu(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Qi||null!==i&&i===Qi)Ki=!0,o.expirationTime=$i,Qi.expirationTime=$i;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.eagerReducer=i,o.eagerState=l,Br(l,a))return}catch(e){}nu(e,r)}}var wa={readContext:ui,useCallback:Yi,useContext:Yi,useEffect:Yi,useImperativeHandle:Yi,useLayoutEffect:Yi,useMemo:Yi,useReducer:Yi,useRef:Yi,useState:Yi,useDebugValue:Yi,useResponder:Yi,useDeferredValue:Yi,useTransition:Yi},ka={readContext:ui,useCallback:ha,useContext:ui,useEffect:sa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,la(4,2,pa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return la(4,2,e,t)},useMemo:function(e,t){var n=Ji();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ji();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ba.bind(null,Qi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ji().memoizedState=e},useState:oa,useDebugValue:ma,useResponder:Ui,useDeferredValue:function(e,t){var n=oa(e),r=n[0],o=n[1];return sa((function(){var n=Wi.suspense;Wi.suspense=void 0===t?null:t;try{o(e)}finally{Wi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=oa(!1),n=t[0];return t=t[1],[ha(ya.bind(null,t,e),[t,e]),n]}},xa={readContext:ui,useCallback:ga,useContext:ui,useEffect:ca,useImperativeHandle:da,useLayoutEffect:fa,useMemo:va,useReducer:na,useRef:aa,useState:function(){return na(ta)},useDebugValue:ma,useResponder:Ui,useDeferredValue:function(e,t){var n=na(ta),r=n[0],o=n[1];return ca((function(){var n=Wi.suspense;Wi.suspense=void 0===t?null:t;try{o(e)}finally{Wi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=na(ta),n=t[0];return t=t[1],[ga(ya.bind(null,t,e),[t,e]),n]}},Ea={readContext:ui,useCallback:ga,useContext:ui,useEffect:ca,useImperativeHandle:da,useLayoutEffect:fa,useMemo:va,useReducer:ra,useRef:aa,useState:function(){return ra(ta)},useDebugValue:ma,useResponder:Ui,useDeferredValue:function(e,t){var n=ra(ta),r=n[0],o=n[1];return ca((function(){var n=Wi.suspense;Wi.suspense=void 0===t?null:t;try{o(e)}finally{Wi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ra(ta),n=t[0];return t=t[1],[ga(ya.bind(null,t,e),[t,e]),n]}},_a=null,Sa=null,Oa=!1;function Ca(e,t){var n=Iu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ta(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Pa(e){if(Oa){var t=Sa;if(t){var n=t;if(!Ta(e,t)){if(!(t=Sn(n.nextSibling))||!Ta(e,t))return e.effectTag=-1025&e.effectTag|2,Oa=!1,void(_a=e);Ca(_a,n)}_a=e,Sa=Sn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Oa=!1,_a=e}}function Na(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;_a=e}function Da(e){if(e!==_a)return!1;if(!Oa)return Na(e),Oa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!xn(t,e.memoizedProps))for(t=Sa;t;)Ca(e,t),t=Sn(t.nextSibling);if(Na(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Sa=Sn(e.nextSibling);break e}t--}else"$"!==n&&n!==yn&&n!==vn||t++}e=e.nextSibling}Sa=null}}else Sa=_a?Sn(e.stateNode.nextSibling):null;return!0}function Ia(){Sa=_a=null,Oa=!1}var Ma=Y.ReactCurrentOwner,Ra=!1;function ja(e,t,n,r){t.child=null===e?Ni(t,null,n,r):Pi(t,e.child,n,r)}function Fa(e,t,n,r,o){n=n.render;var i=t.ref;return li(t,o),r=Xi(e,t,n,r,i,o),null===e||Ra?(t.effectTag|=1,ja(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Xa(e,t,o))}function Aa(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Mu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ju(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,La(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Hr)(o,r)&&e.ref===t.ref)?Xa(e,t,i):(t.effectTag|=1,(e=Ru(a,r)).ref=t.ref,e.return=t,t.child=e)}function La(e,t,n,r,o,i){return null!==e&&Hr(e.memoizedProps,r)&&e.ref===t.ref&&(Ra=!1,o<i)?(t.expirationTime=e.expirationTime,Xa(e,t,i)):Va(e,t,n,r,i)}function za(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Va(e,t,n,r,o){var i=wo(n)?yo:go.current;return i=bo(t,i),li(t,o),n=Xi(e,t,n,r,i,o),null===e||Ra?(t.effectTag|=1,ja(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Xa(e,t,o))}function Ba(e,t,n,r,o){if(wo(n)){var i=!0;_o(t)}else i=!1;if(li(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),xi(t,n,r),_i(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=ui(s):s=bo(t,s=wo(n)?yo:go.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&Ei(t,a,r,s),si=!1;var p=t.memoizedState;a.state=p,hi(t,r,a,o),u=t.memoizedState,l!==r||p!==u||vo.current||si?("function"==typeof c&&(bi(t,n,c,r),u=t.memoizedState),(l=si||ki(t,n,l,r,p,u,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,fi(e,t),l=t.memoizedProps,a.props=t.type===t.elementType?l:Jo(t.type,l),u=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=ui(s):s=bo(t,s=wo(n)?yo:go.current),(f="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&Ei(t,a,r,s),si=!1,u=t.memoizedState,a.state=u,hi(t,r,a,o),p=t.memoizedState,l!==r||u!==p||vo.current||si?("function"==typeof c&&(bi(t,n,c,r),p=t.memoizedState),(c=si||ki(t,n,l,r,u,p,s))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Ua(e,t,n,r,i,o)}function Ua(e,t,n,r,o,i){za(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&So(t,n,!1),Xa(e,t,i);r=t.stateNode,Ma.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Pi(t,e.child,null,i),t.child=Pi(t,null,l,i)):ja(e,t,l,i),t.memoizedState=r.state,o&&So(t,n,!0),t.child}function Ha(e){var t=e.stateNode;t.pendingContext?xo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&xo(0,t.context,!1),Fi(e,t.containerInfo)}var Wa,$a,Qa,Ga={dehydrated:null,retryTime:0};function qa(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Vi.current,l=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),mo(Vi,1&a),null===e){if(void 0!==i.fallback&&Pa(t),l){if(l=i.fallback,(i=Fu(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Fu(l,o,n,null)).return=t,i.sibling=n,t.memoizedState=Ga,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Ni(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,l){if(i=i.fallback,(n=Ru(e,e.pendingProps)).return=t,0==(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return(o=Ru(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Ga,t.child=n,o}return n=Pi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=i.fallback,(i=Fu(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Fu(l,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ga,t.child=i,n}return t.memoizedState=null,t.child=Pi(t,e,i.children,n)}function Ka(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ai(e.return,t)}function Ya(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function Za(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ja(e,t,r.children,n),0!=(2&(r=Vi.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ka(e,n);else if(19===e.tag)Ka(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(mo(Vi,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Bi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ya(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Bi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ya(t,!0,n,null,i,t.lastEffect);break;case"together":Ya(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Xa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&mu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ru(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ru(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ja(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function el(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return wo(t.type)&&ko(),null;case 3:return Ai(),po(vo),po(go),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Da(t)||(t.effectTag|=4),null;case 5:zi(t),n=ji(Ri.current);var i=t.type;if(null!==e&&null!=t.stateNode)$a(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=ji(Ii.current),Da(t)){r=t.stateNode,i=t.type;var l=t.memoizedProps;switch(r[Tn]=t,r[Pn]=l,i){case"iframe":case"object":case"embed":qt("load",r);break;case"video":case"audio":for(e=0;e<Ze.length;e++)qt(Ze[e],r);break;case"source":qt("error",r);break;case"img":case"image":case"link":qt("error",r),qt("load",r);break;case"form":qt("reset",r),qt("submit",r);break;case"details":qt("toggle",r);break;case"input":Ee(r,l),qt("invalid",r),sn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!l.multiple},qt("invalid",r),sn(n,"onChange");break;case"textarea":De(r,l),qt("invalid",r),sn(n,"onChange")}for(var u in an(i,l),e=null,l)if(l.hasOwnProperty(u)){var s=l[u];"children"===u?"string"==typeof s?r.textContent!==s&&(e=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(e=["children",""+s]):_.hasOwnProperty(u)&&null!=s&&sn(n,u)}switch(i){case"input":we(r),Oe(r,l,!0);break;case"textarea":we(r),Me(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===un&&(e=Fe(i)),e===un?"script"===i?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(i,{is:r.is}):(e=u.createElement(i),"select"===i&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,i),e[Tn]=t,e[Pn]=r,Wa(e,t),t.stateNode=e,u=ln(i,r),i){case"iframe":case"object":case"embed":qt("load",e),s=r;break;case"video":case"audio":for(s=0;s<Ze.length;s++)qt(Ze[s],e);s=r;break;case"source":qt("error",e),s=r;break;case"img":case"image":case"link":qt("error",e),qt("load",e),s=r;break;case"form":qt("reset",e),qt("submit",e),s=r;break;case"details":qt("toggle",e),s=r;break;case"input":Ee(e,r),s=xe(e,r),qt("invalid",e),sn(n,"onChange");break;case"option":s=Te(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=o({},r,{value:void 0}),qt("invalid",e),sn(n,"onChange");break;case"textarea":De(e,r),s=Ne(e,r),qt("invalid",e),sn(n,"onChange");break;default:s=r}an(i,s);var c=s;for(l in c)if(c.hasOwnProperty(l)){var f=c[l];"style"===l?rn(e,f):"dangerouslySetInnerHTML"===l?null!=(f=f?f.__html:void 0)&&Ve(e,f):"children"===l?"string"==typeof f?("textarea"!==i||""!==f)&&Be(e,f):"number"==typeof f&&Be(e,""+f):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_.hasOwnProperty(l)?null!=f&&sn(n,l):null!=f&&Z(e,l,f,u))}switch(i){case"input":we(e),Oe(e,r,!1);break;case"textarea":we(e),Me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Pe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Pe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=cn)}kn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Qa(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=ji(Ri.current),ji(Ii.current),Da(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return po(Vi),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Da(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=i,i.nextEffect=l):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Vi.current)?jl===Tl&&(jl=Pl):(jl!==Tl&&jl!==Pl||(jl=Nl),0!==Vl&&null!==Il&&(Bu(Il,Rl),Uu(Il,Vl)))),(n||r)&&(t.effectTag|=4),null);case 4:return Ai(),null;case 10:return ii(t),null;case 19:if(po(Vi),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(l=r.rendering)){if(i)Ja(r,!1);else if(jl!==Tl||null!==e&&0!=(64&e.effectTag))for(l=t.child;null!==l;){if(null!==(e=Bi(l))){for(t.effectTag|=64,Ja(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)l=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=l,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,l=e.dependencies,i.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),r=r.sibling;return mo(Vi,1&Vi.current|2),t.child}l=l.sibling}}else{if(!i)if(null!==(e=Bi(l))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ja(r,!0),null===r.tail&&"hidden"===r.tailMode&&!l.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Wo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Ja(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=r.last)?n.sibling=l:t.child=l,r.last=l)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Wo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wo(),n.sibling=null,t=Vi.current,mo(Vi,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function tl(e){switch(e.tag){case 1:wo(e.type)&&ko();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Ai(),po(vo),po(go),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return zi(e),null;case 13:return po(Vi),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return po(Vi),null;case 4:return Ai(),null;case 10:return ii(e),null;default:return null}}function nl(e,t){return{value:e,source:t,stack:ve(t)}}Wa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},$a=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var l,u,s=t.stateNode;switch(ji(Ii.current),e=null,n){case"input":a=xe(s,a),r=xe(s,r),e=[];break;case"option":a=Te(s,a),r=Te(s,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Ne(s,a),r=Ne(s,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(s.onclick=cn)}for(l in an(n,r),n=null,a)if(!r.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l])if("style"===l)for(u in s=a[l])s.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in r){var c=r[l];if(s=null!=a?a[l]:void 0,r.hasOwnProperty(l)&&c!==s&&(null!=c||null!=s))if("style"===l)if(s){for(u in s)!s.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&s[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(e=e||[]).push(l,c)):"children"===l?s===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(_.hasOwnProperty(l)?(null!=c&&sn(i,l),e||s===c||(e=[])):(e=e||[]).push(l,c))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Qa=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var rl="function"==typeof WeakSet?WeakSet:Set;function ol(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ve(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function il(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ou(e,t)}else t.current=null}function al(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Jo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(a(163))}function ll(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ul(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function sl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ul(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Jo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&gi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}gi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&kn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&At(n)))))}throw Error(a(163))}function cl(e,t,n){switch("function"==typeof Nu&&Nu(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Go(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){Ou(o,e)}}e=e.next}while(e!==r)}))}break;case 1:il(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Ou(e,t)}}(t,n);break;case 5:il(t);break;case 4:gl(e,t,n)}}function fl(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&fl(t)}function pl(e){return 5===e.tag||3===e.tag||4===e.tag}function dl(e){e:{for(var t=e.return;null!==t;){if(pl(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Be(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||pl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?ml(e,n,t):hl(e,n,t)}function ml(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=cn));else if(4!==r&&null!==(e=e.child))for(ml(e,t,n),e=e.sibling;null!==e;)ml(e,t,n),e=e.sibling}function hl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(hl(e,t,n),e=e.sibling;null!==e;)hl(e,t,n),e=e.sibling}function gl(e,t,n){for(var r,o,i=t,l=!1;;){if(!l){l=i.return;e:for(;;){if(null===l)throw Error(a(160));switch(r=l.stateNode,l.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}l=l.return}l=!0}if(5===i.tag||6===i.tag){e:for(var u=e,s=i,c=n,f=s;;)if(cl(u,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===s)break e;for(;null===f.sibling;){if(null===f.return||f.return===s)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(u=r,s=i.stateNode,8===u.nodeType?u.parentNode.removeChild(s):u.removeChild(s)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(cl(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(l=!1)}i.sibling.return=i.return,i=i.sibling}}function vl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ll(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Pn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&_e(n,r),ln(e,o),t=ln(e,r),o=0;o<i.length;o+=2){var l=i[o],u=i[o+1];"style"===l?rn(n,u):"dangerouslySetInnerHTML"===l?Ve(n,u):"children"===l?Be(n,u):Z(n,l,u,t)}switch(e){case"input":Se(n,r);break;case"textarea":Ie(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Pe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Pe(n,!!r.multiple,r.defaultValue,!0):Pe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,At(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ul=Wo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=nn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void yl(t);case 19:return void yl(t)}throw Error(a(163))}function yl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new rl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var bl="function"==typeof WeakMap?WeakMap:Map;function wl(e,t,n){(n=pi(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,$l=r),ol(e,t)},n}function kl(e,t,n){(n=pi(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ol(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ql?Ql=new Set([this]):Ql.add(this),ol(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var xl,El=Math.ceil,_l=Y.ReactCurrentDispatcher,Sl=Y.ReactCurrentOwner,Ol=16,Cl=32,Tl=0,Pl=3,Nl=4,Dl=0,Il=null,Ml=null,Rl=0,jl=Tl,Fl=null,Al=1073741823,Ll=1073741823,zl=null,Vl=0,Bl=!1,Ul=0,Hl=null,Wl=!1,$l=null,Ql=null,Gl=!1,ql=null,Kl=90,Yl=null,Zl=0,Xl=null,Jl=0;function eu(){return 0!=(48&Dl)?1073741821-(Wo()/10|0):0!==Jl?Jl:Jl=1073741821-(Wo()/10|0)}function tu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=$o();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(Dl&Ol))return Rl;if(null!==n)e=Xo(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Xo(e,150,100);break;case 97:case 96:e=Xo(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Il&&e===Rl&&--e,e}function nu(e,t){if(50<Zl)throw Zl=0,Xl=null,Error(a(185));if(null!==(e=ru(e,t))){var n=$o();1073741823===t?0!=(8&Dl)&&0==(48&Dl)?lu(e):(iu(e),0===Dl&&Yo()):iu(e),0==(4&Dl)||98!==n&&99!==n||(null===Yl?Yl=new Map([[e,t]]):(void 0===(n=Yl.get(e))||n>t)&&Yl.set(e,t))}}function ru(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Il===o&&(mu(t),jl===Nl&&Bu(o,Rl)),Uu(o,t)),o}function ou(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Vu(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function iu(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ko(lu.bind(null,e));else{var t=ou(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=eu();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Ao&&To(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ko(lu.bind(null,e)):qo(r,au.bind(null,e),{timeout:10*(1073741821-t)-Wo()}),e.callbackNode=t}}}function au(e,t){if(Jl=0,t)return Hu(e,t=eu()),iu(e),null;var n=ou(e);if(0!==n){if(t=e.callbackNode,0!=(48&Dl))throw Error(a(327));if(Eu(),e===Il&&n===Rl||cu(e,n),null!==Ml){var r=Dl;Dl|=Ol;for(var o=pu();;)try{gu();break}catch(t){fu(e,t)}if(oi(),Dl=r,_l.current=o,1===jl)throw t=Fl,cu(e,n),Bu(e,n),iu(e),t;if(null===Ml)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=jl,Il=null,r){case Tl:case 1:throw Error(a(345));case 2:Hu(e,2<n?2:n);break;case Pl:if(Bu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bu(o)),1073741823===Al&&10<(o=Ul+500-Wo())){if(Bl){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,cu(e,n);break}}if(0!==(i=ou(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=En(wu.bind(null,e),o);break}wu(e);break;case Nl:if(Bu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bu(o)),Bl&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,cu(e,n);break}if(0!==(o=ou(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ll?r=10*(1073741821-Ll)-Wo():1073741823===Al?r=0:(r=10*(1073741821-Al)-5e3,0>(r=(o=Wo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*El(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=En(wu.bind(null,e),r);break}wu(e);break;case 5:if(1073741823!==Al&&null!==zl){i=Al;var l=zl;if(0>=(r=0|l.busyMinDurationMs)?r=0:(o=0|l.busyDelayMs,r=(i=Wo()-(10*(1073741821-i)-(0|l.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Bu(e,n),e.timeoutHandle=En(wu.bind(null,e),r);break}}wu(e);break;default:throw Error(a(329))}if(iu(e),e.callbackNode===t)return au.bind(null,e)}}return null}function lu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Dl))throw Error(a(327));if(Eu(),e===Il&&t===Rl||cu(e,t),null!==Ml){var n=Dl;Dl|=Ol;for(var r=pu();;)try{hu();break}catch(t){fu(e,t)}if(oi(),Dl=n,_l.current=r,1===jl)throw n=Fl,cu(e,t),Bu(e,t),iu(e),n;if(null!==Ml)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Il=null,wu(e),iu(e)}return null}function uu(e,t){var n=Dl;Dl|=1;try{return e(t)}finally{0===(Dl=n)&&Yo()}}function su(e,t){var n=Dl;Dl&=-2,Dl|=8;try{return e(t)}finally{0===(Dl=n)&&Yo()}}function cu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,_n(n)),null!==Ml)for(n=Ml.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ko();break;case 3:Ai(),po(vo),po(go);break;case 5:zi(r);break;case 4:Ai();break;case 13:case 19:po(Vi);break;case 10:ii(r)}n=n.return}Il=e,Ml=Ru(e.current,null),Rl=t,jl=Tl,Fl=null,Ll=Al=1073741823,zl=null,Vl=0,Bl=!1}function fu(e,t){for(;;){try{if(oi(),Hi.current=wa,Ki)for(var n=Qi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if($i=0,qi=Gi=Qi=null,Ki=!1,null===Ml||null===Ml.return)return jl=1,Fl=t,Ml=null;e:{var o=e,i=Ml.return,a=Ml,l=t;if(t=Rl,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&a.mode)){var s=a.alternate;s?(a.updateQueue=s.updateQueue,a.memoizedState=s.memoizedState,a.expirationTime=s.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Vi.current),f=i;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var m=f.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!c)}}if(p){var h=f.updateQueue;if(null===h){var g=new Set;g.add(u),f.updateQueue=g}else h.add(u);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=pi(1073741823,null);v.tag=2,di(a,v)}a.expirationTime=1073741823;break e}l=void 0,a=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new bl,l=new Set,y.set(u,l)):void 0===(l=y.get(u))&&(l=new Set,y.set(u,l)),!l.has(a)){l.add(a);var b=Cu.bind(null,o,u,a);u.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);l=Error((ge(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ve(a))}5!==jl&&(jl=2),l=nl(l,a),f=i;do{switch(f.tag){case 3:u=l,f.effectTag|=4096,f.expirationTime=t,mi(f,wl(f,u,t));break e;case 1:u=l;var w=f.type,k=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===Ql||!Ql.has(k)))){f.effectTag|=4096,f.expirationTime=t,mi(f,kl(f,u,t));break e}}f=f.return}while(null!==f)}Ml=yu(Ml)}catch(e){t=e;continue}break}}function pu(){var e=_l.current;return _l.current=wa,null===e?wa:e}function du(e,t){e<Al&&2<e&&(Al=e),null!==t&&e<Ll&&2<e&&(Ll=e,zl=t)}function mu(e){e>Vl&&(Vl=e)}function hu(){for(;null!==Ml;)Ml=vu(Ml)}function gu(){for(;null!==Ml&&!Lo();)Ml=vu(Ml)}function vu(e){var t=xl(e.alternate,e,Rl);return e.memoizedProps=e.pendingProps,null===t&&(t=yu(e)),Sl.current=null,t}function yu(e){Ml=e;do{var t=Ml.alternate;if(e=Ml.return,0==(2048&Ml.effectTag)){if(t=el(t,Ml,Rl),1===Rl||1!==Ml.childExpirationTime){for(var n=0,r=Ml.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Ml.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ml.firstEffect),null!==Ml.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ml.firstEffect),e.lastEffect=Ml.lastEffect),1<Ml.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ml:e.firstEffect=Ml,e.lastEffect=Ml))}else{if(null!==(t=tl(Ml)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ml.sibling))return t;Ml=e}while(null!==Ml);return jl===Tl&&(jl=5),null}function bu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function wu(e){var t=$o();return Go(99,ku.bind(null,e,t)),null}function ku(e,t){do{Eu()}while(null!==ql);if(0!=(48&Dl))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=bu(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Il&&(Ml=Il=null,Rl=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=Dl;Dl|=Cl,Sl.current=null,bn=Gt;var l=hn();if(gn(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{var s=(u=(u=l.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(s&&0!==s.rangeCount){u=s.anchorNode;var c=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var p=0,d=-1,m=-1,h=0,g=0,v=l,y=null;t:for(;;){for(var b;v!==u||0!==c&&3!==v.nodeType||(d=p+c),v!==f||0!==s&&3!==v.nodeType||(m=p+s),3===v.nodeType&&(p+=v.nodeValue.length),null!==(b=v.firstChild);)y=v,v=b;for(;;){if(v===l)break t;if(y===u&&++h===c&&(d=p),y===f&&++g===s&&(m=p),null!==(b=v.nextSibling))break;y=(v=y).parentNode}v=b}u=-1===d||-1===m?null:{start:d,end:m}}else u=null}u=u||{start:0,end:0}}else u=null;wn={activeElementDetached:null,focusedElem:l,selectionRange:u},Gt=!1,Hl=o;do{try{xu()}catch(e){if(null===Hl)throw Error(a(330));Ou(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);Hl=o;do{try{for(l=e,u=t;null!==Hl;){var w=Hl.effectTag;if(16&w&&Be(Hl.stateNode,""),128&w){var k=Hl.alternate;if(null!==k){var x=k.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&w){case 2:dl(Hl),Hl.effectTag&=-3;break;case 6:dl(Hl),Hl.effectTag&=-3,vl(Hl.alternate,Hl);break;case 1024:Hl.effectTag&=-1025;break;case 1028:Hl.effectTag&=-1025,vl(Hl.alternate,Hl);break;case 4:vl(Hl.alternate,Hl);break;case 8:gl(l,c=Hl,u),fl(c)}Hl=Hl.nextEffect}}catch(e){if(null===Hl)throw Error(a(330));Ou(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);if(x=wn,k=hn(),w=x.focusedElem,u=x.selectionRange,k!==w&&w&&w.ownerDocument&&mn(w.ownerDocument.documentElement,w)){null!==u&&gn(w)&&(k=u.start,void 0===(x=u.end)&&(x=k),"selectionStart"in w?(w.selectionStart=k,w.selectionEnd=Math.min(x,w.value.length)):(x=(k=w.ownerDocument||document)&&k.defaultView||window).getSelection&&(x=x.getSelection(),c=w.textContent.length,l=Math.min(u.start,c),u=void 0===u.end?l:Math.min(u.end,c),!x.extend&&l>u&&(c=u,u=l,l=c),c=dn(w,l),f=dn(w,u),c&&f&&(1!==x.rangeCount||x.anchorNode!==c.node||x.anchorOffset!==c.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((k=k.createRange()).setStart(c.node,c.offset),x.removeAllRanges(),l>u?(x.addRange(k),x.extend(f.node,f.offset)):(k.setEnd(f.node,f.offset),x.addRange(k))))),k=[];for(x=w;x=x.parentNode;)1===x.nodeType&&k.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<k.length;w++)(x=k[w]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Gt=!!bn,wn=bn=null,e.current=n,Hl=o;do{try{for(w=e;null!==Hl;){var E=Hl.effectTag;if(36&E&&sl(w,Hl.alternate,Hl),128&E){k=void 0;var _=Hl.ref;if(null!==_){var S=Hl.stateNode;Hl.tag,k=S,"function"==typeof _?_(k):_.current=k}}Hl=Hl.nextEffect}}catch(e){if(null===Hl)throw Error(a(330));Ou(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);Hl=null,zo(),Dl=i}else e.current=n;if(Gl)Gl=!1,ql=e,Kl=t;else for(Hl=o;null!==Hl;)t=Hl.nextEffect,Hl.nextEffect=null,Hl=t;if(0===(t=e.firstPendingTime)&&(Ql=null),1073741823===t?e===Xl?Zl++:(Zl=0,Xl=e):Zl=0,"function"==typeof Pu&&Pu(n.stateNode,r),iu(e),Wl)throw Wl=!1,e=$l,$l=null,e;return 0!=(8&Dl)||Yo(),null}function xu(){for(;null!==Hl;){var e=Hl.effectTag;0!=(256&e)&&al(Hl.alternate,Hl),0==(512&e)||Gl||(Gl=!0,qo(97,(function(){return Eu(),null}))),Hl=Hl.nextEffect}}function Eu(){if(90!==Kl){var e=97<Kl?97:Kl;return Kl=90,Go(e,_u)}}function _u(){if(null===ql)return!1;var e=ql;if(ql=null,0!=(48&Dl))throw Error(a(331));var t=Dl;for(Dl|=Cl,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ll(5,n),ul(5,n)}}catch(t){if(null===e)throw Error(a(330));Ou(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Dl=t,Yo(),!0}function Su(e,t,n){di(e,t=wl(e,t=nl(n,t),1073741823)),null!==(e=ru(e,1073741823))&&iu(e)}function Ou(e,t){if(3===e.tag)Su(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Su(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ql||!Ql.has(r))){di(n,e=kl(n,e=nl(t,e),1073741823)),null!==(n=ru(n,1073741823))&&iu(n);break}}n=n.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Il===e&&Rl===n?jl===Nl||jl===Pl&&1073741823===Al&&Wo()-Ul<500?cu(e,Rl):Bl=!0:Vu(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,iu(e)))}function Tu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=tu(t=eu(),e,null)),null!==(e=ru(e,t))&&iu(e)}xl=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||vo.current)Ra=!0;else{if(r<n){switch(Ra=!1,t.tag){case 3:Ha(t),Ia();break;case 5:if(Li(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:wo(t.type)&&_o(t);break;case 4:Fi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,mo(ei,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?qa(e,t,n):(mo(Vi,1&Vi.current),null!==(t=Xa(e,t,n))?t.sibling:null);mo(Vi,1&Vi.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Za(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),mo(Vi,Vi.current),!r)return null}return Xa(e,t,n)}Ra=!1}}else Ra=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=bo(t,go.current),li(t,n),o=Xi(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,wo(r)){var i=!0;_o(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ci(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&bi(t,r,l,e),o.updater=wi,t.stateNode=o,o._reactInternalFiber=t,_i(t,r,e,n),t=Ua(null,t,r,!0,i,n)}else t.tag=0,ja(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return Mu(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===fe)return 14}return 2}(o),e=Jo(o,e),i){case 0:t=Va(null,t,o,e,n);break e;case 1:t=Ba(null,t,o,e,n);break e;case 11:t=Fa(null,t,o,e,n);break e;case 14:t=Aa(null,t,o,Jo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Va(e,t,r,o=t.elementType===r?o:Jo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ba(e,t,r,o=t.elementType===r?o:Jo(r,o),n);case 3:if(Ha(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,fi(e,t),hi(t,r,null,n),(r=t.memoizedState.element)===o)Ia(),t=Xa(e,t,n);else{if((o=t.stateNode.hydrate)&&(Sa=Sn(t.stateNode.containerInfo.firstChild),_a=t,o=Oa=!0),o)for(n=Ni(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else ja(e,t,r,n),Ia();t=t.child}return t;case 5:return Li(t),null===e&&Pa(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,xn(r,o)?l=null:null!==i&&xn(r,i)&&(t.effectTag|=16),za(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(ja(e,t,l,n),t=t.child),t;case 6:return null===e&&Pa(t),null;case 13:return qa(e,t,n);case 4:return Fi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Pi(t,null,r,n):ja(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Fa(e,t,r,o=t.elementType===r?o:Jo(r,o),n);case 7:return ja(e,t,t.pendingProps,n),t.child;case 8:case 12:return ja(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value;var u=t.type._context;if(mo(ei,u._currentValue),u._currentValue=i,null!==l)if(u=l.value,0===(i=Br(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(l.children===o.children&&!vo.current){t=Xa(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&i)){1===u.tag&&((c=pi(n,null)).tag=2,di(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),ai(u.return,n),s.expirationTime<n&&(s.expirationTime=n);break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}ja(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,li(t,n),r=r(o=ui(o,i.unstable_observedBits)),t.effectTag|=1,ja(e,t,r,n),t.child;case 14:return i=Jo(o=t.type,t.pendingProps),Aa(e,t,o,i=Jo(o.type,i),r,n);case 15:return La(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Jo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,wo(r)?(e=!0,_o(t)):e=!1,li(t,n),xi(t,r,o),_i(t,r,o,n),Ua(null,t,r,!0,e,n);case 19:return Za(e,t,n)}throw Error(a(156,t.tag))};var Pu=null,Nu=null;function Du(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Iu(e,t,n,r){return new Du(e,t,n,r)}function Mu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Iu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ju(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Mu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case ne:return Fu(n.children,o,i,t);case le:l=8,o|=7;break;case re:l=8,o|=1;break;case oe:return(e=Iu(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case se:return(e=Iu(13,n,t,o)).type=se,e.elementType=se,e.expirationTime=i,e;case ce:return(e=Iu(19,n,t,o)).elementType=ce,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:l=10;break e;case ae:l=9;break e;case ue:l=11;break e;case fe:l=14;break e;case pe:l=16,r=null;break e;case de:l=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Iu(l,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Fu(e,t,n,r){return(e=Iu(7,e,r,t)).expirationTime=n,e}function Au(e,t,n){return(e=Iu(6,e,null,t)).expirationTime=n,e}function Lu(e,t,n){return(t=Iu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Vu(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Bu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Uu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Hu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Wu(e,t,n,r){var o=t.current,i=eu(),l=vi.suspense;i=tu(i,o,l);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(wo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var s=n.type;if(wo(s)){n=Eo(n,s,u);break e}}n=u}else n=ho;return null===t.context?t.context=n:t.pendingContext=n,(t=pi(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(o,t),nu(o,i),i}function $u(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Qu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Gu(e,t){Qu(e,t),(e=e.alternate)&&Qu(e,t)}function qu(e,t,n){var r=new zu(e,t,n=null!=n&&!0===n.hydrate),o=Iu(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ci(o),e[Nn]=r.current,n&&0!==t&&function(e,t){var n=Je(t);Ct.forEach((function(e){ht(e,t,n)})),Tt.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Ku(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=$u(a);l.call(e)}}Wu(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new qu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=$u(a);u.call(e)}}su((function(){Wu(t,a,e,o)}))}return $u(a)}function Zu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Xu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ku(t))throw Error(a(200));return Zu(e,t,null,n)}qu.prototype.render=function(e){Wu(e,this._internalRoot,null,null)},qu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Wu(null,e,null,(function(){t[Nn]=null}))},gt=function(e){if(13===e.tag){var t=Xo(eu(),150,100);nu(e,t),Gu(e,t)}},vt=function(e){13===e.tag&&(nu(e,3),Gu(e,3))},yt=function(e){if(13===e.tag){var t=eu();nu(e,t=tu(t,e,null)),Gu(e,t)}},T=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Rn(r);if(!o)throw Error(a(90));ke(r),Se(r,o)}}}break;case"textarea":Ie(e,n);break;case"select":null!=(t=n.value)&&Pe(e,!!n.multiple,t,!1)}},R=uu,j=function(e,t,n,r,o){var i=Dl;Dl|=4;try{return Go(98,e.bind(null,t,n,r,o))}finally{0===(Dl=i)&&Yo()}},F=function(){0==(49&Dl)&&(function(){if(null!==Yl){var e=Yl;Yl=null,e.forEach((function(e,t){Hu(t,e),iu(t)})),Yo()}}(),Eu())},A=function(e,t){var n=Dl;Dl|=2;try{return e(t)}finally{0===(Dl=n)&&Yo()}};var Ju={Events:[In,Mn,Rn,O,E,Bn,function(e){it(e,Vn)},I,M,Xt,ut,Eu,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Pu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Nu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}})(o({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Dn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.createPortal=Xu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=rt(t))?null:e.stateNode}},73935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(64448)},35639:(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(67294),a=u(i),l=u(n(45697));function u(e){return e&&e.__esModule?e:{default:e}}var s={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],f=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},p=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),d=function(){return p?"_"+Math.random().toString(36).substr(2,12):void 0},m=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||d(),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||d(),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&&(f(e,this.sizer),this.placeHolderSizer&&f(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 p&&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){c.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:s},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:s},this.props.placeholder):null)}}]),t}(i.Component);m.propTypes={className:l.default.string,defaultValue:l.default.any,extraWidth:l.default.oneOfType([l.default.number,l.default.string]),id:l.default.string,injectStyles:l.default.bool,inputClassName:l.default.string,inputRef:l.default.func,inputStyle:l.default.object,minWidth:l.default.oneOfType([l.default.number,l.default.string]),onAutosize:l.default.func,onChange:l.default.func,placeholder:l.default.string,placeholderIsMinWidth:l.default.bool,style:l.default.object,value:l.default.any},m.defaultProps={minWidth:1,injectStyles:!0},t.Z=m},72408:(e,t,n)=>{"use strict";var r=n(27418),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function k(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var E=x.prototype=new k;E.constructor=x,r(E,w.prototype),E.isPureReactComponent=!0;var _={current:null},S=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r,o={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!O.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:l,props:o,_owner:_.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var P=/\/+/g,N=[];function D(e,t,n,r){if(N.length){var o=N.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function M(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case a:l=!0}}if(l)return n(r,e,""===t?"."+j(e,0):t),1;if(l=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){var s=t+j(o=e[u],u);l+=M(o,s,n,r)}else if(null===e||"object"!=typeof e?s=null:s="function"==typeof(s=g&&e[g]||e["@@iterator"])?s:null,"function"==typeof s)for(e=s.call(e),u=0;!(o=e.next()).done;)l+=M(o=o.value,s=t+j(o,u++),n,r);else if("object"===o)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return l}function R(e,t,n){return null==e?0:M(e,"",t,n)}function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function A(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,(function(e){return e})):null!=e&&(T(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+n)),r.push(e))}function L(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(P,"$&/")+"/"),R(e,A,t=D(t,i,r,o)),I(t)}var z={current:null};function V(){var e=z.current;if(null===e)throw Error(v(321));return e}var B={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return L(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;R(e,F,t=D(null,null,t,n)),I(t)},count:function(e){return R(e,(function(){return null}),null)},toArray:function(e){var t=[];return L(e,t,null,(function(e){return e})),t},only:function(e){if(!T(e))throw Error(v(143));return e}},t.Component=w,t.Fragment=l,t.Profiler=s,t.PureComponent=x,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var o=r({},e.props),a=e.key,l=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,u=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)S.call(t,c)&&!O.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:l,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return V().useCallback(e,t)},t.useContext=function(e,t){return V().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return V().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return V().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},t.useMemo=function(e,t){return V().useMemo(e,t)},t.useReducer=function(e,t,n){return V().useReducer(e,t,n)},t.useRef=function(e){return V().useRef(e)},t.useState=function(e){return V().useState(e)},t.version="16.14.0"},67294:(e,t,n)=>{"use strict";e.exports=n(72408)},60053:(e,t)=>{"use strict";var n,r,o,i,a;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,u=null,s=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(s,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==l?setTimeout(n,0,e):(l=e,setTimeout(s,0))},r=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},i=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,p=window.Date,d=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var g=p.now();t.unstable_now=function(){return p.now()-g}}var v=!1,y=null,b=-1,w=5,k=0;i=function(){return t.unstable_now()>=k},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var x=new MessageChannel,E=x.port2;x.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();k=e+w;try{y(!0,e)?E.postMessage(null):(v=!1,y=null)}catch(e){throw E.postMessage(null),e}}else v=!1},n=function(e){y=e,v||(v=!0,E.postMessage(null))},r=function(e,n){b=d((function(){e(t.unstable_now())}),n)},o=function(){m(b),b=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<C(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function O(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,u=e[l];if(void 0!==a&&0>C(a,n))void 0!==u&&0>C(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>C(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],P=[],N=1,D=null,I=3,M=!1,R=!1,j=!1;function F(e){for(var t=S(P);null!==t;){if(null===t.callback)O(P);else{if(!(t.startTime<=e))break;O(P),t.sortIndex=t.expirationTime,_(T,t)}t=S(P)}}function A(e){if(j=!1,F(e),!R)if(null!==S(T))R=!0,n(L);else{var t=S(P);null!==t&&r(A,t.startTime-e)}}function L(e,n){R=!1,j&&(j=!1,o()),M=!0;var a=I;try{for(F(n),D=S(T);null!==D&&(!(D.expirationTime>n)||e&&!i());){var l=D.callback;if(null!==l){D.callback=null,I=D.priorityLevel;var u=l(D.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?D.callback=u:D===S(T)&&O(T),F(n)}else O(T);D=S(T)}if(null!==D)var s=!0;else{var c=S(P);null!==c&&r(A,c.startTime-n),s=!1}return s}finally{D=null,I=a,M=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||M||(R=!0,n(L))},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_getFirstCallbackNode=function(){return S(T)},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_scheduleCallback=function(e,i,a){var l=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?l+u:l,a="number"==typeof a.timeout?a.timeout:z(e)}else a=z(e),u=l;return e={id:N++,callback:i,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>l?(e.sortIndex=u,_(P,e),null===S(T)&&e===S(P)&&(j?o():j=!0,r(A,u-l))):(e.sortIndex=a,_(T,e),R||M||(R=!0,n(L))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();F(e);var n=S(T);return n!==D&&null!==D&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<D.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}}},63840:(e,t,n)=>{"use strict";e.exports=n(60053)}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,exports:{}};return t[e](i,i.exports,r),i.exports}r.m=t,e=[],r.O=(t,n,o,i)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){for(var[n,o,i]=e[c],l=!0,u=0;u<n.length;u++)(!1&i||a>=i)&&Object.keys(r.O).every((e=>r.O[e](n[u])))?n.splice(u--,1):(l=!1,i<a&&(a=i));if(l){e.splice(c--,1);var s=o();void 0!==s&&(t=s)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,o,i]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={199:0,401:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[a,l,u]=n,s=0;if(a.some((t=>0!==e[t]))){for(o in l)r.o(l,o)&&(r.m[o]=l[o]);if(u)var c=u(r)}for(t&&t(n);s<a.length;s++)i=a[s],r.o(e,i)&&e[i]&&e[i][0](),e[a[s]]=0;return r.O(c)},n=self.webpackChunkgive=self.webpackChunkgive||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var o=r.O(void 0,[401],(()=>r(73792)));o=r.O(o)})();
1
+ (()=>{var e,t={73792:(e,t,n)=>{"use strict";var r=n(67294);const o=window.wp.i18n,i=window.wp.blocks;var a=n(72446),l=n.n(a),u=n(53741),s={insert:"head",singleton:!1};l()(u.Z,s);u.Z.locals;var c=n(45697),f=n.n(c),p=["color","size"];function d(){return d=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},d.apply(this,arguments)}function m(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}var h={white:"#fff",grey:"#555d66",give:"#66bb6a"},g=function(e){var t=e.color,n=void 0===t?"give":t,o=e.size,i=void 0===o?"24px":o,a=m(e,p);return r.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 157.2 157.2",width:i,height:i},a),r.createElement("circle",{fill:h[n],cx:"78.6",cy:"78.6",r:"78.6"}),r.createElement("path",{fill:"#fff",d:"M89.8 84.2c.3.7 1 1.3 1 1.3 13.9 1.7 33.6-.2 48.6-2.2-8.6 18.5-24 30.8-38.1 30.8-26.5 0-46.9-32.1-46.9-32.1 8.2-7.2 21.7-30.8 41.2-30.8s28 10.7 28 10.7l2.2-3.5s-9.1-31.9-34.9-31.9-53.2 42.3-69.2 52c0 0 22 52.2 70.2 52.2 40.4 0 50.6-38.6 52.5-48.2 5.4-.8 9.9-1.6 12.8-2.1 1-2.2 2.1-6.1 1.3-11.3-16.1 6.2-40.5 13.2-69.1 13.2-.1 0 0 1 .4 1.9z"}))};g.propTypes={color:f().oneOf(Object.keys(h)),size:f().oneOfType([f().number,f().string])};const v=g;const y={id:{type:"number",default:0},prevId:{type:"number"},displayStyle:{type:"string",default:"onpage"},continueButtonTitle:{type:"string",default:""},showTitle:{type:"boolean",default:!0},showGoal:{type:"boolean",default:!0},contentDisplay:{type:"boolean",default:!0},showContent:{type:"string",default:"above"}},b=window.wp.serverSideRender;var w=n.n(b),k=n(62795),x={insert:"head",singleton:!1};l()(k.Z,x);k.Z.locals;const E=window.wp.data,_=window.wp.components;var S=n(82636),O={insert:"head",singleton:!1};l()(S.Z,O);S.Z.locals;const C=function(){return r.createElement("p",{className:"give-blank-slate__help"},"Need help? Get started with ",r.createElement("a",{href:"http://docs.givewp.com/give101/",target:"_blank",rel:"noopener noreferrer"},(0,o.__)("GiveWP 101")))};var T=n(4607),P={insert:"head",singleton:!1};l()(T.Z,P);T.Z.locals;const N=function(){return r.createElement("div",{className:"placeholder-animation"},r.createElement("div",{className:"timeline-wrapper"},r.createElement("div",{className:"timeline-item"},r.createElement("div",{className:"animated-background"},r.createElement("div",{className:"layer label layer-4"},r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"})),r.createElement("div",{className:"layer-gap small"}),r.createElement("div",{className:"layer h2 layer-5"},r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"})),r.createElement("div",{className:"layer-gap medium"}),r.createElement("div",{className:"layer label layer-6"},r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"})),r.createElement("div",{className:"layer-gap small"}),r.createElement("div",{className:"layer h2 layer-7"},r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"})),r.createElement("div",{className:"layer-gap medium"}),r.createElement("div",{className:"layer-gap medium"}),r.createElement("div",{className:"layer h1 layer-8"},r.createElement("div",{className:"layer-item opaque"}),r.createElement("div",{className:"layer-item"}),r.createElement("div",{className:"layer-item opaque"}))))))};const D=function(e){var t=e.noIcon,n=e.isLoader,o=e.title,i=e.description,a=e.children,l=e.helpLink,u=r.createElement(N,null),s=r.createElement("div",{className:"block-loaded"},!!o&&r.createElement("h3",{className:"give-blank-slate__heading"},o),!!i&&r.createElement("p",{className:"give-blank-slate__message"},i),a,!!l&&r.createElement(C,null));return r.createElement("div",{className:"give-blank-slate"},!t&&r.createElement(v,{size:"80",className:"give-blank-slate__image"}),n?u:s)};function I(e){var t=[];return e&&(t=e.map((function(e){var t=e.id,n=e.title.rendered;return{value:t,label:""===n?"".concat(t," : ").concat((0,o.__)("No form title","give")):n}}))),t.unshift({value:"0",label:(0,o.__)("-- Select Form --","give")}),t}const M=function(){return r.createElement(D,{title:(0,o.__)("No donation forms found.","give"),description:(0,o.__)("The first step towards accepting online donations is to create a form.","give"),helpLink:!0},r.createElement(_.Button,{isPrimary:!0,isLarge:!0,className:"give-blank-slate__cta",href:"".concat(wpApiSettings.root.replace("/wp-json/",""),"/wp-admin/post-new.php?post_type=give_forms")},(0,o.__)("Create Donation Form","give")))},R=window.wp.element,j=window.jQuery;var F=n.n(j);function A(e){return A="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},A(e)}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(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 V(e,t){return V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},V(e,t)}function B(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=W(e);if(t){var o=W(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return U(this,n)}}function U(e,t){if(t&&("object"===A(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return H(e)}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(e){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},W(e)}var $=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(a,e);var t,n,o,i=B(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).saveSetting=t.saveSetting.bind(H(t)),t.saveState=t.saveState.bind(H(t)),t}return t=a,n=[{key:"saveSetting",value:function(e,t){this.props.setAttributes(L({},e,t))}},{key:"saveState",value:function(e,t){this.setState(L({},e,t))}},{key:"componentDidMount",value:function(){var e=this.props.value;this.$el=F()(this.el),this.$el.val(e),this.$input=this.$el.chosen({width:"100%"}).data("chosen"),this.handleChange=this.handleChange.bind(this),this.$el.on("change",this.handleChange)}},{key:"componentWillUnmount",value:function(){this.$el.off("change",this.handleChange),this.$el.chosen("destroy")}},{key:"handleChange",value:function(e){this.props.onChange(e.target.value)}},{key:"componentDidUpdate",value:function(){var e=F()(".chosen-base-control").closest(".chosen-container").find(".chosen-search-input");this.$input.search_field.autocomplete({source:function(t,n){var r={action:"give_block_donation_form_search_results",search:t.term},o=F()(".give-block-chosen-select");F().post(ajaxurl,r,(function(r){o.empty(),(r=JSON.parse(r)).length>0&&(n(F().map(r,(function(e){o.append('<option value="'.concat(e.id,'">').concat(e.name,"</option>"))}))),o.trigger("chosen:updated"),e.val(t.term))}))}})}},{key:"render",value:function(){var e=this;return r.createElement(_.BaseControl,{className:"give-chosen-base-control"},r.createElement("select",{className:"give-select give-select-chosen give-block-chosen-select",ref:function(t){return e.el=t}},this.props.options.map((function(e,t){return r.createElement("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)}))))}}],n&&z(t.prototype,n),o&&z(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(R.Component);const Q=$;const G=(0,E.withSelect)((function(e){return{forms:e("core").getEntityRecords("postType","give_forms",{per_page:30})}}))((function(e){var t=e.forms,n=e.setAttributes;return t?t&&0===t.length?r.createElement(M,null):r.createElement(D,{title:(0,o.__)("Donation Form","give")},r.createElement(Q,{className:"give-blank-slate__select",options:I(t),onChange:function(e){n({id:Number(e)})},value:0})):r.createElement(_.Placeholder,null,r.createElement(_.Spinner,null))})),q=window.wp.blockEditor;var K={};K.displayStyles=[{value:"onpage",label:(0,o.__)("Full Form","give")},{value:"modal",label:(0,o.__)("Modal","give")},{value:"reveal",label:(0,o.__)("Reveal","give")},{value:"button",label:(0,o.__)("One Button Launch","give")}],K.contentPosition=[{value:"above",label:(0,o.__)("Above","give")},{value:"below",label:(0,o.__)("Below","give")}];const Y=K;function Z(e){return Z="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},Z(e)}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(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 ee(e,t){return ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ee(e,t)}function te(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=oe(e);if(t){var o=oe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ne(this,n)}}function ne(e,t){if(t&&("object"===Z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return re(e)}function re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},oe(e)}var ie=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ee(e,t)}(l,e);var t,n,i,a=te(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={continueButtonTitle:t.props.attributes.continueButtonTitle},t.saveSetting=t.saveSetting.bind(re(t)),t.saveState=t.saveState.bind(re(t)),t}return t=l,(n=[{key:"saveSetting",value:function(e,t){this.props.setAttributes(X({},e,t))}},{key:"saveState",value:function(e,t){this.setState(X({},e,t))}},{key:"render",value:function(){var e=this,t=this.props.forms,n=this.props.attributes,i=n.id,a=n.displayStyle,l=n.showTitle,u=n.showGoal,s=n.showContent,c=n.contentDisplay;return r.createElement(q.InspectorControls,{key:"inspector"},r.createElement(_.PanelBody,{title:(0,o.__)("Donation Form Settings","give")},r.createElement(_.Button,{isDefault:!0,onClick:function(){return e.saveSetting("id",0)},className:"give-change-donation-form-btn"},r.createElement(_.Dashicon,{icon:"edit"})," ",(0,o.__)("Change Donation Form","give"))),function(e,t){if(e){var n=e.find((function(e){return parseInt(e.id)===parseInt(t)}));return n&&(!n.formTemplate||"legacy"===n.formTemplate)}return!1}(t,i)&&r.createElement("div",null,r.createElement(_.PanelBody,{title:(0,o.__)("Display","give")},r.createElement(_.SelectControl,{label:(0,o.__)("Form Format","give"),name:"displayStyle",value:a,options:Y.displayStyles,onChange:function(t){return e.saveSetting("displayStyle",t)}}),"reveal"===a&&r.createElement(_.TextControl,{name:"continueButtonTitle",label:(0,o.__)("Continue Button Title","give"),value:this.state.continueButtonTitle,onChange:function(t){return e.saveState("continueButtonTitle",t)},onBlur:function(t){return e.saveSetting("continueButtonTitle",t.target.value)}})),r.createElement(_.PanelBody,{title:(0,o.__)("Settings","give")},r.createElement(_.ToggleControl,{label:(0,o.__)("Title","give"),name:"showTitle",checked:!!l,onChange:function(t){return e.saveSetting("showTitle",t)}}),r.createElement(_.ToggleControl,{label:(0,o.__)("Goal","give"),name:"showGoal",checked:!!u,onChange:function(t){return e.saveSetting("showGoal",t)}}),r.createElement(_.ToggleControl,{label:(0,o.__)("Content","give"),name:"contentDisplay",checked:!!c,onChange:function(t){return e.saveSetting("contentDisplay",t)}}),c&&r.createElement(_.SelectControl,{label:(0,o.__)("Content Position","give"),name:"showContent",value:s,options:Y.contentPosition,onChange:function(t){return e.saveSetting("showContent",t)}}))))}}])&&J(t.prototype,n),i&&J(t,i),Object.defineProperty(t,"prototype",{writable:!1}),l}(R.Component);const ae=(0,E.withSelect)((function(e){return{forms:e("core").getEntityRecords("postType","give_forms",{per_page:30})}}))(ie);function le(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 ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ce=function(e){var t=e.attributes,n=e.isSelected,o=e.className;return t.id?r.createElement("div",{className:n?"".concat(o," isSelected"):o},r.createElement(ae,ue({},e)),r.createElement(w(),{block:"give/donation-form",attributes:t})):r.createElement(G,ue({},e))};(0,i.registerBlockType)("give/donation-form",{title:(0,o.__)("Donation Form","give"),description:(0,o.__)("The GiveWP Donation Form block inserts an existing donation form into the page. Each donation form's presentation can be customized below.","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give")],supports:{html:!1},attributes:y,edit:ce,save:function(){return null}});const fe={formsPerPage:{type:"string",default:"12"},paged:{type:"boolean",default:!0},formIDs:{type:"array",default:[]},excludedFormIDs:{type:"array",default:[]},excludeForms:{type:"boolean",default:!1},orderBy:{type:"string",default:"date"},order:{type:"string",default:"DESC"},categories:{type:"array",default:[]},tags:{type:"array",default:[]},columns:{type:"string",default:"1"},imageSize:{type:"string",default:"medium"},imageHeight:{type:"string",default:"auto"},imageHeightOptions:{type:"string",default:"auto"},showTitle:{type:"boolean",default:!0},showExcerpt:{type:"boolean",default:!0},showGoal:{type:"boolean",default:!0},showProgressBar:{type:"boolean",default:!0},showFeaturedImage:{type:"boolean",default:!0},showDonateButton:{type:"boolean",default:!0},tagBackgroundColor:{type:"string",default:"#69b86b"},tagTextColor:{type:"string",default:"#ffffff"},donateButtonTextColor:{type:"string",default:"#69b86b"},displayType:{type:"string",default:"redirect"},excerptLength:{type:"integer",default:16},filter:{type:"string",default:"tags"},progressBarColor:{type:"string",default:"#69b86b"}};var pe={};pe.orderBy=[{value:"date",label:(0,o.__)("Date Created","give")},{value:"title",label:(0,o.__)("Form Name","give")},{value:"amount_donated",label:(0,o.__)("Amount Donated","give")},{value:"number_donations",label:(0,o.__)("Number of Donations","give")},{value:"menu_order",label:(0,o.__)("Menu Order","give")},{value:"post__in",label:(0,o.__)("Provided Form IDs","give")},{value:"closest_to_goal",label:(0,o.__)("Closest To Goal","give")},{value:"random",label:(0,o.__)("Random","give")}],pe.order=[{value:"DESC",label:(0,o.__)("Descending","give")},{value:"ASC",label:(0,o.__)("Ascending","give")}],pe.columns=[{value:"1",label:(0,o.__)("Full Width","give")},{value:"2",label:(0,o.__)("Double","give")},{value:"3",label:(0,o.__)("Triple","give")},{value:"4",label:(0,o.__)("Max (4)","give")}],pe.displayType=[{value:"redirect",label:(0,o.__)("Redirect","give")},{value:"modal_reveal",label:(0,o.__)("Modal","give")}],pe.filter=[{value:"formIDs",label:(0,o.__)("Form ID","give")},{value:"categories",label:(0,o.__)("Categories","give")},{value:"tags",label:(0,o.__)("Tags","give")}],pe.imageHeight=[{value:"auto",label:(0,o.__)("Auto","give")},{value:"custom",label:(0,o.__)("Custom","give")}];const de=pe;var me=n(94184),he=n.n(me),ge=n(40399),ve={insert:"head",singleton:!1};l()(ge.Z,ve);ge.Z.locals;function ye(e){var t=e.display,n=e.selected,o=String(t);return r.createElement("div",{className:he()("give_column_selector_container",{give_column_selector_selected:o===n})},r.createElement(r.Fragment,null,Array(t).fill(null).map((function(e,t){return r.createElement("div",{key:t,className:"give_column_selector_box"}," ")}))))}function be(e){var t=e.children;return r.createElement("div",{className:"give_column_selector_row"},t)}function we(e){var t=e.label,n=e.selected,o=e.help;return r.createElement("div",{className:"give_column_selector"},t&&r.createElement("p",null,t),o&&r.createElement("p",{className:"give_column_selector_help_text"},o),"1"===n?r.createElement(be,null,r.createElement(ye,{display:1,selected:n})):"2"===n?r.createElement(be,null,r.createElement(ye,{display:2,selected:n})):"3"===n?r.createElement(be,null,r.createElement(ye,{display:3,selected:n})):r.createElement(be,null,r.createElement(ye,{display:4,selected:n})))}var ke=n(91158),xe={insert:"head",singleton:!1};l()(ke.Z,xe);ke.Z.locals;const Ee=function(e){var t=e.attributes,n=e.setAttributes,i=t.formsPerPage,a=t.paged,l=t.imageSize,u=t.imageHeight,s=t.formIDs,c=t.excludeForms,f=t.excludedFormIDs,p=t.orderBy,d=t.order,m=t.categories,h=t.tags,g=t.columns,v=t.showTitle,y=t.showExcerpt,b=(t.excerptLength,t.showGoal),w=t.showProgressBar,k=t.showFeaturedImage,x=t.showDonateButton,S=t.tagBackgroundColor,O=t.donateButtonTextColor,C=t.displayType,T=t.filter,P=t.tagTextColor,N=t.imageHeightOptions,D=t.progressBarColor,I=function(e,t){n(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))},M=function(e){return Array.isArray(e)?e:s.indexOf(",")?e.split(","):[e]};return r.createElement(q.InspectorControls,{key:"inspector"},r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Layout","give"),initialOpen:!0},r.createElement(we,{label:(0,o.__)("Columns","give"),selected:g,onClick:function(e){return I("columns",e)},help:(0,o.__)('Controls how many columns of the Form Grid appear. "Best Fit" will adjust responsively to the space available.',"give")}),r.createElement(_.SelectControl,{label:(0,o.__)("Columns","give"),name:"columns",value:g,options:de.columns,onChange:function(e){return I("columns",e)}}))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Display Elements","give"),initialOpen:!0},r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showTitle",label:(0,o.__)("Show Title","give"),checked:!!v,onChange:function(e){return I("showTitle",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showGoal",label:(0,o.__)("Show Goal","give"),checked:!!b,onChange:function(e){return I("showGoal",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showExcerpt",label:(0,o.__)("Show Excerpt","give"),checked:!!y,onChange:function(e){return I("showExcerpt",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showProgressBar",label:(0,o.__)("Show Progress Bar","give"),checked:!!w,onChange:function(e){return I("showProgressBar",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"showDonateButton",label:(0,o.__)("Show Donate Button","give"),checked:!!x,onChange:function(e){return I("showDonateButton",e)}}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",align:"right",name:"showFeaturedImage",label:(0,o.__)("Show Featured Image","give"),checked:!!k,onChange:function(e){return I("showFeaturedImage",e)}}),k&&r.createElement(r.Fragment,null,r.createElement(_.SelectControl,{className:"give-form-grid-inspector",name:"imageSize",label:(0,o.__)("Image Size","give"),value:l,options:(0,E.select)(q.store).getSettings().imageSizes.map((function(e){return{value:e.slug,label:e.name}})),onChange:function(e){return I("imageSize",e)}}),r.createElement(_.SelectControl,{className:"give-form-grid-inspector",name:"imageHeightOptions",label:(0,o.__)("Image Height","give"),value:N,options:de.imageHeight,onChange:function(e){return function(e){I("imageHeightOptions",e),I("imageHeight",e)}(e)}}),"custom"===N&&r.createElement(_.TextControl,{className:"give-form-grid-inspector__filter",name:"imageHeight",value:u,onChange:function(e){return I("imageHeight",e)},help:(0,o.__)('Featured image height. Default "auto". Accepts valid heights in px, em, or rem.',"give")})))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Grid Settings","give"),initialOpen:!0},r.createElement(_.SelectControl,{className:"give-form-grid-inspector",label:(0,o.__)("Order By","give"),name:"orderBy",value:p,options:de.orderBy,onChange:function(e){return I("orderBy",e)},help:(0,o.__)("The order forms are displayed in.","give")}),r.createElement(_.SelectControl,{className:"give-form-grid-inspector",label:(0,o.__)("Order","give"),name:"order",value:d,options:de.order,onChange:function(e){return I("order",e)},help:(0,o.__)("Whether the order ascends or descends.","give")}),r.createElement(_.SelectControl,{className:"give-form-grid-inspector",label:(0,o.__)("Filter","give"),name:"filter",value:T,options:de.filter,onChange:function(e){return I("filter",e)}}),"categories"===T?r.createElement(r.Fragment,null,r.createElement(_.FormTokenField,{className:"give-form-grid-inspector__filter",name:"categories",value:M(m),onChange:function(e){return I("categories",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the name of your category to add it to the list. Only forms within the categories you choose will be displayed in this grid.","give"))):"tags"===T?r.createElement(r.Fragment,null,r.createElement(_.FormTokenField,{className:"give-form-grid-inspector__filter",name:"tags",value:M(h),onChange:function(e){return I("tags",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the name of your tag to add it to the list. Only forms with these tags you choose will be displayed in this grid.","give"))):"formIDs"===T?r.createElement(r.Fragment,null,r.createElement(_.FormTokenField,{className:"give-form-grid-inspector__filter",name:"formIDs",value:M(s),onChange:function(e){return I("formIDs",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the ID of your form to add it to the list. Only forms with these IDs you choose will be displayed in this grid.","give"))):void 0,r.createElement(_.ToggleControl,{className:"give-form-grid-inspector exclude__form",name:"excludeForms",label:(0,o.__)("Exclude specific forms?","give"),checked:!!c,onChange:function(e){return I("excludeForms",e)}}),c&&r.createElement(r.Fragment,null,r.createElement(_.FormTokenField,{name:"excludedFormIDs",label:(0,o.__)("Excluded Form IDs","give"),value:M(f),onChange:function(e){return I("excludedFormIDs",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the ID of your form to exclude it from the list. Forms with these IDs you choose will not be displayed in this grid.","give"))))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Grid Interaction","give"),initialOpen:!0},r.createElement(_.SelectControl,{className:"give-form-grid-inspector",label:(0,o.__)("Display Type","give"),name:"displayType",value:C,options:de.displayType,onChange:function(e){return I("displayType",e)}}),"redirect"===C?r.createElement("p",{className:"give-form-grid-inspector__help"},(0,o.__)("Users will be redirected to the donation form page.","give")):r.createElement("p",{className:"give-form-grid-inspector__help"},(0,o.__)("Modal with the donation form will be displayed on the same page.","give")),r.createElement(_.TextControl,{className:"give-form-grid-inspector",name:"formsPerPage",label:(0,o.__)("Forms Per Page","give"),value:i,onChange:function(e){return I("formsPerPage",e)},help:(0,o.__)("Sets the number of forms to be displayed on the first page load.","give")}),r.createElement(_.ToggleControl,{className:"give-form-grid-inspector",name:"paged",label:(0,o.__)("Show Pagination","give"),checked:!!a,onChange:function(e){return I("paged",e)},help:(0,o.__)("Enable form display to multiple pages.","give")}))),r.createElement(q.PanelColorSettings,{title:(0,o.__)("Color Settings"),colorSettings:[{value:S,onChange:function(e){return I("tagBackgroundColor",e)},label:(0,o.__)("Tag Background Color","give")},{value:P,onChange:function(e){return I("tagTextColor",e)},label:(0,o.__)("Tag Text Color","give")},{value:O,onChange:function(e){return I("donateButtonTextColor",e)},label:(0,o.__)("Donate Button Text Color","give")},{value:D,onChange:function(e){return I("progressBarColor",e)},label:(0,o.__)("Progress Bar Color","give")}]}))};function _e(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 Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Oe=(0,E.withSelect)((function(e){return{forms:e("core").getEntityRecords("postType","give_forms")}}))((function(e){var t=e.attributes;return r.createElement(R.Fragment,null,r.createElement(Ee,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){Se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)),r.createElement(w(),{block:"give/donation-form-grid",attributes:t}))}));(0,i.registerBlockType)("give/donation-form-grid",{title:(0,o.__)("Donation Form Grid","give"),description:(0,o.__)("The GiveWP Donation Form Grid block insert an existing donation form into the page. Each form's presentation can be customized below.","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give"),(0,o.__)("grid","give")],supports:{html:!1},attributes:fe,edit:Oe,save:function(){return null}});const Ce={donorsPerPage:{type:"string",default:"12"},formID:{type:"array",default:[]},ids:{type:"array",default:[]},categories:{type:"array",default:[]},tags:{type:"string",default:[]},orderBy:{type:"string",default:"post_date"},order:{type:"string",default:"DESC"},paged:{type:"string",default:"1"},columns:{type:"string",default:"3"},showAvatar:{type:"boolean",default:!0},showName:{type:"boolean",default:!0},showCompanyName:{type:"boolean",default:!1},showForm:{type:"boolean",default:!0},showTotal:{type:"boolean",default:!0},showComments:{type:"boolean",default:!0},showTributes:{type:"boolean",default:!0},showAnonymous:{type:"boolean",default:!0},onlyComments:{type:"boolean",default:!1},commentLength:{type:"string",default:"80"},readMoreText:{type:"string",default:(0,o.__)("Read more","give")},loadMoreText:{type:"string",default:(0,o.__)("Load more","give")},avatarSize:{type:"string",default:"75"},toggleOptions:{type:"string",default:"Donor info"},filter:{type:"string",default:"Donor ID"},color:{type:"string",default:"#219653"}};var Te={};Te.columns=[{value:"1",label:(0,o.__)("Full width","give")},{value:"2",label:(0,o.__)("Double","give")},{value:"3",label:(0,o.__)("Triple","give")},{value:"4",label:(0,o.__)("Max (4)","give")}],Te.order=[{value:"DESC",label:(0,o.__)("Descending","give")},{value:"ASC",label:(0,o.__)("Ascending","give")}],Te.orderBy=[{value:"donation_amount",label:(0,o.__)("Donation Amount","give")},{value:"post_date",label:(0,o.__)("Date Created","give")}],Te.toggleOptions=[{value:"Donor info",label:(0,o.__)("Donor Info","give")},{value:"Wall attributes",label:(0,o.__)("Wall Attributes","give")}],Te.filter=[{value:"ids",label:(0,o.__)("Donor ID","give")},{value:"formID",label:(0,o.__)("Form ID","give")},{value:"categories",label:(0,o.__)("Categories","give")},{value:"tags",label:(0,o.__)("Tags","give")}];const Pe=Te;var Ne=n(44516),De={insert:"head",singleton:!1};l()(Ne.Z,De);Ne.Z.locals;function Ie(e){var t=e.options,n=e.onClick,o=e.selected;return r.createElement("div",{className:"give-toggle"},t.map((function(e,t){return r.createElement("div",{key:t,onClick:function(){return n(e)},className:"give-toggle__option",style:o===e?{background:"#007cba",color:"white"}:{}},e)})))}var Me=n(10878),Re={insert:"head",singleton:!1};l()(Me.Z,Re);Me.Z.locals;const je=function(e){var t=e.attributes,n=e.setAttributes,i=t.donorsPerPage,a=t.ids,l=t.formID,u=t.categories,s=t.tags,c=t.orderBy,f=t.order,p=t.columns,d=t.avatarSize,m=t.showAvatar,h=t.showName,g=t.showCompanyName,v=t.onlyComments,y=t.showForm,b=t.showTotal,w=t.showComments,k=t.showAnonymous,x=t.commentLength,E=t.readMoreText,S=t.loadMoreText,O=t.toggleOptions,C=t.filter,T=t.color,P=t.showTributes,N=function(e,t){n(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))},D=function(e){return Array.isArray(e)?e:formIDs.indexOf(",")?e.split(","):[e]};return r.createElement(q.InspectorControls,{key:"inspector"},r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Layout","give"),initialOpen:!0},r.createElement(we,{selected:p,onClick:function(e){return N("columns",e)},help:(0,o.__)("Controls how many columns of the Form Grid appear. All sizes will adjust responsively to the space available. The maximum number allowed per row is 4","give")}),r.createElement(_.SelectControl,{className:"give-donor-wall-inspector",name:"columns",label:(0,o.__)("Columns","give"),value:p,options:Pe.columns,onChange:function(e){return N("columns",e)}}))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Display Elements","give"),initialOpen:!1},r.createElement(Ie,{options:[(0,o.__)("Donor info","give"),(0,o.__)("Wall attributes","give")],onClick:function(e){return N("toggleOptions",e)},selected:O}),"Donor info"===O?r.createElement(r.Fragment,null,r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showName",label:(0,o.__)("Show Name","give"),checked:!!h,onChange:function(e){return N("showName",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showName",label:(0,o.__)("Show Company Name","give"),checked:!!g,onChange:function(e){return N("showCompanyName",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showAnonymous",label:(0,o.__)("Show Anonymous","give"),checked:!!k,onChange:function(e){return N("showAnonymous",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showAvatar",label:(0,o.__)("Show Avatar","give"),checked:!!m,onChange:function(e){return N("showAvatar",e)}}),r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"avatarSize",label:(0,o.__)("Avatar Size","give"),help:(0,o.__)("Avatar size. Default height is 75. Accepts valid heights in px.","give"),value:d,onChange:function(e){return N("avatarSize",e)}})):r.createElement(r.Fragment,null,r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showForm",label:(0,o.__)("Show Donation Form","give"),checked:!!y,onChange:function(e){return N("showForm",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showTotal",label:(0,o.__)("Show Total","give"),checked:!!b,onChange:function(e){return N("showTotal",e)}}),!!window.Give_Tribute&&r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showTributes",label:(0,o.__)("Show Tributes","give"),checked:!!P,onChange:function(e){return N("showTributes",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"showComments",label:(0,o.__)("Show Comments","give"),checked:!!w,onChange:function(e){return N("showComments",e)}}),r.createElement(_.ToggleControl,{className:"give-donor-wall-inspector",name:"onlyComments",label:(0,o.__)("Only Comments","give"),checked:!!v,onChange:function(e){return N("onlyComments",e)}}),r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"commentLength",label:(0,o.__)("Comment Length","give"),help:(0,o.__)("Limits the amount of characters to be displayed on donations with comments.","give"),value:x,onChange:function(e){return N("commentLength",e)}}),r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"readMoreText",label:(0,o.__)("Read More Text","give"),value:E,onChange:function(e){return N("readMoreText",e)}})))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Wall Settings","give"),initialOpen:!1},r.createElement(_.SelectControl,{className:"give-donor-wall-inspector",label:(0,o.__)("Sort By","give"),name:"orderBy",value:c,options:Pe.orderBy,onChange:function(e){return N("orderBy",e)}}),r.createElement(_.SelectControl,{className:"give-donor-wall-inspector",label:(0,o.__)("Order","give"),name:"order",value:f,options:Pe.order,onChange:function(e){return N("order",e)}}),r.createElement(_.SelectControl,{className:"give-donor-wall-inspector",label:(0,o.__)("Filter","give"),name:"filter",value:C,options:Pe.filter,onChange:function(e){return N("filter",e)}}),"categories"===C?r.createElement(r.Fragment,null," ",r.createElement(_.FormTokenField,{className:"give-donor-wall-inspector",onChange:function(e){return N("categories",e)},value:D(u)}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the name of your category to add it to the list. Only forms within the categories you choose will be displayed in this grid.","give"))):"tags"===C?r.createElement(r.Fragment,null," ",r.createElement(_.FormTokenField,{className:"give-donor-wall-inspector",name:"tags",value:D(s),onChange:function(e){return N("tags",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the name of your tag to add it to the list. Only forms with these tags you choose will be displayed in this grid.","give"))):"ids"===C?r.createElement(r.Fragment,null," ",r.createElement(_.FormTokenField,{className:"give-donor-wall-inspector",name:"ids",value:D(a),onChange:function(e){return N("ids",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("By default, all donors will display. Use this setting to restrict the donor wall to only display certain donors. Use a comma-separated list of donor IDs.","give"))):"formID"===C?r.createElement(r.Fragment,null," ",r.createElement(_.FormTokenField,{className:"give-donor-wall-inspector",help:(0,o.__)("By Default, donations to all forms will display. Use this setting to restrict the donor to display only donations to certains forms. Use a comma-separated list of form IDs.","give"),name:"formID",value:D(l),onChange:function(e){return N("formID",e)}}),r.createElement("p",{className:"components-form-token-field__help"},(0,o.__)("Type the ID of your form to add it to the list. Only forms with these IDs you choose will be displayed in this grid.","give"))):void 0)),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Wall Interaction","give"),initialOpen:!0},r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"donorsPerPage",label:(0,o.__)("Donors Per Page","give"),value:i,onChange:function(e){return N("donorsPerPage",e)},help:(0,o.__)("How many donors should show up on the initial page load?","give")}),r.createElement(_.TextControl,{className:"give-donor-wall-inspector",name:"loadMoreText",label:(0,o.__)("Load More Text","give"),value:S,onChange:function(e){return N("loadMoreText",e)}}))),r.createElement(_.Panel,null,r.createElement(_.PanelBody,{title:(0,o.__)("Color","give"),initialOpen:!1},r.createElement(q.ColorPalette,{value:T,onChange:function(e){return n({color:e})}}))))};function Fe(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 Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Le=function(e){var t=e.attributes;return r.createElement(R.Fragment,null,r.createElement(je,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)),r.createElement(w(),{block:"give/donor-wall",attributes:t}))};(0,i.registerBlockType)("give/donor-wall",{title:(0,o.__)("Donor Wall","give"),description:(0,o.__)("The GiveWP Donor Wall block displays donations on the front end of the site. The settings below allow you to customize the information displayed","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give"),(0,o.__)("wall","give")],supports:{html:!1},attributes:Ce,edit:Le,save:function(){return null}});var ze=wp.blockEditor.InnerBlocks,Ve=wp.element.useEffect,Be=wp.data,Ue=Be.select,He=Be.dispatch;const We=function(e){var t=e.isSelected,n=e.clientId;Ve((function(){t&&i()}),[]);var i=function(){var e=Ue("core/editor").getBlocksByClientId(n)[0],t=e.innerBlocks[e.innerBlocks.length-1];He("core/block-editor").selectBlock(t.clientId)},a=[["core/media-text",{imageFill:!0},[["core/heading",{placeholder:(0,o.__)("Heading","give")}],["core/paragraph",{placeholder:(0,o.__)("Summary","give")}]]],["give/progress-bar",{}]];return r.createElement("div",{className:"give-multi-form-goal-block"},r.createElement(ze,{template:a,templateLock:"all"}))};var $e=wp.blockEditor.InnerBlocks;const Qe=function(){return r.createElement("div",{className:"give-multi-form-goal-block"},r.createElement($e.Content,null))};var Ge=n(87048),qe={insert:"head",singleton:!1};l()(Ge.Z,qe);Ge.Z.locals;(0,wp.blocks.registerBlockType)("give/multi-form-goal",{title:(0,o.__)("Multi-Form Goal","give"),description:(0,o.__)("The Multi-Form Goals block displays progress made across donation forms towards a common goal.","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give"),(0,o.__)("multi form goals","give")],supports:{align:["wide"]},edit:We,save:Qe});const Ke={ids:{type:"array",default:[]},categories:{type:"array",default:[]},tags:{type:"array",default:[]},goal:{type:"string",default:"1000"},enddate:{type:"string",default:""},color:{type:"string",default:"#66bb6a"}};function Ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(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 Xe(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Je(e,t){return Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Je(e,t)}function et(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&&Je(e,t)}function tt(e){return tt="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},tt(e)}function nt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rt(e,t){if(t&&("object"===tt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return nt(e)}function ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ot(e)}var it=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function at(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||it(r)&&it(o)))return!1;var r,o;return!0}const lt=function(e,t){var n;void 0===t&&(t=at);var r,o=[],i=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}};var ut=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(e){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}();const st=function(e){function t(e,r,u,s,p){for(var d,m,h,g,w,x=0,E=0,_=0,S=0,O=0,I=0,R=h=d=0,F=0,A=0,L=0,z=0,V=u.length,B=V-1,U="",H="",W="",$="";F<V;){if(m=u.charCodeAt(F),F===B&&0!==E+S+_+x&&(0!==E&&(m=47===E?10:47),S=_=x=0,V++,B++),0===E+S+_+x){if(F===B&&(0<A&&(U=U.replace(f,"")),0<U.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:U+=u.charAt(F)}m=59}switch(m){case 123:for(d=(U=U.trim()).charCodeAt(0),h=1,z=++F;F<V;){switch(m=u.charCodeAt(F)){case 123:h++;break;case 125:h--;break;case 47:switch(m=u.charCodeAt(F+1)){case 42:case 47:e:{for(R=F+1;R<B;++R)switch(u.charCodeAt(R)){case 47:if(42===m&&42===u.charCodeAt(R-1)&&F+2!==R){F=R+1;break e}break;case 10:if(47===m){F=R+1;break e}}F=R}}break;case 91:m++;case 40:m++;case 34:case 39:for(;F++<B&&u.charCodeAt(F)!==m;);}if(0===h)break;F++}if(h=u.substring(z,F),0===d&&(d=(U=U.replace(c,"").trim()).charCodeAt(0)),64===d){switch(0<A&&(U=U.replace(f,"")),m=U.charCodeAt(1)){case 100:case 109:case 115:case 45:A=r;break;default:A=D}if(z=(h=t(r,A,h,m,p+1)).length,0<M&&(w=l(3,h,A=n(D,U,L),r,T,C,z,m,p,s),U=A.join(""),void 0!==w&&0===(z=(h=w.trim()).length)&&(m=0,h="")),0<z)switch(m){case 115:U=U.replace(k,a);case 100:case 109:case 45:h=U+"{"+h+"}";break;case 107:h=(U=U.replace(v,"$1 $2"))+"{"+h+"}",h=1===N||2===N&&i("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=U+h,112===s&&(H+=h,h="")}else h=""}else h=t(r,n(r,U,L),h,s,p+1);W+=h,h=L=A=R=d=0,U="",m=u.charCodeAt(++F);break;case 125:case 59:if(1<(z=(U=(0<A?U.replace(f,""):U).trim()).length))switch(0===R&&(d=U.charCodeAt(0),45===d||96<d&&123>d)&&(z=(U=U.replace(" ",":")).length),0<M&&void 0!==(w=l(1,U,r,e,T,C,H.length,s,p,s))&&0===(z=(U=w.trim()).length)&&(U="\0\0"),d=U.charCodeAt(0),m=U.charCodeAt(1),d){case 0:break;case 64:if(105===m||99===m){$+=U+u.charAt(F);break}default:58!==U.charCodeAt(z-1)&&(H+=o(U,d,m,U.charCodeAt(2)))}L=A=R=d=0,U="",m=u.charCodeAt(++F)}}switch(m){case 13:case 10:47===E?E=0:0===1+d&&107!==s&&0<U.length&&(A=1,U+="\0"),0<M*j&&l(0,U,r,e,T,C,H.length,s,p,s),C=1,T++;break;case 59:case 125:if(0===E+S+_+x){C++;break}default:switch(C++,g=u.charAt(F),m){case 9:case 32:if(0===S+x+E)switch(O){case 44:case 58:case 9:case 32:g="";break;default:32!==m&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===S+E+x&&(A=L=1,g="\f"+g);break;case 108:if(0===S+E+x+P&&0<R)switch(F-R){case 2:112===O&&58===u.charCodeAt(F-3)&&(P=O);case 8:111===I&&(P=I)}break;case 58:0===S+E+x&&(R=F);break;case 44:0===E+_+S+x&&(A=1,g+="\r");break;case 34:case 39:0===E&&(S=S===m?0:0===S?m:S);break;case 91:0===S+E+_&&x++;break;case 93:0===S+E+_&&x--;break;case 41:0===S+E+x&&_--;break;case 40:if(0===S+E+x){if(0===d)if(2*O+3*I==533);else d=1;_++}break;case 64:0===E+_+S+x+R+h&&(h=1);break;case 42:case 47:if(!(0<S+x+_))switch(E){case 0:switch(2*m+3*u.charCodeAt(F+1)){case 235:E=47;break;case 220:z=F,E=42}break;case 42:47===m&&42===O&&z+2!==F&&(33===u.charCodeAt(z+2)&&(H+=u.substring(z,F+1)),g="",E=0)}}0===E&&(U+=g)}I=O,O=m,F++}if(0<(z=H.length)){if(A=r,0<M&&(void 0!==(w=l(2,H,A,e,T,C,z,s,p,s))&&0===(H=w).length))return $+H+W;if(H=A.join(",")+"{"+H+"}",0!=N*P){switch(2!==N||i(H,2)||(P=0),P){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}P=0}}return $+H+W}function n(e,t,n){var o=t.trim().split(h);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var l=0;for(e=0===a?"":e[0]+" ";l<i;++l)t[l]=r(e,t[l],n).trim();break;default:var u=l=0;for(t=[];l<i;++l)for(var s=0;s<a;++s)t[u++]=r(e[s]+" ",o[l],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+";",l=2*t+3*n+4*r;if(944===l){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===N||2===N&&i(u,1)?"-webkit-"+u+u:u}if(0===N||2===N&&!i(a,1))return a;switch(l){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(O,"$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"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return d.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(w,"tb");break;case 232:u=a.replace(w,"tb-rl");break;case 220:u=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<l?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+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===S.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.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(m,"$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),R(2!==t?r:r.replace(_,"$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 l(e,t,n,r,o,i,a,l,u,c){for(var f,p=0,d=t;p<M;++p)switch(f=I[p].call(s,e,d,n,r,o,i,a,l,u,c)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==t)return d}function u(e){return void 0!==(e=e.prefix)&&(R=null,e?"function"!=typeof e?N=1:(N=2,R=e):N=0),u}function s(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<M){var o=l(-1,n,r,r,T,C,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(D,r,n,0,0);return 0<M&&(void 0!==(o=l(-2,i,r,r,T,C,i.length,0,0,0))&&(i=o)),"",P=0,C=T=1,i}var c=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,m=/([,: ])(transform)/g,h=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,E=/-self|flex-/g,_=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,C=1,T=1,P=0,N=1,D=[],I=[],M=0,R=null,j=0;return s.use=function e(t){switch(t){case void 0:case null:M=I.length=0;break;default:if("function"==typeof t)I[M++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else j=0|!!t}return e},s.set=u,void 0!==e&&u(e),s};var ct="/*|*/";function ft(e){e&&pt.current.insert(e+"}")}var pt={current:null},dt=function(e,t,n,r,o,i,a,l,u,s){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return pt.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+ct;break;case 3:switch(l){case 102:case 112:return pt.current.insert(n[0]+t),"";default:return t+(0===s?ct:"")}case-2:t.split("/*|*/}").forEach(ft)}};const mt=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new st(t);var o,i={};o=e.container||document.head;var a,l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){i[e]=!0})),e.parentNode!==o&&o.appendChild(e)})),r.use(e.stylisPlugins)(dt),a=function(e,t,n,o){var i=t.name;pt.current=n,r(e,t.styles),o&&(u.inserted[i]=!0)};var u={key:n,sheet:new ut({key:n,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:a};return u};function ht(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var gt=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)}};const vt=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)};const yt={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};var bt=/[A-Z]|^ms/g,wt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kt=function(e){return 45===e.charCodeAt(1)},xt=function(e){return null!=e&&"boolean"!=typeof e},Et=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return kt(e)?e:e.replace(bt,"-$&").toLowerCase()})),_t=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(wt,(function(e,t,n){return Ot={name:t,styles:n,next:Ot},t}))}return 1===yt[e]||kt(e)||"number"!=typeof t||0===t?t:t+"px"};function St(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 Ot={name:n.name,styles:n.styles,next:Ot},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)Ot={name:o.name,styles:o.styles,next:Ot},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+=St(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]+"}":xt(a)&&(r+=Et(i)+":"+_t(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=St(e,t,a,!1);switch(i){case"animation":case"animationName":r+=Et(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)xt(a[u])&&(r+=Et(i)+":"+_t(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=Ot,a=n(e);return Ot=i,St(e,t,a,r)}}if(null==t)return n;var l=t[n];return void 0===l||r?n:l}var Ot,Ct=/label:\s*([^\s;\n{]+)\s*;/g;var Tt=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ot=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=St(n,t,i,!1)):o+=i[0];for(var a=1;a<e.length;a++)o+=St(n,t,e[a],46===o.charCodeAt(o.length-1)),r&&(o+=i[a]);Ct.lastIndex=0;for(var l,u="";null!==(l=Ct.exec(o));)u+="-"+l[1];return{name:vt(o)+u,styles:o,next:Ot}},Pt=Object.prototype.hasOwnProperty,Nt=(0,r.createContext)("undefined"!=typeof HTMLElement?mt():null),Dt=(0,r.createContext)({}),It=Nt.Provider,Mt=function(e){var t=function(t,n){return(0,r.createElement)(Nt.Consumer,null,(function(r){return e(t,r,n)}))};return(0,r.forwardRef)(t)},Rt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",jt=function(e,t){var n={};for(var r in t)Pt.call(t,r)&&(n[r]=t[r]);return n[Rt]=e,n},Ft=function(e,t,n,o){var i=null===n?t.css:t.css(n);"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var a=t[Rt],l=[i],u="";"string"==typeof t.className?u=ht(e.registered,l,t.className):null!=t.className&&(u=t.className+" ");var s=Tt(l);gt(e,s,"string"==typeof a);u+=e.key+"-"+s.name;var c={};for(var f in t)Pt.call(t,f)&&"css"!==f&&f!==Rt&&(c[f]=t[f]);return c.ref=o,c.className=u,(0,r.createElement)(a,c)},At=Mt((function(e,t,n){return"function"==typeof e.css?(0,r.createElement)(Dt.Consumer,null,(function(r){return Ft(t,e,r,n)})):Ft(t,e,null,n)}));const Lt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tt(t)};var zt=function(e,t){var n=arguments;if(null==t||!Pt.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=At,i[1]=jt(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)},Vt=(r.Component,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 l in a="",i)i[l]&&l&&(a&&(a+=" "),a+=l);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o});function Bt(e,t,n){var r=[],o=ht(e,r,n);return r.length<2?n:o+t(r)}var Ut=Mt((function(e,t){return(0,r.createElement)(Dt.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Tt(n,t.registered);return gt(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return Bt(t.registered,r,Vt(n))},theme:n},i=e.children(o);return!0,i}))})),Ht=n(73935);function Wt(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 $t(){return $t=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},$t.apply(this,arguments)}function Qt(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}function Gt(e,t){if(e){if("string"==typeof e)return Qt(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)?Qt(e,t):void 0}}function qt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||Gt(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 Kt(e){return function(e){if(Array.isArray(e))return Qt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Gt(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 Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zt=n(35639),Xt=function(){};function Jt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function en(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(Jt(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var tn=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===tt(e)&&null!==e?[e]:[]};function nn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function rn(e){return nn(e)?window.pageYOffset:e.scrollTop}function on(e,t){nn(e)?window.scrollTo(0,t):e.scrollTop=t}function an(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function ln(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Xt,o=rn(e),i=t-o,a=10,l=0;function u(){var t=an(l+=a,o,i,n);on(e,t),l<n?window.requestAnimationFrame(u):r(e)}u()}function un(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function sn(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 cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sn(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fn(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}function pn(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,l=e.theme.spacing,u=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),s={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return s;var c=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,d=f.height,m=f.top,h=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,v=rn(u),y=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),w=h-b,k=g-m,x=w+v,E=c-v-m,_=p-g+v+y,S=v+m-b,O=160;switch(o){case"auto":case"bottom":if(k>=d)return{placement:"bottom",maxHeight:t};if(E>=d&&!a)return i&&ln(u,_,O),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&k>=r)return i&&ln(u,_,O),{placement:"bottom",maxHeight:a?k-y:E-y};if("auto"===o||a){var C=t,T=a?w:x;return T>=r&&(C=Math.min(T-y-l.controlHeight,t)),{placement:"top",maxHeight:C}}if("bottom"===o)return on(u,_),{placement:"bottom",maxHeight:t};break;case"top":if(w>=d)return{placement:"top",maxHeight:t};if(x>=d&&!a)return i&&ln(u,S,O),{placement:"top",maxHeight:t};if(!a&&x>=r||a&&w>=r){var P=t;return(!a&&x>=r||a&&w>=r)&&(P=a?w-b:x-b),i&&ln(u,S,O),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return s}var dn=function(e){return"auto"===e?"bottom":e},mn=(0,r.createContext)({getPortalPlacement:null}),hn=function(e){et(n,e);var t=fn(n);function n(){var e;Ye(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,l=n.menuShouldScrollIntoView,u=n.theme;if(t){var s="fixed"===a,c=pn({maxHeight:o,menuEl:t,minHeight:r,placement:i,shouldScroll:l&&!s,isFixedPosition:s,theme:u}),f=e.context.getPortalPlacement;f&&f(c),e.setState(c)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||dn(t);return cn(cn({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return Xe(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(r.Component);hn.contextType=mn;var gn=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"}},vn=gn,yn=gn,bn=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};bn.defaultProps={children:"No options"};var wn=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};wn.defaultProps={children:"Loading..."};var kn=function(e){et(n,e);var t=fn(n);function n(){var e;Ye(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!==dn(e.props.menuPlacement)&&e.setState({placement:n})},e}return Xe(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,l="fixed"===i;if(!t&&!l||!r)return null;var u=this.state.placement||dn(o),s=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),c=l?0:window.pageYOffset,f=s[u]+c,p=zt("div",{css:a("menuPortal",{offset:f,position:i,rect:s})},n);return zt(mn.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,Ht.createPortal)(p,t):p)}}]),n}(r.Component),xn=Array.isArray,En=Object.keys,_n=Object.prototype.hasOwnProperty;function Sn(e,t){if(e===t)return!0;if(e&&t&&"object"==tt(e)&&"object"==tt(t)){var n,r,o,i=xn(e),a=xn(t);if(i&&a){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!Sn(e[n],t[n]))return!1;return!0}if(i!=a)return!1;var l=e instanceof Date,u=t instanceof Date;if(l!=u)return!1;if(l&&u)return e.getTime()==t.getTime();var s=e instanceof RegExp,c=t instanceof RegExp;if(s!=c)return!1;if(s&&c)return e.toString()==t.toString();var f=En(e);if((r=f.length)!==En(t).length)return!1;for(n=r;0!=n--;)if(!_n.call(t,f[n]))return!1;for(n=r;0!=n--;)if(!("_owner"===(o=f[n])&&e.$$typeof||Sn(e[o],t[o])))return!1;return!0}return e!=e&&t!=t}function On(e,t){try{return Sn(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function Cn(){var e,t,n=(e=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Cn=function(){return n},n}var Tn={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},Pn=function(e){var t=e.size,n=Wt(e,["size"]);return zt("svg",$t({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Tn},n))},Nn=function(e){return zt(Pn,$t({size:20},e),zt("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"}))},Dn=function(e){return zt(Pn,$t({size:20},e),zt("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"}))},In=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}}},Mn=In,Rn=In,jn=function(){var e=Lt.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_"}}}(Cn()),Fn=function(e){var t=e.delay,n=e.offset;return zt("span",{css:Lt({animation:"".concat(jn," 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"},"")})},An=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,i=e.isRtl;return zt("div",$t({},o,{css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),zt(Fn,{delay:0,offset:i}),zt(Fn,{delay:160,offset:!0}),zt(Fn,{delay:320,offset:!i}))};An.defaultProps={size:4};function Ln(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 zn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vn(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 Bn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Un=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function Hn(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 Wn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $n=function(e){var t=e.children,n=e.innerProps;return zt("div",n,t)},Qn=$n,Gn=$n;var qn=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,i=e.data,a=e.getStyles,l=e.innerProps,u=e.isDisabled,s=e.removeProps,c=e.selectProps,f=r.Container,p=r.Label,d=r.Remove;return zt(Ut,null,(function(r){var m=r.css,h=r.cx;return zt(f,{data:i,innerProps:Wn(Wn({},l),{},{className:h(m(a("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":u},n))}),selectProps:c},zt(p,{data:i,innerProps:{className:h(m(a("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:c},t),zt(d,{data:i,innerProps:Wn({className:h(m(a("multiValueRemove",e)),o({"multi-value__remove":!0},n))},s),selectProps:c}))}))};qn.defaultProps={cropWithEllipsis:!0};function Kn(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 Yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kn(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}for(var Zn={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({},i,{css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)}),t||zt(Nn,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,i=e.isDisabled,a=e.isFocused,l=e.innerRef,u=e.innerProps,s=e.menuIsOpen;return zt("div",$t({ref:l,css:r("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":a,"control--menu-is-open":s},o)},u),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({},i,{css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)}),t||zt(Dn,null))},DownChevron:Dn,CrossIcon:Nn,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.Heading,a=e.headingProps,l=e.label,u=e.theme,s=e.selectProps;return zt("div",{css:o("group",e),className:r({group:!0},n)},zt(i,$t({},a,{selectProps:s,theme:u,getStyles:o,cx:r}),l),zt("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.theme,i=(e.selectProps,Wt(e,["className","cx","getStyles","theme","selectProps"]));return zt("div",$t({css:r("groupHeading",zn({theme:o},i)),className:n({"group-heading":!0},t)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return zt("div",{css:o("indicatorsContainer",e),className:r({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return zt("span",$t({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerRef,i=e.isHidden,a=e.isDisabled,l=e.theme,u=(e.selectProps,Wt(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return zt("div",{css:r("input",Bn({theme:l},u))},zt(Zt.Z,$t({className:n({input:!0},t),inputRef:o,inputStyle:Un(i),disabled:a},u)))},LoadingIndicator:An,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerRef,a=e.innerProps;return zt("div",$t({css:o("menu",e),className:r({menu:!0},n)},a,{ref:i}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isMulti,a=e.innerRef,l=e.innerProps;return zt("div",$t({css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":i},n),ref:a},l),t)},MenuPortal:kn,LoadingMessage:wn,NoOptionsMessage:bn,MultiValue:qn,MultiValueContainer:Qn,MultiValueLabel:Gn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return zt("div",n,t||zt(Nn,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.isFocused,l=e.isSelected,u=e.innerRef,s=e.innerProps;return zt("div",$t({css:o("option",e),className:r({option:!0,"option--is-disabled":i,"option--is-focused":a,"option--is-selected":l},n),ref:u},s),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return zt("div",$t({css:o("placeholder",e),className:r({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps,a=e.isDisabled,l=e.isRtl;return zt("div",$t({css:o("container",e),className:r({"--is-disabled":a,"--is-rtl":l},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.innerProps;return zt("div",$t({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":i},n)},a),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,i=e.getStyles,a=e.hasValue;return zt("div",{css:i("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a},n)},t)}},Xn=function(e){return Yn(Yn({},Zn),e.components)},Jn=[{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źẑżžẓẕƶȥɀⱬꝣ"}],er=new RegExp("["+Jn.map((function(e){return e.letters})).join("")+"]","g"),tr={},nr=0;nr<Jn.length;nr++)for(var rr=Jn[nr],or=0;or<rr.letters.length;or++)tr[rr.letters[or]]=rr.base;var ir=function(e){return e.replace(er,(function(e){return tr[e]}))};function ar(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 lr=function(e){return e.replace(/^\s+|\s+$/g,"")},ur=function(e){return"".concat(e.label," ").concat(e.value)};var sr={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;"},cr=function(e){return zt("span",$t({css:sr},e))};function fr(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,Wt(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return zt("input",$t({ref:t},n,{css:Lt({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 pr(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var dr=function(e){et(n,e);var t=pr(n);function n(){return Ye(this,n),t.apply(this,arguments)}return Xe(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,Ht.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(r.Component),mr=["boxSizing","height","overflow","paddingRight","position"],hr={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function gr(e){e.preventDefault()}function vr(e){e.stopPropagation()}function yr(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function br(){return"ontouchstart"in window||navigator.maxTouchPoints}function wr(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var kr=!(!window.document||!window.document.createElement),xr=0,Er=function(e){et(n,e);var t=wr(n);function n(){var e;Ye(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 Xe(n,[{key:"componentDidMount",value:function(){var e=this;if(kr){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;if(n&&mr.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&xr<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,u=window.innerWidth-l+a||0;Object.keys(hr).forEach((function(e){var t=hr[e];i&&(i[e]=t)})),i&&(i.paddingRight="".concat(u,"px"))}o&&br()&&(o.addEventListener("touchmove",gr,this.listenerOptions),r&&(r.addEventListener("touchstart",yr,this.listenerOptions),r.addEventListener("touchmove",vr,this.listenerOptions))),xr+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(kr){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;xr=Math.max(xr-1,0),n&&xr<1&&mr.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),o&&br()&&(o.removeEventListener("touchmove",gr,this.listenerOptions),r&&(r.removeEventListener("touchstart",yr,this.listenerOptions),r.removeEventListener("touchmove",vr,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),n}(r.Component);function _r(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}Er.defaultProps={accountForScrollbars:!0};var Sr={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},Or=function(e){et(n,e);var t=_r(n);function n(){var e;Ye(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 Xe(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?zt("div",null,zt("div",{onClick:this.blurSelectInput,css:Sr}),zt(dr,{innerRef:this.getScrollTarget},t),r?zt(Er,{touchScrollTarget:r}):null):t}}]),n}(r.PureComponent);function Cr(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var Tr=function(e){et(n,e);var t=Cr(n);function n(){var e;Ye(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,l=r.onTopLeave,u=e.scrollTarget,s=u.scrollTop,c=u.scrollHeight,f=u.clientHeight,p=e.scrollTarget,d=n>0,m=c-f-s,h=!1;m>n&&e.isBottom&&(i&&i(t),e.isBottom=!1),d&&e.isTop&&(l&&l(t),e.isTop=!1),d&&n>m?(o&&!e.isBottom&&o(t),p.scrollTop=c,h=!0,e.isBottom=!0):!d&&-n>s&&(a&&!e.isTop&&a(t),p.scrollTop=0,h=!0,e.isTop=!0),h&&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 Xe(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 r.createElement(dr,{innerRef:this.getScrollTarget},this.props.children)}}]),n}(r.Component);function Pr(e){var t=e.isEnabled,n=void 0===t||t,o=Wt(e,["isEnabled"]);return n?r.createElement(Tr,o):o.children}var Nr=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"}},Dr=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.")}},Ir=function(e){return!!e.isDisabled};var Mr={clearIndicator:Rn,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control: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}}},dropdownIndicator:Mn,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading: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"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator: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}},input: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}},loadingIndicator: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"}},loadingMessage:yn,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return Yt(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),Yt(t,"backgroundColor",a.neutral0),Yt(t,"borderRadius",o),Yt(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Yt(t,"marginBottom",i.menuGutter),Yt(t,"marginTop",i.menuGutter),Yt(t,"position","absolute"),Yt(t,"width","100%"),Yt(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal: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}},multiValue: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}},multiValueLabel: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"}},multiValueRemove: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}}},noOptionsMessage:vn,option: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)}}},placeholder: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%)"}},singleValue: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%)"}},valueContainer: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"}}};var Rr={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 jr(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 Fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jr(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ar(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var Lr,zr={backspaceRemovesValue:!0,blurInputOnSelect:un(),captureMenuScroll:!un(),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?ar(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ignoreCase:!0,ignoreAccents:!0,stringify:ur,trim:!0,matchFrom:"any"},Lr),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,l=n.matchFrom,u=a?lr(t):t,s=a?lr(i(e)):i(e);return r&&(u=u.toLowerCase(),s=s.toLowerCase()),o&&(u=ir(u),s=ir(s)),"start"===l?s.substr(0,u.length)===u:s.indexOf(u)>-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:Ir,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},Vr=1,Br=function(e){et(n,e);var t=Ar(n);function n(e){var r;Ye(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=Xn({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,Fr(Fr({},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 a=r.getOptionValue(e);r.setValue(i.filter((function(e){return r.getOptionValue(e)!==a})),"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(Kt(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 en.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=Mr[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:Dr(t,n)})},r.announceAriaLiveContext=function(e){var t=e.event,n=e.context;r.setState({ariaLiveContext:Nr(t,Fr(Fr({},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&&nn(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,l=t.isClearable,u=t.isDisabled,s=t.menuIsOpen,c=t.onKeyDown,f=t.tabSelectsValue,p=t.openMenuOnFocus,d=r.state,m=d.focusedOption,h=d.focusedValue,g=d.selectValue;if(!(u||"function"==typeof c&&(c(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(h)r.removeValue(h);else{if(!o)return;n?r.popValue():l&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!s||!f||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(s){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":s?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):l&&i&&r.clearValue();break;case" ":if(a)return;if(!s){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":s?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":s?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!s)return;r.focusOption("pageup");break;case"PageDown":if(!s)return;r.focusOption("pagedown");break;case"Home":if(!s)return;r.focusOption("first");break;case"End":if(!s)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),l=r.getOptionLabel(e),u=r.getOptionValue(e);if(!(r.shouldHideSelectedOptions()&&a||!r.filterOption({label:l,value:u,data:e},o))){var s=i?void 0:function(){return r.onOptionHover(e)},c=i?void 0:function(){return r.selectOption(e)},f="".concat(r.getElementId("option"),"-").concat(n);return{innerProps:{id:f,onClick:c,onMouseMove:s,onMouseOver:s,tabIndex:-1},data:e,isDisabled:i,isSelected:a,key:f,label:l,type:"option",value:u}}};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 l=a(t,"".concat(n));l&&(e.render.push(l),e.focusable.push(t))}return e}),{render:[],focusable:[]})};var o=e.value;r.cacheComponents=lt(r.cacheComponents,On).bind(nt(r)),r.cacheComponents(e.components),r.instancePrefix="react-select-"+(r.props.instanceId||++Vr);var i=tn(o);r.buildMenuOptions=lt(r.buildMenuOptions,(function(e,t){var n=qt(e,2),r=n[0],o=n[1],i=qt(t,2),a=i[0];return o===i[1]&&r.inputValue===a.inputValue&&r.options===a.options})).bind(nt(r));var a=e.menuIsOpen?r.buildMenuOptions(e,i):{render:[],focusable:[]};return r.state.menuOptions=a,r.state.selectValue=i,r}return Xe(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=tn(e.value),l=e.menuIsOpen?this.buildMenuOptions(e,a):{render:[],focusable:[]},u=this.getNextFocusedValue(a),s=this.getNextFocusedOption(l.focusable);this.setState({menuOptions:l,selectValue:a,focusedOption:s,focusedValue:u})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,i,a=this.props,l=a.isDisabled,u=a.menuIsOpen,s=this.state.isFocused;(s&&!l&&e.isDisabled||s&&u&&!e.menuIsOpen)&&this.focusInput(),s&&l&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),i=n.offsetHeight/3,o.bottom+i>r.bottom?on(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+i,t.scrollHeight)):o.top-i<r.top&&on(t,Math.max(n.offsetTop-i,0)),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,l=a.isMulti,u=a.tabSelectsValue,s="first"===e?0:i.focusable.length-1;if(!l){var c=i.focusable.indexOf(r[0]);c>-1&&(s=c)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:i,focusedValue:null,focusedOption:i.focusable[s]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})}))}},{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 l=i.indexOf(a);a||(l=-1,this.announceAriaLiveContext({event:"value"}));var u=i.length-1,s=-1;if(i.length){switch(e){case"previous":s=0===l?0:-1===l?u:l-1;break;case"next":l>-1&&l<u&&(s=l+1)}-1===s&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==s,focusedValue:i[s]})}}}},{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,l=a.focusable;if(l.length){var u=0,s=l.indexOf(i);i||(s=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:r}})),"up"===e?u=s>0?s-1:l.length-1:"down"===e?u=(s+1)%l.length:"pageup"===e?(u=s-n)<0&&(u=0):"pagedown"===e?(u=s+n)>l.length-1&&(u=l.length-1):"last"===e&&(u=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[u],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Ir(l[u]),tabSelectsValue:r}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Rr):Fr(Fr({},Rr),this.props.theme):Rr}},{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,l=a.isMulti,u=a.isRtl,s=a.options;return{cx:t,clearValue:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:s,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,l=i.menuIsOpen,u=i.inputValue,s=i.screenReaderStatus,c=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}):"",f=o&&l?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}):"",p=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:u,screenReaderMessage:s({count:this.countOptions()})});return"".concat(c," ").concat(f," ").concat(p," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,a=e.tabIndex,l=e.form,u=this.components.Input,s=this.state.inputIsHidden,c=o||this.getElementId("input"),f={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return r.createElement(fr,$t({id:c,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Xt,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:a,form:l,value:""},f));var p=this.commonProps,d=p.cx,m=p.theme,h=p.selectProps;return r.createElement(u,$t({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:d,getStyles:this.getStyles,id:c,innerRef:this.getInputRef,isDisabled:t,isHidden:s,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:h,spellCheck:"false",tabIndex:a,form:l,theme:m,type:"text",value:i},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,l=t.SingleValue,u=t.Placeholder,s=this.commonProps,c=this.props,f=c.controlShouldRenderValue,p=c.isDisabled,d=c.isMulti,m=c.inputValue,h=c.placeholder,g=this.state,v=g.selectValue,y=g.focusedValue,b=g.isFocused;if(!this.hasValue()||!f)return m?null:r.createElement(u,$t({},s,{key:"placeholder",isDisabled:p,isFocused:b}),h);if(d){var w=v.map((function(t,l){var u=t===y;return r.createElement(n,$t({},s,{components:{Container:o,Label:i,Remove:a},isFocused:u,isDisabled:p,key:"".concat(e.getOptionValue(t)).concat(l),index:l,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"))}));return w}if(m)return null;var k=v[0];return r.createElement(l,$t({},s,{data:k,isDisabled:p}),this.formatOptionLabel(k,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,$t({},t,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return r.createElement(e,$t({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,$t({},o,{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,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,$t({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,n=t.Group,o=t.GroupHeading,i=t.Menu,a=t.MenuList,l=t.MenuPortal,u=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,f=this.commonProps,p=this.state,d=p.focusedOption,m=p.menuOptions,h=this.props,g=h.captureMenuScroll,v=h.inputValue,y=h.isLoading,b=h.loadingMessage,w=h.minMenuHeight,k=h.maxMenuHeight,x=h.menuIsOpen,E=h.menuPlacement,_=h.menuPosition,S=h.menuPortalTarget,O=h.menuShouldBlockScroll,C=h.menuShouldScrollIntoView,T=h.noOptionsMessage,P=h.onMenuScrollToTop,N=h.onMenuScrollToBottom;if(!x)return null;var D,I=function(t){var n=d===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,r.createElement(c,$t({},f,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())D=m.render.map((function(t){if("group"===t.type){t.type;var i=Wt(t,["type"]),a="".concat(t.key,"-heading");return r.createElement(n,$t({},f,i,{Heading:o,headingProps:{id:a,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return I(e)})))}if("option"===t.type)return I(t)}));else if(y){var M=b({inputValue:v});if(null===M)return null;D=r.createElement(u,f,M)}else{var R=T({inputValue:v});if(null===R)return null;D=r.createElement(s,f,R)}var j={minMenuHeight:w,maxMenuHeight:k,menuPlacement:E,menuPosition:_,menuShouldScrollIntoView:C},F=r.createElement(hn,$t({},f,j),(function(t){var n=t.ref,o=t.placerProps,l=o.placement,u=o.maxHeight;return r.createElement(i,$t({},f,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:y,placement:l}),r.createElement(Pr,{isEnabled:g,onTopArrive:P,onBottomArrive:N},r.createElement(Or,{isEnabled:O},r.createElement(a,$t({},f,{innerRef:e.getMenuListRef,isLoading:y,maxHeight:u}),D))))}));return S||"fixed"===_?r.createElement(l,$t({},f,{appendTo:S,controlElement:this.controlRef,menuPlacement:E,menuPosition:_}),F):F}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,a=t.name,l=this.state.selectValue;if(a&&!o){if(i){if(n){var u=l.map((function(t){return e.getOptionValue(t)})).join(n);return r.createElement("input",{name:a,type:"hidden",value:u})}var s=l.length>0?l.map((function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):r.createElement("input",{name:a,type:"hidden"});return r.createElement("div",null,s)}var c=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?r.createElement(cr,{"aria-live":"polite"},r.createElement("span",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),r.createElement("span",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,l=a.className,u=a.id,s=a.isDisabled,c=a.menuIsOpen,f=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(o,$t({},p,{className:l,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:f}),this.renderLiveRegion(),r.createElement(t,$t({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:f,menuIsOpen:c}),r.createElement(i,$t({},p,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,$t({},p,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),n}(r.Component);function Ur(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}Br.defaultProps=zr;var Hr={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};function Wr(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}r.Component;var $r,Qr,Gr,qr=($r=Br,Gr=Qr=function(e){et(n,e);var t=Ur(n);function n(){var e;Ye(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))).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 Xe(n,[{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 e=this,t=this.props,n=(t.defaultInputValue,t.defaultMenuIsOpen,t.defaultValue,Wt(t,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return r.createElement($r,$t({},n,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(r.Component),Qr.defaultProps=Hr,Gr);const Kr=qr;var Yr=n(61210),Zr={insert:"head",singleton:!1};l()(Yr.Z,Zr);Yr.Z.locals;function Xr(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 Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach((function(t){eo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var to=wp.compose.useInstanceId,no=wp.components.BaseControl,ro=function e(t){var n=t.name,o=t.label,i=t.help,a=t.className,l=t.value,u=t.placeholder,s=t.hideLabelFromVision,c=t.isLoading,f=t.isDisabled,p=t.onChange,d=t.options,m=to(e),h="give-multi-select-control-".concat(n,"-").concat(m);return d&&d.length<1?null:r.createElement(no,{label:o,hideLabelFromVision:s,id:h,help:i,className:a},r.createElement(Kr,{isLoading:c,inputId:h,value:l,onChange:function(e){return p(e)},options:d,maxMenuHeight:"200px",isDisabled:f,placeholder:u,isMulti:!0,theme:function(e){return Jr(Jr({},e),{},{colors:Jr(Jr({},e.colors),{},{primary:"#007cba",primary75:"#31a6e0",primary50:"#5dbae8",primary25:"#9edaf7"})})}}))};ro.propTypes={label:f().string,value:f().any.isRequired,onChange:f().func,options:f().array.isRequired,name:f().string.isRequired,help:f().string,className:f().string,hideLabelFromVision:f().bool,isLoading:f().bool,isDisabled:f().bool,placeholder:f().string},ro.defaultProps={label:null,value:null,onChange:null,placeholder:"".concat((0,o.__)("Select","give"),"..."),options:null};const oo=ro;var io=wp.compose.useInstanceId,ao=wp.components,lo=ao.BaseControl,uo=ao.ColorPalette,so=function e(t){var n=t.name,o=t.label,i=t.help,a=t.className,l=t.value,u=t.hideLabelFromVision,s=t.onChange,c=t.colors,f=io(e),p="give-color-control-".concat(n,"-").concat(f);return r.createElement(lo,{label:o,hideLabelFromVision:u,id:p,help:i,className:a},r.createElement(uo,{value:l,colors:c,onChange:function(e){return s(e)},clearable:!0}))};so.propTypes={label:f().string,value:f().any.isRequired,onChange:f().func,name:f().string.isRequired,help:f().string,className:f().string,hideLabelFromVision:f().bool},so.defaultProps={onChange:null,options:null};const co=so;var fo=wp.compose.useInstanceId,po=wp.components,mo=po.DateTimePicker,ho=po.BaseControl,go=po.Button,vo=po.Dropdown,yo=wp.date,bo=yo.__experimentalGetSettings,wo=yo.date,ko=function e(t){var n=t.name,i=t.label,a=t.help,l=t.className,u=t.value,s=t.onChange,c=fo(e),f="give-date-time-control-".concat(n,"-").concat(c),p=bo(),d=/a(?!\\)/i.test(p.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return r.createElement(ho,{label:i,hideLabelFromVision:!0,id:f,help:a,className:l},r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},r.createElement("span",null,i),r.createElement(vo,{position:"bottom right",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return r.createElement(go,{isSecondary:!0,onClick:n,"aria-expanded":t},""!==u?wo("F j, Y",u):(0,o.__)("Set date","give"))},renderContent:function(){return r.createElement(mo,{currentDate:u,onChange:function(e){return s(e)},is12Hour:d})}})))};ko.propTypes={label:f().string,value:f().any.isRequired,onChange:f().func,name:f().string.isRequired,help:f().string,className:f().string},ko.defaultProps={onChange:null};const xo=ko;var Eo=wp.data.useSelect;var _o=wp.blockEditor.InspectorControls,So=wp.components,Oo=So.PanelBody,Co=So.TextControl,To=giveProgressBarThemeSupport.editorColorPalette;const Po=function(e){var t=e.attributes,n=e.setAttributes,i=t.ids,a=t.categories,l=t.tags,u=t.goal,s=t.enddate,c=t.color,f=Eo((function(e){var t=e("core").getEntityRecords("postType","give_forms");return t?t.map((function(e){return{label:e.title.rendered?e.title.rendered:(0,o.__)("(no title)"),value:e.id}})):[]}),[]),p=Eo((function(e){var t=e("core").getEntityRecords("taxonomy","give_forms_tag",{per_page:100});return t?t.map((function(e){return{label:e.name?e.name:(0,o.__)("(no title)"),value:e.id}})):[]}),[]),d=Eo((function(e){var t=e("core").getEntityRecords("taxonomy","give_forms_category",{per_page:100});return t?t.map((function(e){return{label:e.name?e.name:(0,o.__)("(no title)"),value:e.id}})):[]}),[]),m=function(e,t){n(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))};return r.createElement(_o,{key:"inspector"},r.createElement(Oo,{title:(0,o.__)("Goal","give"),initialOpen:!0},r.createElement(Co,{name:"goal",label:(0,o.__)("Goal amount","give"),type:"number",onChange:function(e){return m("goal",e)},value:u}),r.createElement(xo,{name:"enddate",label:(0,o.__)("Goal end date","give"),value:s,onChange:function(e){return m("enddate",e)}}),r.createElement(co,{colors:To,name:"color",label:(0,o.__)("Progress bar color","give"),onChange:function(e){return m("color",e)},value:c})),r.createElement(Oo,{title:(0,o.__)("Filters","give"),initialOpen:!1},r.createElement(oo,{name:"ids",label:(0,o.__)("Filter by forms","give"),value:f.filter((function(e){return i.includes(e.value)})),placeholder:"".concat((0,o.__)("All forms","give"),"..."),options:f,onChange:function(e){return m("ids",e?e.map((function(e){return e.value})):[])}}),r.createElement(oo,{name:"categories",label:(0,o.__)("Filter by categories","give"),value:d.filter((function(e){return a.includes(e.value)})),placeholder:"".concat((0,o.__)("All categories","give"),"..."),options:d,onChange:function(e){return m("categories",e?e.map((function(e){return e.value})):[])}}),r.createElement(oo,{name:"tags",label:(0,o.__)("Filter by tags","give"),value:p.filter((function(e){return l.includes(e.value)})),placeholder:"".concat((0,o.__)("All tags","give"),"..."),options:p,onChange:function(e){return m("tags",e?e.map((function(e){return e.value})):[])}})))},No=window.lodash;function Do(e){return Do="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},Do(e)}function Io(){return Io=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},Io.apply(this,arguments)}function Mo(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 Ro(e,t){return Ro=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ro(e,t)}function jo(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=Ao(e);if(t){var o=Ao(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Fo(this,n)}}function Fo(e,t){if(t&&("object"===Do(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ao(e)}function Lo(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 zo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lo(Object(n),!0).forEach((function(t){Vo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bo=wp.element,Uo=Bo.Component,Ho=Bo.RawHTML,Wo=Bo.Fragment,$o=wp.apiFetch,Qo=wp.url.addQueryArgs,Go=wp.components.Placeholder;var qo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ro(e,t)}(a,e);var t,n,o,i=jo(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={response:null,prevResponse:null},t}return t=a,n=[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=(0,No.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){(0,No.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState((function(e){return{response:null,prevResponse:e.response}}));var n=e.block,r=e.attributes,o=void 0===r?null:r,i=e.urlQueryArgs,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Qo("/wp/v2/block-renderer/".concat(e),zo(zo({context:"edit"},null!==t?{attributes:t}:{}),n))}(n,o,void 0===i?{}:i),l=this.currentFetchRequest=$o({path:a}).then((function(e){t.isStillMounted&&l===t.currentFetchRequest&&e&&t.setState({response:e.rendered})})).catch((function(e){t.isStillMounted&&l===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})}));return l}}},{key:"render",value:function(){var e=this.props.spinnerLocation,t=e.right,n=e.top,o=e.unit,i=this.state.response,a=this.state.prevResponse,l="";null!==a&&(l='<div style="position:relative;"><div style="position:absolute;right:'.concat(t).concat(o,";top:").concat(n).concat(o,';z-index:1"><span class="components-spinner"></span></div>').concat(a,"</div>"));var u=this.props,s=u.className,c=u.EmptyResponsePlaceholder,f=u.ErrorResponsePlaceholder;return""===i?r.createElement(c,Io({response:i},this.props)):i?i.error?r.createElement(f,Io({response:i},this.props)):r.createElement(Ho,{key:"html",className:s},i):r.createElement(Wo,null,r.createElement(Ho,{key:"html",className:s},l))}}],n&&Mo(t.prototype,n),o&&Mo(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(Uo);qo.defaultProps={EmptyResponsePlaceholder:function(e){var t=e.className;return r.createElement(Go,{className:t},(0,o.__)("Block rendered as empty."))},ErrorResponsePlaceholder:function(e){var t=e.response,n=e.className,i=sprintf((0,o.__)("Error loading block: %s"),t.errorMsg);return r.createElement(Go,{className:n},i)}};const Ko=qo;var Yo=wp.element.Fragment;const Zo=function(e){var t=e.attributes,n=e.setAttributes;return r.createElement(Yo,null,r.createElement(Po,{attributes:t,setAttributes:n}),r.createElement(Ko,{block:"give/progress-bar",attributes:t,spinnerLocation:{right:0,top:-30,unit:"px"}}))};(0,wp.blocks.registerBlockType)("give/progress-bar",{title:(0,o.__)("Progress Bar","give"),description:(0,o.__)("The Progress Bar block displays progress made across donation forms towards a common goal.","give"),category:"give",icon:r.createElement(v,{color:"grey"}),keywords:[(0,o.__)("donation","give"),(0,o.__)("progress-bar","give")],attributes:Ke,parent:["give/multi-form-goal"],edit:Zo})},94184:(e,t)=>{var n;!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 l in n)r.call(n,l)&&n[l]&&e.push(l);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)}()},40399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".give_column_selector{padding-bottom:10px}.give_column_selector_container{align-items:center;background-color:#d9d9d9;border-radius:2px;display:flex;flex:1;flex-direction:row;gap:10px;min-height:80px;padding:10px}.give_column_selector_container .give_column_selector_box{background-color:#828282;border-radius:2px;display:inline-flex;flex:1;height:33px}.give_column_selector_container.give_column_selector_selected{outline:1px solid #828282}.give_column_selector_container.give_column_selector_selected .give_best_fit_icon_box,.give_column_selector_container.give_column_selector_selected .give_column_selector_box{background-color:#2271b1!important}.give_column_selector_icon_container{align-items:center;display:flex;flex:1;flex-direction:row}.give_column_selector_icon_container div:first-child{flex-grow:2;justify-content:flex-start}.give_column_selector_icon_container div:last-child{flex-grow:0.5}.give_column_selector_help_text{color:#757575;font-size:12px;font-style:normal}.give_column_selector_row{display:flex;flex-direction:row;gap:10px;margin-bottom:10px}.give_best_fit_icon{display:flex;flex-direction:column;max-width:28px}.give_best_fit_icon .give_best_fit_row{display:flex;flex-direction:row;gap:5px;margin-bottom:5px}.give_best_fit_icon .give_best_fit_row .give_best_fit_icon_box{background-color:#828282;border-radius:2px;display:inline-flex;flex:1;height:10px}.give_best_fit_icon .give_best_fit_row:last-child{margin-bottom:0}",""]);const i=o},4607:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".timeline-item{background:#fff}@-webkit-keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:520px 0}}@keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:520px 0}}.placeholder-animation{margin:0 auto;max-width:650px}.animated-background{-webkit-animation-duration:.85s;animation-duration:.85s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:placeHolderShimmer;animation-name:placeHolderShimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(90deg,#eee 8%,#ddd 18%,#eee 33%);background-size:520px 100%;position:relative}.container{background-color:#eee;border:1px solid #eee;margin:0 auto;width:650px}.layer{display:flex}.layer.h1{height:28px}.layer.h2{height:22px}.layer.inline-radios{height:12px}.layer.label{height:8px}.layer-item.opaque{background:#fff}.layer-gap{background-color:#fff}.layer-gap.large{height:40px}.layer-gap.medium{height:20px}.layer-gap.small{height:10px}.layer-1 .layer-item:nth-child(odd){width:45%}.layer-1 .layer-item:nth-child(2n){width:55%}.layer-4 .layer-item:first-child{width:30%}.layer-4 .layer-item:nth-child(2){width:10%}.layer-4 .layer-item:nth-child(3){width:20%}.layer-4 .layer-item:nth-child(4){width:30%}.layer-4 .layer-item:nth-child(5){width:10%}.layer-5 .layer-item:first-child{width:40%}.layer-5 .layer-item:nth-child(2){width:5%}.layer-5 .layer-item:nth-child(3){width:15%}.layer-5 .layer-item:nth-child(4){width:40%}.layer-6 .layer-item:nth-child(odd){width:30%}.layer-6 .layer-item:nth-child(2n){width:70%}.layer-8 .layer-item:first-child{width:40%}.layer-8 .layer-item:nth-child(2){width:20%}.layer-8 .layer-item:nth-child(3){width:40%}",""]);const i=o},82636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,'[data-type="give/donation-form"] .components-base-control__field{margin:0 auto;max-width:400px;text-align:left}',""]);const i=o},44516:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".give-toggle{border:1px solid #757575;border-radius:2px;display:flex;margin-bottom:20px;min-height:42px}.give-toggle__option{align-items:center;cursor:pointer;display:flex;flex:1;justify-content:center;margin:3px}",""]);const i=o},91158:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".give-form-grid-inspector{align-items:center!important;flex-direction:row!important;justify-content:space-between!important}.give-form-grid-inspector__filter{margin-top:-18px!important}.give-form-grid-inspector__help{color:#757575;font-size:.75rem;font-style:normal;margin:-15px 0 15px!important}.give-form-grid-inspector .components-base-control__label{margin:0!important}.give-form-grid-inspector .components-base-control__field{align-items:center!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important}.give-form-grid-inspector .components-base-control__field .components-text-control__input{flex:0.7!important}.give-form-grid-inspector .components-flex-item{align-items:center!important;display:flex!important;justify-content:center!important}.give-form-grid-inspector .components-flex-item .components-input-control__label{flex:1!important;margin:0!important}.give-form-grid-inspector .components-input-control__container{max-width:135px!important}.give-form-grid-inspector .components-input-control__container>select{line-height:1.2!important}.components-form-token-field label{display:none!important}.exclude__form{border:1px solid transparent;margin-top:20px!important}",""]);const i=o},62795:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".wp-block-give-donation-form{position:relative}.wp-block-give-donation-form form[id*=give-form] #give-gateway-radio-list>li input[type=radio]{display:inline-block}.give-change-donation-form-btn svg{margin-top:3px}",""]);const i=o},53741:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".gutenberg__editor .give-blank-slate__image{max-width:96px}.give-chosen-base-control a.chosen-single{box-shadow:none!important}.give-chosen-base-control ul.chosen-results{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0!important;text-align:left!important}",""]);const i=o},10878:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".give-donor-wall-inspector{align-items:center!important;flex-direction:row!important;justify-content:space-between!important}.give-donor-wall-inspector .components-base-control__label{margin:0!important}.give-donor-wall-inspector .components-base-control__field{align-items:center!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important}.give-donor-wall-inspector .components-base-control__field .components-text-control__input{flex:0.7!important}.give-donor-wall-inspector .components-flex-item{align-items:center!important;display:flex!important;justify-content:center!important}.give-donor-wall-inspector .components-flex-item .components-input-control__label{flex:1!important;margin:0!important}.give-donor-wall-inspector .components-input-control__container{max-width:165px!important}.give-donor-wall-inspector .components-input-control__container>select{line-height:1.2!important}.components-form-token-field{margin-top:-18px!important}.components-form-token-field label{display:none!important}",""]);const i=o},87048:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,'[data-type="give/multi-form-goal"] [data-type="give/progress-bar"]{margin:0!important;max-width:100%!important}[data-type="give/multi-form-goal"] [data-type="core/media-text"]{margin:24px!important;max-width:100%!important}',""]);const i=o},61210:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"input[id^=give-multi-select-control-]:focus{box-shadow:none;outline:none}",""]);const i=o},1519:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},72446:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function l(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],u=t.base?i[0]+t.base:i[0],s=n[u]||0,c="".concat(u," ").concat(s);n[u]=s+1;var f=l(c),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:c,updater:g(p,t),references:1}),r.push(c)}return r}function s(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,f=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,h=0;function g(e,t){var n,r,o;if(t.singleton){var i=h++;n=m||(m=s(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=s(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=l(n[r]);a[o].references--}for(var i=u(e,t),s=0;s<n.length;s++){var c=l(n[s]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}n=i}}}},27418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,l,u=o(e),s=1;s<arguments.length;s++){for(var c in a=Object(arguments[s]))n.call(a,c)&&(u[c]=a[c]);if(t){l=t(a);for(var f=0;f<l.length;f++)r.call(a,l[f])&&(u[l[f]]=a[l[f]])}}return u}},92703:(e,t,n)=>{"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array: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}},45697:(e,t,n)=>{e.exports=n(92703)()},50414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64448:(e,t,n)=>{"use strict";var r=n(67294),o=n(27418),i=n(63840);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function l(e,t,n,r,o,i,a,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var u=!1,s=null,c=!1,f=null,p={onError:function(e){u=!0,s=e}};function d(e,t,n,r,o,i,a,c,f){u=!1,s=null,l.apply(p,arguments)}var m=null,h=null,g=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,r,o,i,l,p,m){if(d.apply(this,arguments),u){if(!u)throw Error(a(198));var h=s;u=!1,s=null,c||(c=!0,f=h)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function w(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!x[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in x[n]=t,n=t.eventTypes){var o=void 0,i=n[r],l=t,u=r;if(E.hasOwnProperty(u))throw Error(a(99,u));E[u]=i;var s=i.phasedRegistrationNames;if(s){for(o in s)s.hasOwnProperty(o)&&k(s[o],l,u);o=!0}else i.registrationName?(k(i.registrationName,l,u),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function k(e,t,n){if(_[e])throw Error(a(100,e));_[e]=t,S[e]=t.eventTypes[n].dependencies}var x=[],E={},_={},S={};function O(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&w()}var C=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),T=null,P=null,N=null;function D(e){if(e=h(e)){if("function"!=typeof T)throw Error(a(280));var t=e.stateNode;t&&(t=m(t),T(e.stateNode,e.type,t))}}function I(e){P?N?N.push(e):N=[e]:P=e}function M(){if(P){var e=P,t=N;if(N=P=null,D(e),t)for(e=0;e<t.length;e++)D(t[e])}}function R(e,t){return e(t)}function j(e,t,n,r,o){return e(t,n,r,o)}function F(){}var A=R,L=!1,z=!1;function V(){null===P&&null===N||(F(),M())}function B(e,t,n){if(z)return e(t,n);z=!0;try{return A(e,t,n)}finally{z=!1,V()}}var U=/^[: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][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,H=Object.prototype.hasOwnProperty,W={},$={};function Q(e,t,n,r,o,i){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}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){G[e]=new Q(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];G[t]=new Q(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){G[e]=new Q(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){G[e]=new Q(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){G[e]=new Q(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){G[e]=new Q(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){G[e]=new Q(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){G[e]=new Q(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){G[e]=new Q(e,5,!1,e.toLowerCase(),null,!1)}));var q=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(q,K);G[t]=new Q(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(q,K);G[t]=new Q(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(q,K);G[t]=new Q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){G[e]=new Q(e,1,!1,e.toLowerCase(),null,!1)})),G.xlinkHref=new Q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){G[e]=new Q(e,1,!1,e.toLowerCase(),null,!0)}));var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Z(e,t,n,r){var o=G.hasOwnProperty(t)?G[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!H.call($,e)||!H.call(W,e)&&(U.test(e)?$[e]=!0:(W[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Y.hasOwnProperty("ReactCurrentDispatcher")||(Y.ReactCurrentDispatcher={current:null}),Y.hasOwnProperty("ReactCurrentBatchConfig")||(Y.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,oe=J?Symbol.for("react.profiler"):60114,ie=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,le=J?Symbol.for("react.concurrent_mode"):60111,ue=J?Symbol.for("react.forward_ref"):60112,se=J?Symbol.for("react.suspense"):60113,ce=J?Symbol.for("react.suspense_list"):60120,fe=J?Symbol.for("react.memo"):60115,pe=J?Symbol.for("react.lazy"):60116,de=J?Symbol.for("react.block"):60121,me="function"==typeof Symbol&&Symbol.iterator;function he(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=me&&e[me]||e["@@iterator"])?e:null}function ge(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case se:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ge(e.type);case de:return ge(e.render);case pe:if(e=1===e._status?e._result:null)return ge(e)}return null}function ve(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ge(e.type);n=null,r&&(n=ge(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(X,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ke(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function xe(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function _e(e,t){null!=(t=t.checked)&&Z(e,"checked",t,!1)}function Se(e,t){_e(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ce(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ce(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Oe(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ce(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Te(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Pe(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function De(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Ie(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Re="http://www.w3.org/1999/xhtml",je="http://www.w3.org/2000/svg";function Fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ae(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Le,ze,Ve=(ze=function(e,t){if(e.namespaceURI!==je||"innerHTML"in e)e.innerHTML=t;else{for((Le=Le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ze(e,t)}))}:ze);function Be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ue(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:Ue("Animation","AnimationEnd"),animationiteration:Ue("Animation","AnimationIteration"),animationstart:Ue("Animation","AnimationStart"),transitionend:Ue("Transition","TransitionEnd")},We={},$e={};function Qe(e){if(We[e])return We[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in $e)return We[e]=n[t];return e}C&&($e=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ge=Qe("animationend"),qe=Qe("animationiteration"),Ke=Qe("animationstart"),Ye=Qe("transitionend"),Ze="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Je(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function nt(e){if(et(e)!==e)throw Error(a(188))}function rt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return nt(o),e;if(i===r)return nt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ot(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var at=null;function lt(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ut(e){if(null!==e&&(at=ot(at,e)),e=at,at=null,e){if(it(e,lt),at)throw Error(a(95));if(c)throw e=f,c=!1,f=null,e}}function st(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!C)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ft=[];function pt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ft.length&&ft.push(e)}function dt(e,t,n,r){if(ft.length){var o=ft.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function mt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Dn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=st(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var l=null,u=0;u<x.length;u++){var s=x[u];s&&(s=s.extractEvents(r,t,i,o,a))&&(l=ot(l,s))}ut(l)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ze.indexOf(e)&&qt(e,t)}n.set(e,null)}}var gt,vt,yt,bt=!1,wt=[],kt=null,xt=null,Et=null,_t=new Map,St=new Map,Ot=[],Ct="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Tt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Pt(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Nt(e,t){switch(e){case"focus":case"blur":kt=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":Et=null;break;case"pointerover":case"pointerout":_t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":St.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Pt(t,n,r,o,i),null!==t&&(null!==(t=In(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function It(e){var t=Dn(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){yt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=In(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Rt(e,t,n){Mt(e)&&n.delete(t)}function jt(){for(bt=!1;0<wt.length;){var e=wt[0];if(null!==e.blockedOn){null!==(e=In(e.blockedOn))&&gt(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:wt.shift()}null!==kt&&Mt(kt)&&(kt=null),null!==xt&&Mt(xt)&&(xt=null),null!==Et&&Mt(Et)&&(Et=null),_t.forEach(Rt),St.forEach(Rt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,bt||(bt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,jt)))}function At(e){function t(t){return Ft(t,e)}if(0<wt.length){Ft(wt[0],e);for(var n=1;n<wt.length;n++){var r=wt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==kt&&Ft(kt,e),null!==xt&&Ft(xt,e),null!==Et&&Ft(Et,e),_t.forEach(t),St.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)It(n),null===n.blockedOn&&Ot.shift()}var Lt={},zt=new Map,Vt=new Map,Bt=["abort","abort",Ge,"animationEnd",qe,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ye,"transitionEnd","waiting","waiting"];function Ut(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Vt.set(r,t),zt.set(r,i),Lt[o]=i}}Ut("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ut("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ut(Bt,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Wt=0;Wt<Ht.length;Wt++)Vt.set(Ht[Wt],0);var $t=i.unstable_UserBlockingPriority,Qt=i.unstable_runWithPriority,Gt=!0;function qt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Vt.get(t);switch(void 0===r?2:r){case 0:r=Yt.bind(null,t,1,e);break;case 1:r=Zt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){L||F();var o=Xt,i=L;L=!0;try{j(o,e,t,n,r)}finally{(L=i)||V()}}function Zt(e,t,n,r){Qt($t,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if(Gt)if(0<wt.length&&-1<Ct.indexOf(e))e=Pt(null,e,t,n,r),wt.push(e);else{var o=Jt(e,t,n,r);if(null===o)Nt(e,r);else if(-1<Ct.indexOf(e))e=Pt(o,e,t,n,r),wt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return kt=Dt(kt,e,t,n,r,o),!0;case"dragenter":return xt=Dt(xt,e,t,n,r,o),!0;case"mouseover":return Et=Dt(Et,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return _t.set(i,Dt(_t.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,St.set(i,Dt(St.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Nt(e,r),e=dt(e,r,null,t);try{B(mt,e)}finally{pt(e)}}}}function Jt(e,t,n,r){if(null!==(n=Dn(n=st(r)))){var o=et(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=tt(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=dt(e,r,n,t);try{B(mt,e)}finally{pt(e)}return null}var en={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var on=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function an(e,t){if(t){if(on[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function ln(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=Re;function sn(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function fn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function pn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=pn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pn(r)}}function mn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hn(){for(var e=window,t=fn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=fn((e=t.contentWindow).document)}return t}function gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vn="$?",yn="$!",bn=null,wn=null;function kn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function xn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var En="function"==typeof setTimeout?setTimeout:void 0,_n="function"==typeof clearTimeout?clearTimeout:void 0;function Sn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function On(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||n===yn||n===vn){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Cn=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+Cn,Pn="__reactEventHandlers$"+Cn,Nn="__reactContainere$"+Cn;function Dn(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Nn]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=On(e);null!==e;){if(n=e[Tn])return n;e=On(e)}return t}n=(e=n).parentNode}return null}function In(e){return!(e=e[Tn]||e[Nn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Mn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Rn(e){return e[Pn]||null}function jn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Fn(e,t){var n=e.stateNode;if(!n)return null;var r=m(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function An(e,t,n){(t=Fn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=ot(n._dispatchListeners,t),n._dispatchInstances=ot(n._dispatchInstances,e))}function Ln(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=jn(t);for(t=n.length;0<t--;)An(n[t],"captured",e);for(t=0;t<n.length;t++)An(n[t],"bubbled",e)}}function zn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Fn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=ot(n._dispatchListeners,t),n._dispatchInstances=ot(n._dispatchInstances,e))}function Vn(e){e&&e.dispatchConfig.registrationName&&zn(e._targetInst,null,e)}function Bn(e){it(e,Ln)}var Un=null,Hn=null,Wn=null;function $n(){if(Wn)return Wn;var e,t,n=Hn,r=n.length,o="value"in Un?Un.value:Un.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Wn=o.slice(e,1<t?1-t:void 0)}function Qn(){return!0}function Gn(){return!1}function qn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Qn:Gn,this.isPropagationStopped=Gn,this}function Kn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Yn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Zn(e){e.eventPool=[],e.getPooled=Kn,e.release=Yn}o(qn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Qn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Qn)},persist:function(){this.isPersistent=Qn},isPersistent:Gn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Gn,this._dispatchInstances=this._dispatchListeners=null}}),qn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},qn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,Zn(n),n},Zn(qn);var Xn=qn.extend({data:null}),Jn=qn.extend({data:null}),er=[9,13,27,32],tr=C&&"CompositionEvent"in window,nr=null;C&&"documentMode"in document&&(nr=document.documentMode);var rr=C&&"TextEvent"in window&&!nr,or=C&&(!tr||nr&&8<nr&&11>=nr),ir=String.fromCharCode(32),ar={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},lr=!1;function ur(e,t){switch(e){case"keyup":return-1!==er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function sr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var cr=!1;var fr={eventTypes:ar,extractEvents:function(e,t,n,r){var o;if(tr)e:{switch(e){case"compositionstart":var i=ar.compositionStart;break e;case"compositionend":i=ar.compositionEnd;break e;case"compositionupdate":i=ar.compositionUpdate;break e}i=void 0}else cr?ur(e,n)&&(i=ar.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=ar.compositionStart);return i?(or&&"ko"!==n.locale&&(cr||i!==ar.compositionStart?i===ar.compositionEnd&&cr&&(o=$n()):(Hn="value"in(Un=r)?Un.value:Un.textContent,cr=!0)),i=Xn.getPooled(i,t,n,r),o?i.data=o:null!==(o=sr(n))&&(i.data=o),Bn(i),o=i):o=null,(e=rr?function(e,t){switch(e){case"compositionend":return sr(t);case"keypress":return 32!==t.which?null:(lr=!0,ir);case"textInput":return(e=t.data)===ir&&lr?null:e;default:return null}}(e,n):function(e,t){if(cr)return"compositionend"===e||!tr&&ur(e,t)?(e=$n(),Wn=Hn=Un=null,cr=!1,e):null;switch(e){default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return or&&"ko"!==t.locale?null:t.data}}(e,n))?((t=Jn.getPooled(ar.beforeInput,t,n,r)).data=e,Bn(t)):t=null,null===o?t:null===t?o:[o,t]}},pr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!pr[e.type]:"textarea"===t}var mr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function hr(e,t,n){return(e=qn.getPooled(mr.change,e,t,n)).type="change",I(n),Bn(e),e}var gr=null,vr=null;function yr(e){ut(e)}function br(e){if(ke(Mn(e)))return e}function wr(e,t){if("change"===e)return t}var kr=!1;function xr(){gr&&(gr.detachEvent("onpropertychange",Er),vr=gr=null)}function Er(e){if("value"===e.propertyName&&br(vr))if(e=hr(vr,e,st(e)),L)ut(e);else{L=!0;try{R(yr,e)}finally{L=!1,V()}}}function _r(e,t,n){"focus"===e?(xr(),vr=n,(gr=t).attachEvent("onpropertychange",Er)):"blur"===e&&xr()}function Sr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return br(vr)}function Or(e,t){if("click"===e)return br(t)}function Cr(e,t){if("input"===e||"change"===e)return br(t)}C&&(kr=ct("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:mr,_isInputEventSupported:kr,extractEvents:function(e,t,n,r){var o=t?Mn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=wr;else if(dr(o))if(kr)a=Cr;else{a=Sr;var l=_r}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=Or);if(a&&(a=a(e,t)))return hr(a,n,r);l&&l(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ce(o,"number",o.value)}},Pr=qn.extend({view:null,detail:null}),Nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Dr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Nr[e])&&!!t[e]}function Ir(){return Dr}var Mr=0,Rr=0,jr=!1,Fr=!1,Ar=Pr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ir,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Mr;return Mr=e.screenX,jr?"mousemove"===e.type?e.screenX-t:0:(jr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Rr;return Rr=e.screenY,Fr?"mousemove"===e.type?e.screenY-t:0:(Fr=!0,0)}}),Lr=Ar.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),zr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Vr={eventTypes:zr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Dn(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var l=Ar,u=zr.mouseLeave,s=zr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(l=Lr,u=zr.pointerLeave,s=zr.pointerEnter,c="pointer");if(e=null==a?i:Mn(a),i=null==t?i:Mn(t),(u=l.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=i,(n=l.getPooled(s,t,n,r)).type=c+"enter",n.target=i,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(s=c,a=0,e=l=r;e;e=jn(e))a++;for(e=0,t=s;t;t=jn(t))e++;for(;0<a-e;)l=jn(l),a--;for(;0<e-a;)s=jn(s),e--;for(;a--;){if(l===s||l===s.alternate)break e;l=jn(l),s=jn(s)}l=null}else l=null;for(s=l,l=[];r&&r!==s&&(null===(a=r.alternate)||a!==s);)l.push(r),r=jn(r);for(r=[];c&&c!==s&&(null===(a=c.alternate)||a!==s);)r.push(c),c=jn(c);for(c=0;c<l.length;c++)zn(l[c],"bubbled",u);for(c=r.length;0<c--;)zn(r[c],"captured",n);return 0==(64&o)?[u]:[u,n]}};var Br="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ur=Object.prototype.hasOwnProperty;function Hr(e,t){if(Br(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Ur.call(t,n[r])||!Br(e[n[r]],t[n[r]]))return!1;return!0}var Wr=C&&"documentMode"in document&&11>=document.documentMode,$r={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Qr=null,Gr=null,qr=null,Kr=!1;function Yr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Kr||null==Qr||Qr!==fn(n)?null:("selectionStart"in(n=Qr)&&gn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},qr&&Hr(qr,n)?null:(qr=n,(e=qn.getPooled($r.select,Gr,e,t)).type="select",e.target=Qr,Bn(e),e))}var Zr={eventTypes:$r,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Je(o),i=S.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Mn(t):window,e){case"focus":(dr(o)||"true"===o.contentEditable)&&(Qr=o,Gr=t,qr=null);break;case"blur":qr=Gr=Qr=null;break;case"mousedown":Kr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Kr=!1,Yr(n,r);case"selectionchange":if(Wr)break;case"keydown":case"keyup":return Yr(n,r)}return null}},Xr=qn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jr=qn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),eo=Pr.extend({relatedTarget:null});function to(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var no={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ro={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},oo=Pr.extend({key:function(e){if(e.key){var t=no[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=to(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ro[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ir,charCode:function(e){return"keypress"===e.type?to(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?to(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),io=Ar.extend({dataTransfer:null}),ao=Pr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ir}),lo=qn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),uo=Ar.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),so={eventTypes:Lt,extractEvents:function(e,t,n,r){var o=zt.get(e);if(!o)return null;switch(e){case"keypress":if(0===to(n))return null;case"keydown":case"keyup":e=oo;break;case"blur":case"focus":e=eo;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Ar;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=io;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ao;break;case Ge:case qe:case Ke:e=Xr;break;case Ye:e=lo;break;case"scroll":e=Pr;break;case"wheel":e=uo;break;case"copy":case"cut":case"paste":e=Jr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Lr;break;default:e=qn}return Bn(t=e.getPooled(o,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),m=Rn,h=In,g=Mn,O({SimpleEventPlugin:so,EnterLeaveEventPlugin:Vr,ChangeEventPlugin:Tr,SelectEventPlugin:Zr,BeforeInputEventPlugin:fr});var co=[],fo=-1;function po(e){0>fo||(e.current=co[fo],co[fo]=null,fo--)}function mo(e,t){fo++,co[fo]=e.current,e.current=t}var ho={},go={current:ho},vo={current:!1},yo=ho;function bo(e,t){var n=e.type.contextTypes;if(!n)return ho;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function wo(e){return null!=(e=e.childContextTypes)}function ko(){po(vo),po(go)}function xo(e,t,n){if(go.current!==ho)throw Error(a(168));mo(go,t),mo(vo,n)}function Eo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ge(t)||"Unknown",i));return o({},n,{},r)}function _o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ho,yo=go.current,mo(go,e),mo(vo,vo.current),!0}function So(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Eo(e,t,yo),r.__reactInternalMemoizedMergedChildContext=e,po(vo),po(go),mo(go,e)):po(vo),mo(vo,n)}var Oo=i.unstable_runWithPriority,Co=i.unstable_scheduleCallback,To=i.unstable_cancelCallback,Po=i.unstable_requestPaint,No=i.unstable_now,Do=i.unstable_getCurrentPriorityLevel,Io=i.unstable_ImmediatePriority,Mo=i.unstable_UserBlockingPriority,Ro=i.unstable_NormalPriority,jo=i.unstable_LowPriority,Fo=i.unstable_IdlePriority,Ao={},Lo=i.unstable_shouldYield,zo=void 0!==Po?Po:function(){},Vo=null,Bo=null,Uo=!1,Ho=No(),Wo=1e4>Ho?No:function(){return No()-Ho};function $o(){switch(Do()){case Io:return 99;case Mo:return 98;case Ro:return 97;case jo:return 96;case Fo:return 95;default:throw Error(a(332))}}function Qo(e){switch(e){case 99:return Io;case 98:return Mo;case 97:return Ro;case 96:return jo;case 95:return Fo;default:throw Error(a(332))}}function Go(e,t){return e=Qo(e),Oo(e,t)}function qo(e,t,n){return e=Qo(e),Co(e,t,n)}function Ko(e){return null===Vo?(Vo=[e],Bo=Co(Io,Zo)):Vo.push(e),Ao}function Yo(){if(null!==Bo){var e=Bo;Bo=null,To(e)}Zo()}function Zo(){if(!Uo&&null!==Vo){Uo=!0;var e=0;try{var t=Vo;Go(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Vo=null}catch(t){throw null!==Vo&&(Vo=Vo.slice(e+1)),Co(Io,Yo),t}finally{Uo=!1}}}function Xo(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Jo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var ei={current:null},ti=null,ni=null,ri=null;function oi(){ri=ni=ti=null}function ii(e){var t=ei.current;po(ei),e.type._context._currentValue=t}function ai(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function li(e,t){ti=e,ri=ni=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ra=!0),e.firstContext=null)}function ui(e,t){if(ri!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ri=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ni){if(null===ti)throw Error(a(308));ni=t,ti.dependencies={expirationTime:0,firstContext:t,responders:null}}else ni=ni.next=t;return e._currentValue}var si=!1;function ci(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function fi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function pi(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function mi(e,t){var n=e.alternate;null!==n&&fi(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function hi(e,t,n,r){var i=e.updateQueue;si=!1;var a=i.baseQueue,l=i.shared.pending;if(null!==l){if(null!==a){var u=a.next;a.next=l.next,l.next=u}a=l,i.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=l))}if(null!==a){u=a.next;var s=i.baseState,c=0,f=null,p=null,d=null;if(null!==u)for(var m=u;;){if((l=m.expirationTime)<r){var h={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null};null===d?(p=d=h,f=s):d=d.next=h,l>c&&(c=l)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null}),du(l,m.suspenseConfig);e:{var g=e,v=m;switch(l=t,h=n,v.tag){case 1:if("function"==typeof(g=v.payload)){s=g.call(h,s,l);break e}s=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(l="function"==typeof(g=v.payload)?g.call(h,s,l):g))break e;s=o({},s,l);break e;case 2:si=!0}}null!==m.callback&&(e.effectTag|=32,null===(l=i.effects)?i.effects=[m]:l.push(m))}if(null===(m=m.next)||m===u){if(null===(l=i.shared.pending))break;m=a.next=l.next,l.next=u,i.baseQueue=a=l,i.shared.pending=null}}null===d?f=s:d.next=p,i.baseState=f,i.baseQueue=d,mu(c),e.expirationTime=c,e.memoizedState=s}}function gi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(a(191,r));r.call(o)}}}var vi=Y.ReactCurrentBatchConfig,yi=(new r.Component).refs;function bi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var wi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=eu(),o=vi.suspense;(o=pi(r=tu(r,e,o),o)).payload=t,null!=n&&(o.callback=n),di(e,o),nu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=eu(),o=vi.suspense;(o=pi(r=tu(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),di(e,o),nu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=eu(),r=vi.suspense;(r=pi(n=tu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),di(e,r),nu(e,n)}};function ki(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Hr(n,r)||!Hr(o,i))}function xi(e,t,n){var r=!1,o=ho,i=t.contextType;return"object"==typeof i&&null!==i?i=ui(i):(o=wo(t)?yo:go.current,i=(r=null!=(r=t.contextTypes))?bo(e,o):ho),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=wi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ei(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wi.enqueueReplaceState(t,t.state,null)}function _i(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=yi,ci(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ui(i):(i=wo(t)?yo:go.current,o.context=bo(e,i)),hi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(bi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&wi.enqueueReplaceState(o,o.state,null),hi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var Si=Array.isArray;function Oi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===yi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ci(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ti(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ru(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Au(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Oi(e,t,n),r.return=e,r):((r=ju(n.type,n.key,n.props,null,e.mode,r)).ref=Oi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Lu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Fu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Au(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=ju(t.type,t.key,t.props,null,e.mode,n)).ref=Oi(e,null,t),n.return=e,n;case te:return(t=Lu(t,e.mode,n)).return=e,t}if(Si(t)||he(t))return(t=Fu(t,e.mode,n,null)).return=e,t;Ci(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case te:return n.key===o?c(e,t,n,r):null}if(Si(n)||he(n))return null!==o?null:f(e,t,n,r,null);Ci(e,n)}return null}function m(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Si(r)||he(r))return f(t,e=e.get(n)||null,r,o,null);Ci(t,r)}return null}function h(o,a,l,u){for(var s=null,c=null,f=a,h=a=0,g=null;null!==f&&h<l.length;h++){f.index>h?(g=f,f=null):g=f.sibling;var v=d(o,f,l[h],u);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(o,f),a=i(v,a,h),null===c?s=v:c.sibling=v,c=v,f=g}if(h===l.length)return n(o,f),s;if(null===f){for(;h<l.length;h++)null!==(f=p(o,l[h],u))&&(a=i(f,a,h),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(o,f);h<l.length;h++)null!==(g=m(f,o,h,l[h],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?h:g.key),a=i(g,a,h),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(o,e)})),s}function g(o,l,u,s){var c=he(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,h=l,g=l=0,v=null,y=u.next();null!==h&&!y.done;g++,y=u.next()){h.index>g?(v=h,h=null):v=h.sibling;var b=d(o,h,y.value,s);if(null===b){null===h&&(h=v);break}e&&h&&null===b.alternate&&t(o,h),l=i(b,l,g),null===f?c=b:f.sibling=b,f=b,h=v}if(y.done)return n(o,h),c;if(null===h){for(;!y.done;g++,y=u.next())null!==(y=p(o,y.value,s))&&(l=i(y,l,g),null===f?c=y:f.sibling=y,f=y);return c}for(h=r(o,h);!y.done;g++,y=u.next())null!==(y=m(h,o,g,y.value,s))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),l=i(y,l,g),null===f?c=y:f.sibling=y,f=y);return e&&h.forEach((function(e){return t(o,e)})),c}return function(e,r,i,u){var s="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;s&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case ee:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){if(7===s.tag){if(i.type===ne){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}}else if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=Oi(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===ne?((r=Fu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=ju(i.type,i.key,i.props,null,e.mode,u)).ref=Oi(e,r,i),u.return=e,e=u)}return l(e);case te:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Lu(i,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Au(i,e.mode,u)).return=e,e=r),l(e);if(Si(i))return h(e,r,i,u);if(he(i))return g(e,r,i,u);if(c&&Ci(e,i),void 0===i&&!s)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Pi=Ti(!0),Ni=Ti(!1),Di={},Ii={current:Di},Mi={current:Di},Ri={current:Di};function ji(e){if(e===Di)throw Error(a(174));return e}function Fi(e,t){switch(mo(Ri,t),mo(Mi,e),mo(Ii,Di),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ae(null,"");break;default:t=Ae(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}po(Ii),mo(Ii,t)}function Ai(){po(Ii),po(Mi),po(Ri)}function Li(e){ji(Ri.current);var t=ji(Ii.current),n=Ae(t,e.type);t!==n&&(mo(Mi,e),mo(Ii,n))}function zi(e){Mi.current===e&&(po(Ii),po(Mi))}var Vi={current:0};function Bi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===vn||n.data===yn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ui(e,t){return{responder:e,props:t}}var Hi=Y.ReactCurrentDispatcher,Wi=Y.ReactCurrentBatchConfig,$i=0,Qi=null,Gi=null,qi=null,Ki=!1;function Yi(){throw Error(a(321))}function Zi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Br(e[n],t[n]))return!1;return!0}function Xi(e,t,n,r,o,i){if($i=i,Qi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Hi.current=null===e||null===e.memoizedState?ka:xa,e=n(r,o),t.expirationTime===$i){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,qi=Gi=null,t.updateQueue=null,Hi.current=Ea,e=n(r,o)}while(t.expirationTime===$i)}if(Hi.current=wa,t=null!==Gi&&null!==Gi.next,$i=0,qi=Gi=Qi=null,Ki=!1,t)throw Error(a(300));return e}function Ji(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===qi?Qi.memoizedState=qi=e:qi=qi.next=e,qi}function ea(){if(null===Gi){var e=Qi.alternate;e=null!==e?e.memoizedState:null}else e=Gi.next;var t=null===qi?Qi.memoizedState:qi.next;if(null!==t)qi=t,Gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Gi=e).memoizedState,baseState:Gi.baseState,baseQueue:Gi.baseQueue,queue:Gi.queue,next:null},null===qi?Qi.memoizedState=qi=e:qi=qi.next=e}return qi}function ta(e,t){return"function"==typeof t?t(e):t}function na(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=l=i=null,s=o;do{var c=s.expirationTime;if(c<$i){var f={expirationTime:s.expirationTime,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=f,i=r):u=u.next=f,c>Qi.expirationTime&&(Qi.expirationTime=c,mu(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),du(c,s.suspenseConfig),r=s.eagerReducer===e?s.eagerState:e(r,s.action);s=s.next}while(null!==s&&s!==o);null===u?i=r:u.next=l,Br(r,t.memoizedState)||(Ra=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ra(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);Br(i,t.memoizedState)||(Ra=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function oa(e){var t=Ji();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ta,lastRenderedState:e}).dispatch=ba.bind(null,Qi,e),[t.memoizedState,e]}function ia(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Qi.updateQueue)?(t={lastEffect:null},Qi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function aa(){return ea().memoizedState}function la(e,t,n,r){var o=Ji();Qi.effectTag|=e,o.memoizedState=ia(1|t,n,void 0,void 0===r?null:r)}function ua(e,t,n,r){var o=ea();r=void 0===r?null:r;var i=void 0;if(null!==Gi){var a=Gi.memoizedState;if(i=a.destroy,null!==r&&Zi(r,a.deps))return void ia(t,n,i,r)}Qi.effectTag|=e,o.memoizedState=ia(1|t,n,i,r)}function sa(e,t){return la(516,4,e,t)}function ca(e,t){return ua(516,4,e,t)}function fa(e,t){return ua(4,2,e,t)}function pa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function da(e,t,n){return n=null!=n?n.concat([e]):null,ua(4,2,pa.bind(null,t,e),n)}function ma(){}function ha(e,t){return Ji().memoizedState=[e,void 0===t?null:t],e}function ga(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function va(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ya(e,t,n){var r=$o();Go(98>r?98:r,(function(){e(!0)})),Go(97<r?97:r,(function(){var r=Wi.suspense;Wi.suspense=void 0===t?null:t;try{e(!1),n()}finally{Wi.suspense=r}}))}function ba(e,t,n){var r=eu(),o=vi.suspense;o={expirationTime:r=tu(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Qi||null!==i&&i===Qi)Ki=!0,o.expirationTime=$i,Qi.expirationTime=$i;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.eagerReducer=i,o.eagerState=l,Br(l,a))return}catch(e){}nu(e,r)}}var wa={readContext:ui,useCallback:Yi,useContext:Yi,useEffect:Yi,useImperativeHandle:Yi,useLayoutEffect:Yi,useMemo:Yi,useReducer:Yi,useRef:Yi,useState:Yi,useDebugValue:Yi,useResponder:Yi,useDeferredValue:Yi,useTransition:Yi},ka={readContext:ui,useCallback:ha,useContext:ui,useEffect:sa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,la(4,2,pa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return la(4,2,e,t)},useMemo:function(e,t){var n=Ji();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ji();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ba.bind(null,Qi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ji().memoizedState=e},useState:oa,useDebugValue:ma,useResponder:Ui,useDeferredValue:function(e,t){var n=oa(e),r=n[0],o=n[1];return sa((function(){var n=Wi.suspense;Wi.suspense=void 0===t?null:t;try{o(e)}finally{Wi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=oa(!1),n=t[0];return t=t[1],[ha(ya.bind(null,t,e),[t,e]),n]}},xa={readContext:ui,useCallback:ga,useContext:ui,useEffect:ca,useImperativeHandle:da,useLayoutEffect:fa,useMemo:va,useReducer:na,useRef:aa,useState:function(){return na(ta)},useDebugValue:ma,useResponder:Ui,useDeferredValue:function(e,t){var n=na(ta),r=n[0],o=n[1];return ca((function(){var n=Wi.suspense;Wi.suspense=void 0===t?null:t;try{o(e)}finally{Wi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=na(ta),n=t[0];return t=t[1],[ga(ya.bind(null,t,e),[t,e]),n]}},Ea={readContext:ui,useCallback:ga,useContext:ui,useEffect:ca,useImperativeHandle:da,useLayoutEffect:fa,useMemo:va,useReducer:ra,useRef:aa,useState:function(){return ra(ta)},useDebugValue:ma,useResponder:Ui,useDeferredValue:function(e,t){var n=ra(ta),r=n[0],o=n[1];return ca((function(){var n=Wi.suspense;Wi.suspense=void 0===t?null:t;try{o(e)}finally{Wi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ra(ta),n=t[0];return t=t[1],[ga(ya.bind(null,t,e),[t,e]),n]}},_a=null,Sa=null,Oa=!1;function Ca(e,t){var n=Iu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ta(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Pa(e){if(Oa){var t=Sa;if(t){var n=t;if(!Ta(e,t)){if(!(t=Sn(n.nextSibling))||!Ta(e,t))return e.effectTag=-1025&e.effectTag|2,Oa=!1,void(_a=e);Ca(_a,n)}_a=e,Sa=Sn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Oa=!1,_a=e}}function Na(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;_a=e}function Da(e){if(e!==_a)return!1;if(!Oa)return Na(e),Oa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!xn(t,e.memoizedProps))for(t=Sa;t;)Ca(e,t),t=Sn(t.nextSibling);if(Na(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Sa=Sn(e.nextSibling);break e}t--}else"$"!==n&&n!==yn&&n!==vn||t++}e=e.nextSibling}Sa=null}}else Sa=_a?Sn(e.stateNode.nextSibling):null;return!0}function Ia(){Sa=_a=null,Oa=!1}var Ma=Y.ReactCurrentOwner,Ra=!1;function ja(e,t,n,r){t.child=null===e?Ni(t,null,n,r):Pi(t,e.child,n,r)}function Fa(e,t,n,r,o){n=n.render;var i=t.ref;return li(t,o),r=Xi(e,t,n,r,i,o),null===e||Ra?(t.effectTag|=1,ja(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Xa(e,t,o))}function Aa(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Mu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ju(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,La(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Hr)(o,r)&&e.ref===t.ref)?Xa(e,t,i):(t.effectTag|=1,(e=Ru(a,r)).ref=t.ref,e.return=t,t.child=e)}function La(e,t,n,r,o,i){return null!==e&&Hr(e.memoizedProps,r)&&e.ref===t.ref&&(Ra=!1,o<i)?(t.expirationTime=e.expirationTime,Xa(e,t,i)):Va(e,t,n,r,i)}function za(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Va(e,t,n,r,o){var i=wo(n)?yo:go.current;return i=bo(t,i),li(t,o),n=Xi(e,t,n,r,i,o),null===e||Ra?(t.effectTag|=1,ja(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Xa(e,t,o))}function Ba(e,t,n,r,o){if(wo(n)){var i=!0;_o(t)}else i=!1;if(li(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),xi(t,n,r),_i(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=ui(s):s=bo(t,s=wo(n)?yo:go.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&Ei(t,a,r,s),si=!1;var p=t.memoizedState;a.state=p,hi(t,r,a,o),u=t.memoizedState,l!==r||p!==u||vo.current||si?("function"==typeof c&&(bi(t,n,c,r),u=t.memoizedState),(l=si||ki(t,n,l,r,p,u,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,fi(e,t),l=t.memoizedProps,a.props=t.type===t.elementType?l:Jo(t.type,l),u=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=ui(s):s=bo(t,s=wo(n)?yo:go.current),(f="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&Ei(t,a,r,s),si=!1,u=t.memoizedState,a.state=u,hi(t,r,a,o),p=t.memoizedState,l!==r||u!==p||vo.current||si?("function"==typeof c&&(bi(t,n,c,r),p=t.memoizedState),(c=si||ki(t,n,l,r,u,p,s))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Ua(e,t,n,r,i,o)}function Ua(e,t,n,r,o,i){za(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&So(t,n,!1),Xa(e,t,i);r=t.stateNode,Ma.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Pi(t,e.child,null,i),t.child=Pi(t,null,l,i)):ja(e,t,l,i),t.memoizedState=r.state,o&&So(t,n,!0),t.child}function Ha(e){var t=e.stateNode;t.pendingContext?xo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&xo(0,t.context,!1),Fi(e,t.containerInfo)}var Wa,$a,Qa,Ga={dehydrated:null,retryTime:0};function qa(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Vi.current,l=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),mo(Vi,1&a),null===e){if(void 0!==i.fallback&&Pa(t),l){if(l=i.fallback,(i=Fu(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Fu(l,o,n,null)).return=t,i.sibling=n,t.memoizedState=Ga,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Ni(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,l){if(i=i.fallback,(n=Ru(e,e.pendingProps)).return=t,0==(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return(o=Ru(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Ga,t.child=n,o}return n=Pi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=i.fallback,(i=Fu(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Fu(l,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ga,t.child=i,n}return t.memoizedState=null,t.child=Pi(t,e,i.children,n)}function Ka(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ai(e.return,t)}function Ya(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function Za(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ja(e,t,r.children,n),0!=(2&(r=Vi.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ka(e,n);else if(19===e.tag)Ka(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(mo(Vi,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Bi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ya(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Bi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ya(t,!0,n,null,i,t.lastEffect);break;case"together":Ya(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Xa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&mu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ru(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ru(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ja(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function el(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return wo(t.type)&&ko(),null;case 3:return Ai(),po(vo),po(go),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Da(t)||(t.effectTag|=4),null;case 5:zi(t),n=ji(Ri.current);var i=t.type;if(null!==e&&null!=t.stateNode)$a(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=ji(Ii.current),Da(t)){r=t.stateNode,i=t.type;var l=t.memoizedProps;switch(r[Tn]=t,r[Pn]=l,i){case"iframe":case"object":case"embed":qt("load",r);break;case"video":case"audio":for(e=0;e<Ze.length;e++)qt(Ze[e],r);break;case"source":qt("error",r);break;case"img":case"image":case"link":qt("error",r),qt("load",r);break;case"form":qt("reset",r),qt("submit",r);break;case"details":qt("toggle",r);break;case"input":Ee(r,l),qt("invalid",r),sn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!l.multiple},qt("invalid",r),sn(n,"onChange");break;case"textarea":De(r,l),qt("invalid",r),sn(n,"onChange")}for(var u in an(i,l),e=null,l)if(l.hasOwnProperty(u)){var s=l[u];"children"===u?"string"==typeof s?r.textContent!==s&&(e=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(e=["children",""+s]):_.hasOwnProperty(u)&&null!=s&&sn(n,u)}switch(i){case"input":we(r),Oe(r,l,!0);break;case"textarea":we(r),Me(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===un&&(e=Fe(i)),e===un?"script"===i?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(i,{is:r.is}):(e=u.createElement(i),"select"===i&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,i),e[Tn]=t,e[Pn]=r,Wa(e,t),t.stateNode=e,u=ln(i,r),i){case"iframe":case"object":case"embed":qt("load",e),s=r;break;case"video":case"audio":for(s=0;s<Ze.length;s++)qt(Ze[s],e);s=r;break;case"source":qt("error",e),s=r;break;case"img":case"image":case"link":qt("error",e),qt("load",e),s=r;break;case"form":qt("reset",e),qt("submit",e),s=r;break;case"details":qt("toggle",e),s=r;break;case"input":Ee(e,r),s=xe(e,r),qt("invalid",e),sn(n,"onChange");break;case"option":s=Te(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=o({},r,{value:void 0}),qt("invalid",e),sn(n,"onChange");break;case"textarea":De(e,r),s=Ne(e,r),qt("invalid",e),sn(n,"onChange");break;default:s=r}an(i,s);var c=s;for(l in c)if(c.hasOwnProperty(l)){var f=c[l];"style"===l?rn(e,f):"dangerouslySetInnerHTML"===l?null!=(f=f?f.__html:void 0)&&Ve(e,f):"children"===l?"string"==typeof f?("textarea"!==i||""!==f)&&Be(e,f):"number"==typeof f&&Be(e,""+f):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_.hasOwnProperty(l)?null!=f&&sn(n,l):null!=f&&Z(e,l,f,u))}switch(i){case"input":we(e),Oe(e,r,!1);break;case"textarea":we(e),Me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Pe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Pe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=cn)}kn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Qa(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=ji(Ri.current),ji(Ii.current),Da(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return po(Vi),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Da(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=i,i.nextEffect=l):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Vi.current)?jl===Tl&&(jl=Pl):(jl!==Tl&&jl!==Pl||(jl=Nl),0!==Vl&&null!==Il&&(Bu(Il,Rl),Uu(Il,Vl)))),(n||r)&&(t.effectTag|=4),null);case 4:return Ai(),null;case 10:return ii(t),null;case 19:if(po(Vi),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(l=r.rendering)){if(i)Ja(r,!1);else if(jl!==Tl||null!==e&&0!=(64&e.effectTag))for(l=t.child;null!==l;){if(null!==(e=Bi(l))){for(t.effectTag|=64,Ja(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)l=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=l,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,l=e.dependencies,i.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),r=r.sibling;return mo(Vi,1&Vi.current|2),t.child}l=l.sibling}}else{if(!i)if(null!==(e=Bi(l))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ja(r,!0),null===r.tail&&"hidden"===r.tailMode&&!l.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Wo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Ja(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=r.last)?n.sibling=l:t.child=l,r.last=l)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Wo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wo(),n.sibling=null,t=Vi.current,mo(Vi,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function tl(e){switch(e.tag){case 1:wo(e.type)&&ko();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Ai(),po(vo),po(go),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return zi(e),null;case 13:return po(Vi),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return po(Vi),null;case 4:return Ai(),null;case 10:return ii(e),null;default:return null}}function nl(e,t){return{value:e,source:t,stack:ve(t)}}Wa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},$a=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var l,u,s=t.stateNode;switch(ji(Ii.current),e=null,n){case"input":a=xe(s,a),r=xe(s,r),e=[];break;case"option":a=Te(s,a),r=Te(s,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Ne(s,a),r=Ne(s,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(s.onclick=cn)}for(l in an(n,r),n=null,a)if(!r.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l])if("style"===l)for(u in s=a[l])s.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in r){var c=r[l];if(s=null!=a?a[l]:void 0,r.hasOwnProperty(l)&&c!==s&&(null!=c||null!=s))if("style"===l)if(s){for(u in s)!s.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&s[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(e=e||[]).push(l,c)):"children"===l?s===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(_.hasOwnProperty(l)?(null!=c&&sn(i,l),e||s===c||(e=[])):(e=e||[]).push(l,c))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Qa=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var rl="function"==typeof WeakSet?WeakSet:Set;function ol(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ve(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function il(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ou(e,t)}else t.current=null}function al(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Jo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(a(163))}function ll(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ul(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function sl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ul(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Jo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&gi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}gi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&kn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&At(n)))))}throw Error(a(163))}function cl(e,t,n){switch("function"==typeof Nu&&Nu(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Go(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){Ou(o,e)}}e=e.next}while(e!==r)}))}break;case 1:il(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Ou(e,t)}}(t,n);break;case 5:il(t);break;case 4:gl(e,t,n)}}function fl(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&fl(t)}function pl(e){return 5===e.tag||3===e.tag||4===e.tag}function dl(e){e:{for(var t=e.return;null!==t;){if(pl(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Be(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||pl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?ml(e,n,t):hl(e,n,t)}function ml(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=cn));else if(4!==r&&null!==(e=e.child))for(ml(e,t,n),e=e.sibling;null!==e;)ml(e,t,n),e=e.sibling}function hl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(hl(e,t,n),e=e.sibling;null!==e;)hl(e,t,n),e=e.sibling}function gl(e,t,n){for(var r,o,i=t,l=!1;;){if(!l){l=i.return;e:for(;;){if(null===l)throw Error(a(160));switch(r=l.stateNode,l.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}l=l.return}l=!0}if(5===i.tag||6===i.tag){e:for(var u=e,s=i,c=n,f=s;;)if(cl(u,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===s)break e;for(;null===f.sibling;){if(null===f.return||f.return===s)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(u=r,s=i.stateNode,8===u.nodeType?u.parentNode.removeChild(s):u.removeChild(s)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(cl(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(l=!1)}i.sibling.return=i.return,i=i.sibling}}function vl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ll(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Pn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&_e(n,r),ln(e,o),t=ln(e,r),o=0;o<i.length;o+=2){var l=i[o],u=i[o+1];"style"===l?rn(n,u):"dangerouslySetInnerHTML"===l?Ve(n,u):"children"===l?Be(n,u):Z(n,l,u,t)}switch(e){case"input":Se(n,r);break;case"textarea":Ie(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Pe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Pe(n,!!r.multiple,r.defaultValue,!0):Pe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,At(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ul=Wo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=nn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void yl(t);case 19:return void yl(t)}throw Error(a(163))}function yl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new rl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var bl="function"==typeof WeakMap?WeakMap:Map;function wl(e,t,n){(n=pi(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,$l=r),ol(e,t)},n}function kl(e,t,n){(n=pi(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ol(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ql?Ql=new Set([this]):Ql.add(this),ol(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var xl,El=Math.ceil,_l=Y.ReactCurrentDispatcher,Sl=Y.ReactCurrentOwner,Ol=16,Cl=32,Tl=0,Pl=3,Nl=4,Dl=0,Il=null,Ml=null,Rl=0,jl=Tl,Fl=null,Al=1073741823,Ll=1073741823,zl=null,Vl=0,Bl=!1,Ul=0,Hl=null,Wl=!1,$l=null,Ql=null,Gl=!1,ql=null,Kl=90,Yl=null,Zl=0,Xl=null,Jl=0;function eu(){return 0!=(48&Dl)?1073741821-(Wo()/10|0):0!==Jl?Jl:Jl=1073741821-(Wo()/10|0)}function tu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=$o();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(Dl&Ol))return Rl;if(null!==n)e=Xo(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Xo(e,150,100);break;case 97:case 96:e=Xo(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Il&&e===Rl&&--e,e}function nu(e,t){if(50<Zl)throw Zl=0,Xl=null,Error(a(185));if(null!==(e=ru(e,t))){var n=$o();1073741823===t?0!=(8&Dl)&&0==(48&Dl)?lu(e):(iu(e),0===Dl&&Yo()):iu(e),0==(4&Dl)||98!==n&&99!==n||(null===Yl?Yl=new Map([[e,t]]):(void 0===(n=Yl.get(e))||n>t)&&Yl.set(e,t))}}function ru(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Il===o&&(mu(t),jl===Nl&&Bu(o,Rl)),Uu(o,t)),o}function ou(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Vu(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function iu(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ko(lu.bind(null,e));else{var t=ou(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=eu();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Ao&&To(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ko(lu.bind(null,e)):qo(r,au.bind(null,e),{timeout:10*(1073741821-t)-Wo()}),e.callbackNode=t}}}function au(e,t){if(Jl=0,t)return Hu(e,t=eu()),iu(e),null;var n=ou(e);if(0!==n){if(t=e.callbackNode,0!=(48&Dl))throw Error(a(327));if(Eu(),e===Il&&n===Rl||cu(e,n),null!==Ml){var r=Dl;Dl|=Ol;for(var o=pu();;)try{gu();break}catch(t){fu(e,t)}if(oi(),Dl=r,_l.current=o,1===jl)throw t=Fl,cu(e,n),Bu(e,n),iu(e),t;if(null===Ml)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=jl,Il=null,r){case Tl:case 1:throw Error(a(345));case 2:Hu(e,2<n?2:n);break;case Pl:if(Bu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bu(o)),1073741823===Al&&10<(o=Ul+500-Wo())){if(Bl){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,cu(e,n);break}}if(0!==(i=ou(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=En(wu.bind(null,e),o);break}wu(e);break;case Nl:if(Bu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bu(o)),Bl&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,cu(e,n);break}if(0!==(o=ou(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ll?r=10*(1073741821-Ll)-Wo():1073741823===Al?r=0:(r=10*(1073741821-Al)-5e3,0>(r=(o=Wo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*El(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=En(wu.bind(null,e),r);break}wu(e);break;case 5:if(1073741823!==Al&&null!==zl){i=Al;var l=zl;if(0>=(r=0|l.busyMinDurationMs)?r=0:(o=0|l.busyDelayMs,r=(i=Wo()-(10*(1073741821-i)-(0|l.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Bu(e,n),e.timeoutHandle=En(wu.bind(null,e),r);break}}wu(e);break;default:throw Error(a(329))}if(iu(e),e.callbackNode===t)return au.bind(null,e)}}return null}function lu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Dl))throw Error(a(327));if(Eu(),e===Il&&t===Rl||cu(e,t),null!==Ml){var n=Dl;Dl|=Ol;for(var r=pu();;)try{hu();break}catch(t){fu(e,t)}if(oi(),Dl=n,_l.current=r,1===jl)throw n=Fl,cu(e,t),Bu(e,t),iu(e),n;if(null!==Ml)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Il=null,wu(e),iu(e)}return null}function uu(e,t){var n=Dl;Dl|=1;try{return e(t)}finally{0===(Dl=n)&&Yo()}}function su(e,t){var n=Dl;Dl&=-2,Dl|=8;try{return e(t)}finally{0===(Dl=n)&&Yo()}}function cu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,_n(n)),null!==Ml)for(n=Ml.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ko();break;case 3:Ai(),po(vo),po(go);break;case 5:zi(r);break;case 4:Ai();break;case 13:case 19:po(Vi);break;case 10:ii(r)}n=n.return}Il=e,Ml=Ru(e.current,null),Rl=t,jl=Tl,Fl=null,Ll=Al=1073741823,zl=null,Vl=0,Bl=!1}function fu(e,t){for(;;){try{if(oi(),Hi.current=wa,Ki)for(var n=Qi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if($i=0,qi=Gi=Qi=null,Ki=!1,null===Ml||null===Ml.return)return jl=1,Fl=t,Ml=null;e:{var o=e,i=Ml.return,a=Ml,l=t;if(t=Rl,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&a.mode)){var s=a.alternate;s?(a.updateQueue=s.updateQueue,a.memoizedState=s.memoizedState,a.expirationTime=s.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Vi.current),f=i;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var m=f.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!c)}}if(p){var h=f.updateQueue;if(null===h){var g=new Set;g.add(u),f.updateQueue=g}else h.add(u);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=pi(1073741823,null);v.tag=2,di(a,v)}a.expirationTime=1073741823;break e}l=void 0,a=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new bl,l=new Set,y.set(u,l)):void 0===(l=y.get(u))&&(l=new Set,y.set(u,l)),!l.has(a)){l.add(a);var b=Cu.bind(null,o,u,a);u.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);l=Error((ge(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ve(a))}5!==jl&&(jl=2),l=nl(l,a),f=i;do{switch(f.tag){case 3:u=l,f.effectTag|=4096,f.expirationTime=t,mi(f,wl(f,u,t));break e;case 1:u=l;var w=f.type,k=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===Ql||!Ql.has(k)))){f.effectTag|=4096,f.expirationTime=t,mi(f,kl(f,u,t));break e}}f=f.return}while(null!==f)}Ml=yu(Ml)}catch(e){t=e;continue}break}}function pu(){var e=_l.current;return _l.current=wa,null===e?wa:e}function du(e,t){e<Al&&2<e&&(Al=e),null!==t&&e<Ll&&2<e&&(Ll=e,zl=t)}function mu(e){e>Vl&&(Vl=e)}function hu(){for(;null!==Ml;)Ml=vu(Ml)}function gu(){for(;null!==Ml&&!Lo();)Ml=vu(Ml)}function vu(e){var t=xl(e.alternate,e,Rl);return e.memoizedProps=e.pendingProps,null===t&&(t=yu(e)),Sl.current=null,t}function yu(e){Ml=e;do{var t=Ml.alternate;if(e=Ml.return,0==(2048&Ml.effectTag)){if(t=el(t,Ml,Rl),1===Rl||1!==Ml.childExpirationTime){for(var n=0,r=Ml.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Ml.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ml.firstEffect),null!==Ml.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ml.firstEffect),e.lastEffect=Ml.lastEffect),1<Ml.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ml:e.firstEffect=Ml,e.lastEffect=Ml))}else{if(null!==(t=tl(Ml)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ml.sibling))return t;Ml=e}while(null!==Ml);return jl===Tl&&(jl=5),null}function bu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function wu(e){var t=$o();return Go(99,ku.bind(null,e,t)),null}function ku(e,t){do{Eu()}while(null!==ql);if(0!=(48&Dl))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=bu(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Il&&(Ml=Il=null,Rl=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=Dl;Dl|=Cl,Sl.current=null,bn=Gt;var l=hn();if(gn(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{var s=(u=(u=l.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(s&&0!==s.rangeCount){u=s.anchorNode;var c=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var p=0,d=-1,m=-1,h=0,g=0,v=l,y=null;t:for(;;){for(var b;v!==u||0!==c&&3!==v.nodeType||(d=p+c),v!==f||0!==s&&3!==v.nodeType||(m=p+s),3===v.nodeType&&(p+=v.nodeValue.length),null!==(b=v.firstChild);)y=v,v=b;for(;;){if(v===l)break t;if(y===u&&++h===c&&(d=p),y===f&&++g===s&&(m=p),null!==(b=v.nextSibling))break;y=(v=y).parentNode}v=b}u=-1===d||-1===m?null:{start:d,end:m}}else u=null}u=u||{start:0,end:0}}else u=null;wn={activeElementDetached:null,focusedElem:l,selectionRange:u},Gt=!1,Hl=o;do{try{xu()}catch(e){if(null===Hl)throw Error(a(330));Ou(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);Hl=o;do{try{for(l=e,u=t;null!==Hl;){var w=Hl.effectTag;if(16&w&&Be(Hl.stateNode,""),128&w){var k=Hl.alternate;if(null!==k){var x=k.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&w){case 2:dl(Hl),Hl.effectTag&=-3;break;case 6:dl(Hl),Hl.effectTag&=-3,vl(Hl.alternate,Hl);break;case 1024:Hl.effectTag&=-1025;break;case 1028:Hl.effectTag&=-1025,vl(Hl.alternate,Hl);break;case 4:vl(Hl.alternate,Hl);break;case 8:gl(l,c=Hl,u),fl(c)}Hl=Hl.nextEffect}}catch(e){if(null===Hl)throw Error(a(330));Ou(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);if(x=wn,k=hn(),w=x.focusedElem,u=x.selectionRange,k!==w&&w&&w.ownerDocument&&mn(w.ownerDocument.documentElement,w)){null!==u&&gn(w)&&(k=u.start,void 0===(x=u.end)&&(x=k),"selectionStart"in w?(w.selectionStart=k,w.selectionEnd=Math.min(x,w.value.length)):(x=(k=w.ownerDocument||document)&&k.defaultView||window).getSelection&&(x=x.getSelection(),c=w.textContent.length,l=Math.min(u.start,c),u=void 0===u.end?l:Math.min(u.end,c),!x.extend&&l>u&&(c=u,u=l,l=c),c=dn(w,l),f=dn(w,u),c&&f&&(1!==x.rangeCount||x.anchorNode!==c.node||x.anchorOffset!==c.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((k=k.createRange()).setStart(c.node,c.offset),x.removeAllRanges(),l>u?(x.addRange(k),x.extend(f.node,f.offset)):(k.setEnd(f.node,f.offset),x.addRange(k))))),k=[];for(x=w;x=x.parentNode;)1===x.nodeType&&k.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<k.length;w++)(x=k[w]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Gt=!!bn,wn=bn=null,e.current=n,Hl=o;do{try{for(w=e;null!==Hl;){var E=Hl.effectTag;if(36&E&&sl(w,Hl.alternate,Hl),128&E){k=void 0;var _=Hl.ref;if(null!==_){var S=Hl.stateNode;Hl.tag,k=S,"function"==typeof _?_(k):_.current=k}}Hl=Hl.nextEffect}}catch(e){if(null===Hl)throw Error(a(330));Ou(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);Hl=null,zo(),Dl=i}else e.current=n;if(Gl)Gl=!1,ql=e,Kl=t;else for(Hl=o;null!==Hl;)t=Hl.nextEffect,Hl.nextEffect=null,Hl=t;if(0===(t=e.firstPendingTime)&&(Ql=null),1073741823===t?e===Xl?Zl++:(Zl=0,Xl=e):Zl=0,"function"==typeof Pu&&Pu(n.stateNode,r),iu(e),Wl)throw Wl=!1,e=$l,$l=null,e;return 0!=(8&Dl)||Yo(),null}function xu(){for(;null!==Hl;){var e=Hl.effectTag;0!=(256&e)&&al(Hl.alternate,Hl),0==(512&e)||Gl||(Gl=!0,qo(97,(function(){return Eu(),null}))),Hl=Hl.nextEffect}}function Eu(){if(90!==Kl){var e=97<Kl?97:Kl;return Kl=90,Go(e,_u)}}function _u(){if(null===ql)return!1;var e=ql;if(ql=null,0!=(48&Dl))throw Error(a(331));var t=Dl;for(Dl|=Cl,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ll(5,n),ul(5,n)}}catch(t){if(null===e)throw Error(a(330));Ou(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Dl=t,Yo(),!0}function Su(e,t,n){di(e,t=wl(e,t=nl(n,t),1073741823)),null!==(e=ru(e,1073741823))&&iu(e)}function Ou(e,t){if(3===e.tag)Su(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Su(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ql||!Ql.has(r))){di(n,e=kl(n,e=nl(t,e),1073741823)),null!==(n=ru(n,1073741823))&&iu(n);break}}n=n.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Il===e&&Rl===n?jl===Nl||jl===Pl&&1073741823===Al&&Wo()-Ul<500?cu(e,Rl):Bl=!0:Vu(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,iu(e)))}function Tu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=tu(t=eu(),e,null)),null!==(e=ru(e,t))&&iu(e)}xl=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||vo.current)Ra=!0;else{if(r<n){switch(Ra=!1,t.tag){case 3:Ha(t),Ia();break;case 5:if(Li(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:wo(t.type)&&_o(t);break;case 4:Fi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,mo(ei,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?qa(e,t,n):(mo(Vi,1&Vi.current),null!==(t=Xa(e,t,n))?t.sibling:null);mo(Vi,1&Vi.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Za(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),mo(Vi,Vi.current),!r)return null}return Xa(e,t,n)}Ra=!1}}else Ra=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=bo(t,go.current),li(t,n),o=Xi(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,wo(r)){var i=!0;_o(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ci(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&bi(t,r,l,e),o.updater=wi,t.stateNode=o,o._reactInternalFiber=t,_i(t,r,e,n),t=Ua(null,t,r,!0,i,n)}else t.tag=0,ja(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return Mu(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===fe)return 14}return 2}(o),e=Jo(o,e),i){case 0:t=Va(null,t,o,e,n);break e;case 1:t=Ba(null,t,o,e,n);break e;case 11:t=Fa(null,t,o,e,n);break e;case 14:t=Aa(null,t,o,Jo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Va(e,t,r,o=t.elementType===r?o:Jo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ba(e,t,r,o=t.elementType===r?o:Jo(r,o),n);case 3:if(Ha(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,fi(e,t),hi(t,r,null,n),(r=t.memoizedState.element)===o)Ia(),t=Xa(e,t,n);else{if((o=t.stateNode.hydrate)&&(Sa=Sn(t.stateNode.containerInfo.firstChild),_a=t,o=Oa=!0),o)for(n=Ni(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else ja(e,t,r,n),Ia();t=t.child}return t;case 5:return Li(t),null===e&&Pa(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,xn(r,o)?l=null:null!==i&&xn(r,i)&&(t.effectTag|=16),za(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(ja(e,t,l,n),t=t.child),t;case 6:return null===e&&Pa(t),null;case 13:return qa(e,t,n);case 4:return Fi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Pi(t,null,r,n):ja(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Fa(e,t,r,o=t.elementType===r?o:Jo(r,o),n);case 7:return ja(e,t,t.pendingProps,n),t.child;case 8:case 12:return ja(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value;var u=t.type._context;if(mo(ei,u._currentValue),u._currentValue=i,null!==l)if(u=l.value,0===(i=Br(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(l.children===o.children&&!vo.current){t=Xa(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&i)){1===u.tag&&((c=pi(n,null)).tag=2,di(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),ai(u.return,n),s.expirationTime<n&&(s.expirationTime=n);break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}ja(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,li(t,n),r=r(o=ui(o,i.unstable_observedBits)),t.effectTag|=1,ja(e,t,r,n),t.child;case 14:return i=Jo(o=t.type,t.pendingProps),Aa(e,t,o,i=Jo(o.type,i),r,n);case 15:return La(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Jo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,wo(r)?(e=!0,_o(t)):e=!1,li(t,n),xi(t,r,o),_i(t,r,o,n),Ua(null,t,r,!0,e,n);case 19:return Za(e,t,n)}throw Error(a(156,t.tag))};var Pu=null,Nu=null;function Du(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Iu(e,t,n,r){return new Du(e,t,n,r)}function Mu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Iu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ju(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Mu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case ne:return Fu(n.children,o,i,t);case le:l=8,o|=7;break;case re:l=8,o|=1;break;case oe:return(e=Iu(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case se:return(e=Iu(13,n,t,o)).type=se,e.elementType=se,e.expirationTime=i,e;case ce:return(e=Iu(19,n,t,o)).elementType=ce,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:l=10;break e;case ae:l=9;break e;case ue:l=11;break e;case fe:l=14;break e;case pe:l=16,r=null;break e;case de:l=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Iu(l,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Fu(e,t,n,r){return(e=Iu(7,e,r,t)).expirationTime=n,e}function Au(e,t,n){return(e=Iu(6,e,null,t)).expirationTime=n,e}function Lu(e,t,n){return(t=Iu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Vu(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Bu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Uu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Hu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Wu(e,t,n,r){var o=t.current,i=eu(),l=vi.suspense;i=tu(i,o,l);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(wo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var s=n.type;if(wo(s)){n=Eo(n,s,u);break e}}n=u}else n=ho;return null===t.context?t.context=n:t.pendingContext=n,(t=pi(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(o,t),nu(o,i),i}function $u(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Qu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Gu(e,t){Qu(e,t),(e=e.alternate)&&Qu(e,t)}function qu(e,t,n){var r=new zu(e,t,n=null!=n&&!0===n.hydrate),o=Iu(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ci(o),e[Nn]=r.current,n&&0!==t&&function(e,t){var n=Je(t);Ct.forEach((function(e){ht(e,t,n)})),Tt.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Ku(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=$u(a);l.call(e)}}Wu(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new qu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=$u(a);u.call(e)}}su((function(){Wu(t,a,e,o)}))}return $u(a)}function Zu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Xu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ku(t))throw Error(a(200));return Zu(e,t,null,n)}qu.prototype.render=function(e){Wu(e,this._internalRoot,null,null)},qu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Wu(null,e,null,(function(){t[Nn]=null}))},gt=function(e){if(13===e.tag){var t=Xo(eu(),150,100);nu(e,t),Gu(e,t)}},vt=function(e){13===e.tag&&(nu(e,3),Gu(e,3))},yt=function(e){if(13===e.tag){var t=eu();nu(e,t=tu(t,e,null)),Gu(e,t)}},T=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Rn(r);if(!o)throw Error(a(90));ke(r),Se(r,o)}}}break;case"textarea":Ie(e,n);break;case"select":null!=(t=n.value)&&Pe(e,!!n.multiple,t,!1)}},R=uu,j=function(e,t,n,r,o){var i=Dl;Dl|=4;try{return Go(98,e.bind(null,t,n,r,o))}finally{0===(Dl=i)&&Yo()}},F=function(){0==(49&Dl)&&(function(){if(null!==Yl){var e=Yl;Yl=null,e.forEach((function(e,t){Hu(t,e),iu(t)})),Yo()}}(),Eu())},A=function(e,t){var n=Dl;Dl|=2;try{return e(t)}finally{0===(Dl=n)&&Yo()}};var Ju={Events:[In,Mn,Rn,O,E,Bn,function(e){it(e,Vn)},I,M,Xt,ut,Eu,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Pu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Nu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}})(o({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Dn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.createPortal=Xu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=rt(t))?null:e.stateNode}},73935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(64448)},35639:(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(67294),a=u(i),l=u(n(45697));function u(e){return e&&e.__esModule?e:{default:e}}var s={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],f=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},p=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),d=function(){return p?"_"+Math.random().toString(36).substr(2,12):void 0},m=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||d(),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||d(),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&&(f(e,this.sizer),this.placeHolderSizer&&f(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 p&&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){c.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:s},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:s},this.props.placeholder):null)}}]),t}(i.Component);m.propTypes={className:l.default.string,defaultValue:l.default.any,extraWidth:l.default.oneOfType([l.default.number,l.default.string]),id:l.default.string,injectStyles:l.default.bool,inputClassName:l.default.string,inputRef:l.default.func,inputStyle:l.default.object,minWidth:l.default.oneOfType([l.default.number,l.default.string]),onAutosize:l.default.func,onChange:l.default.func,placeholder:l.default.string,placeholderIsMinWidth:l.default.bool,style:l.default.object,value:l.default.any},m.defaultProps={minWidth:1,injectStyles:!0},t.Z=m},72408:(e,t,n)=>{"use strict";var r=n(27418),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function k(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var E=x.prototype=new k;E.constructor=x,r(E,w.prototype),E.isPureReactComponent=!0;var _={current:null},S=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r,o={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!O.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:l,props:o,_owner:_.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var P=/\/+/g,N=[];function D(e,t,n,r){if(N.length){var o=N.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function M(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case a:l=!0}}if(l)return n(r,e,""===t?"."+j(e,0):t),1;if(l=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){var s=t+j(o=e[u],u);l+=M(o,s,n,r)}else if(null===e||"object"!=typeof e?s=null:s="function"==typeof(s=g&&e[g]||e["@@iterator"])?s:null,"function"==typeof s)for(e=s.call(e),u=0;!(o=e.next()).done;)l+=M(o=o.value,s=t+j(o,u++),n,r);else if("object"===o)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return l}function R(e,t,n){return null==e?0:M(e,"",t,n)}function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function A(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,(function(e){return e})):null!=e&&(T(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+n)),r.push(e))}function L(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(P,"$&/")+"/"),R(e,A,t=D(t,i,r,o)),I(t)}var z={current:null};function V(){var e=z.current;if(null===e)throw Error(v(321));return e}var B={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return L(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;R(e,F,t=D(null,null,t,n)),I(t)},count:function(e){return R(e,(function(){return null}),null)},toArray:function(e){var t=[];return L(e,t,null,(function(e){return e})),t},only:function(e){if(!T(e))throw Error(v(143));return e}},t.Component=w,t.Fragment=l,t.Profiler=s,t.PureComponent=x,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var o=r({},e.props),a=e.key,l=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,u=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)S.call(t,c)&&!O.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:l,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return V().useCallback(e,t)},t.useContext=function(e,t){return V().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return V().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return V().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},t.useMemo=function(e,t){return V().useMemo(e,t)},t.useReducer=function(e,t,n){return V().useReducer(e,t,n)},t.useRef=function(e){return V().useRef(e)},t.useState=function(e){return V().useState(e)},t.version="16.14.0"},67294:(e,t,n)=>{"use strict";e.exports=n(72408)},60053:(e,t)=>{"use strict";var n,r,o,i,a;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,u=null,s=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(s,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==l?setTimeout(n,0,e):(l=e,setTimeout(s,0))},r=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},i=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,p=window.Date,d=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var g=p.now();t.unstable_now=function(){return p.now()-g}}var v=!1,y=null,b=-1,w=5,k=0;i=function(){return t.unstable_now()>=k},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var x=new MessageChannel,E=x.port2;x.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();k=e+w;try{y(!0,e)?E.postMessage(null):(v=!1,y=null)}catch(e){throw E.postMessage(null),e}}else v=!1},n=function(e){y=e,v||(v=!0,E.postMessage(null))},r=function(e,n){b=d((function(){e(t.unstable_now())}),n)},o=function(){m(b),b=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<C(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function O(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,u=e[l];if(void 0!==a&&0>C(a,n))void 0!==u&&0>C(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>C(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],P=[],N=1,D=null,I=3,M=!1,R=!1,j=!1;function F(e){for(var t=S(P);null!==t;){if(null===t.callback)O(P);else{if(!(t.startTime<=e))break;O(P),t.sortIndex=t.expirationTime,_(T,t)}t=S(P)}}function A(e){if(j=!1,F(e),!R)if(null!==S(T))R=!0,n(L);else{var t=S(P);null!==t&&r(A,t.startTime-e)}}function L(e,n){R=!1,j&&(j=!1,o()),M=!0;var a=I;try{for(F(n),D=S(T);null!==D&&(!(D.expirationTime>n)||e&&!i());){var l=D.callback;if(null!==l){D.callback=null,I=D.priorityLevel;var u=l(D.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?D.callback=u:D===S(T)&&O(T),F(n)}else O(T);D=S(T)}if(null!==D)var s=!0;else{var c=S(P);null!==c&&r(A,c.startTime-n),s=!1}return s}finally{D=null,I=a,M=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||M||(R=!0,n(L))},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_getFirstCallbackNode=function(){return S(T)},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_scheduleCallback=function(e,i,a){var l=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?l+u:l,a="number"==typeof a.timeout?a.timeout:z(e)}else a=z(e),u=l;return e={id:N++,callback:i,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>l?(e.sortIndex=u,_(P,e),null===S(T)&&e===S(P)&&(j?o():j=!0,r(A,u-l))):(e.sortIndex=a,_(T,e),R||M||(R=!0,n(L))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();F(e);var n=S(T);return n!==D&&null!==D&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<D.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}}},63840:(e,t,n)=>{"use strict";e.exports=n(60053)}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,exports:{}};return t[e](i,i.exports,r),i.exports}r.m=t,e=[],r.O=(t,n,o,i)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){for(var[n,o,i]=e[c],l=!0,u=0;u<n.length;u++)(!1&i||a>=i)&&Object.keys(r.O).every((e=>r.O[e](n[u])))?n.splice(u--,1):(l=!1,i<a&&(a=i));if(l){e.splice(c--,1);var s=o();void 0!==s&&(t=s)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,o,i]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={199:0,401:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[a,l,u]=n,s=0;if(a.some((t=>0!==e[t]))){for(o in l)r.o(l,o)&&(r.m[o]=l[o]);if(u)var c=u(r)}for(t&&t(n);s<a.length;s++)i=a[s],r.o(e,i)&&e[i]&&e[i][0](),e[a[s]]=0;return r.O(c)},n=self.webpackChunkgive=self.webpackChunkgive||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var o=r.O(void 0,[401],(()=>r(73792)));o=r.O(o)})();
blocks/donation-form-grid/data/options.js CHANGED
@@ -1,8 +1,7 @@
1
  /**
2
  * WordPress dependencies
3
  */
4
- import { __ } from '@wordpress/i18n'
5
- import giveDonorWallOptions from "../../donor-wall/data/options";
6
 
7
  /**
8
  * Options data for various form selects
@@ -11,47 +10,47 @@ const giveFormOptions = {};
11
 
12
  // Form Order By
13
  giveFormOptions.orderBy = [
14
- { value: 'date', label: __( 'Date Created', 'give' ) },
15
- { value: 'title', label: __( 'Form Name', 'give' ) },
16
- { value: 'amount_donated', label: __( 'Amount Donated', 'give' ) },
17
- { value: 'number_donations', label: __( 'Number of Donations', 'give' ) },
18
- { value: 'menu_order', label: __( 'Menu Order', 'give' ) },
19
- { value: 'post__in', label: __( 'Provided Form IDs', 'give' ) },
20
- { value: 'closest_to_goal', label: __( 'Closest To Goal', 'give' ) },
21
- { value: 'random', label: __( 'Random', 'give' ) },
22
  ];
23
 
24
  // Form Order
25
  giveFormOptions.order = [
26
- { value: 'DESC', label: __( 'Descending', 'give' ) },
27
- { value: 'ASC', label: __( 'Ascending', 'give' ) },
28
  ];
29
 
30
  // Form Display Styles
31
  giveFormOptions.columns = [
32
- { value: '1', label: 'Full Width' },
33
- { value: '2', label: 'Double' },
34
- { value: '3', label: 'Triple' },
35
- { value: '4', label: 'Max (4)' },
36
  ];
37
 
38
  // Form Display Styles
39
  giveFormOptions.displayType = [
40
- { value: 'redirect', label: __( 'Redirect', 'give' ) },
41
- { value: 'modal_reveal', label: __( 'Modal', 'give' ) },
42
  ];
43
 
44
  //Filter
45
  giveFormOptions.filter = [
46
- { value: 'formIDs', label: __( 'Form ID', 'give' ) },
47
- { value: 'categories', label: __( 'Categories', 'give' ) },
48
- { value: 'tags', label: __( 'Tags', 'give' ) },
49
  ];
50
 
51
  //Image Height
52
  giveFormOptions.imageHeight = [
53
- { value: 'auto', label: __( 'Auto', 'give' ) },
54
- { value: 'custom', label: __( 'Custom', 'give' ) },
55
  ]
56
 
57
  export default giveFormOptions;
1
  /**
2
  * WordPress dependencies
3
  */
4
+ import {__} from '@wordpress/i18n'
 
5
 
6
  /**
7
  * Options data for various form selects
10
 
11
  // Form Order By
12
  giveFormOptions.orderBy = [
13
+ {value: 'date', label: __('Date Created', 'give')},
14
+ {value: 'title', label: __('Form Name', 'give')},
15
+ {value: 'amount_donated', label: __('Amount Donated', 'give')},
16
+ {value: 'number_donations', label: __('Number of Donations', 'give')},
17
+ {value: 'menu_order', label: __('Menu Order', 'give')},
18
+ {value: 'post__in', label: __('Provided Form IDs', 'give')},
19
+ {value: 'closest_to_goal', label: __('Closest To Goal', 'give')},
20
+ {value: 'random', label: __('Random', 'give')},
21
  ];
22
 
23
  // Form Order
24
  giveFormOptions.order = [
25
+ {value: 'DESC', label: __('Descending', 'give')},
26
+ {value: 'ASC', label: __('Ascending', 'give')},
27
  ];
28
 
29
  // Form Display Styles
30
  giveFormOptions.columns = [
31
+ {value: '1', label: __('Full Width', 'give')},
32
+ {value: '2', label: __('Double', 'give')},
33
+ {value: '3', label: __('Triple', 'give')},
34
+ {value: '4', label: __('Max (4)', 'give')},
35
  ];
36
 
37
  // Form Display Styles
38
  giveFormOptions.displayType = [
39
+ {value: 'redirect', label: __('Redirect', 'give')},
40
+ {value: 'modal_reveal', label: __('Modal', 'give')},
41
  ];
42
 
43
  //Filter
44
  giveFormOptions.filter = [
45
+ {value: 'formIDs', label: __('Form ID', 'give')},
46
+ {value: 'categories', label: __('Categories', 'give')},
47
+ {value: 'tags', label: __('Tags', 'give')},
48
  ];
49
 
50
  //Image Height
51
  giveFormOptions.imageHeight = [
52
+ {value: 'auto', label: __('Auto', 'give')},
53
+ {value: 'custom', label: __('Custom', 'give')},
54
  ]
55
 
56
  export default giveFormOptions;
blocks/donor-wall/data/attributes.js CHANGED
@@ -1,25 +1,25 @@
1
  /**
2
  * WordPress dependencies
3
  */
4
- import { __ } from '@wordpress/i18n'
5
 
6
  /**
7
  * Block Attributes
8
- */
9
 
10
  const blockAttributes = {
11
- donorsPerPage: {
12
- type: 'string',
13
- default: '12',
14
- },
15
- formID: {
16
- type: 'array',
17
- default: [],
18
- },
19
- ids: {
20
- type: 'array',
21
- default: [],
22
- },
23
  categories: {
24
  type: 'array',
25
  default: [],
@@ -28,74 +28,74 @@ const blockAttributes = {
28
  type: 'string',
29
  default: [],
30
  },
31
- orderBy: {
32
- type: 'string',
33
- default: 'post_date',
34
- },
35
- order: {
36
- type: 'string',
37
- default: 'DESC',
38
- },
39
- paged: {
40
- type: 'string',
41
- default: '1',
42
- },
43
- columns: {
44
- type: 'string',
45
- default: '3',
46
- },
47
- showAvatar: {
48
- type: 'boolean',
49
- default: true,
50
- },
51
- showName: {
52
- type: 'boolean',
53
- default: true,
54
- },
55
- showCompanyName: {
56
- type: 'boolean',
57
- default: false,
58
- },
59
  showForm: {
60
- type: 'boolean',
61
- default: true,
62
- },
63
- showTotal: {
64
- type: 'boolean',
65
- default: true,
66
- },
67
- showComments: {
68
- type: 'boolean',
69
- default: true,
70
- },
71
  showTributes: {
72
  type: 'boolean',
73
  default: true,
74
  },
75
- showAnonymous: {
76
- type: 'boolean',
77
- default: true,
78
- },
79
- onlyComments: {
80
- type: 'boolean',
81
- default: false,
82
- },
83
- commentLength: {
84
- type: 'string',
85
- default: '80',
86
- },
87
- readMoreText: {
88
- type: 'string',
89
- default: __( 'Read more', 'give' ),
90
- },
91
- loadMoreText: {
92
- type: 'string',
93
- default: __( 'Load more', 'give' ),
94
- },
95
- avatarSize: {
96
- type: 'string',
97
- default: '75',
98
- },
99
  toggleOptions: {
100
  type: 'string',
101
  default: 'Donor info',
1
  /**
2
  * WordPress dependencies
3
  */
4
+ import {__} from '@wordpress/i18n'
5
 
6
  /**
7
  * Block Attributes
8
+ */
9
 
10
  const blockAttributes = {
11
+ donorsPerPage: {
12
+ type: 'string',
13
+ default: '12',
14
+ },
15
+ formID: {
16
+ type: 'array',
17
+ default: [],
18
+ },
19
+ ids: {
20
+ type: 'array',
21
+ default: [],
22
+ },
23
  categories: {
24
  type: 'array',
25
  default: [],
28
  type: 'string',
29
  default: [],
30
  },
31
+ orderBy: {
32
+ type: 'string',
33
+ default: 'post_date',
34
+ },
35
+ order: {
36
+ type: 'string',
37
+ default: 'DESC',
38
+ },
39
+ paged: {
40
+ type: 'string',
41
+ default: '1',
42
+ },
43
+ columns: {
44
+ type: 'string',
45
+ default: '3',
46
+ },
47
+ showAvatar: {
48
+ type: 'boolean',
49
+ default: true,
50
+ },
51
+ showName: {
52
+ type: 'boolean',
53
+ default: true,
54
+ },
55
+ showCompanyName: {
56
+ type: 'boolean',
57
+ default: false,
58
+ },
59
  showForm: {
60
+ type: 'boolean',
61
+ default: true,
62
+ },
63
+ showTotal: {
64
+ type: 'boolean',
65
+ default: true,
66
+ },
67
+ showComments: {
68
+ type: 'boolean',
69
+ default: true,
70
+ },
71
  showTributes: {
72
  type: 'boolean',
73
  default: true,
74
  },
75
+ showAnonymous: {
76
+ type: 'boolean',
77
+ default: true,
78
+ },
79
+ onlyComments: {
80
+ type: 'boolean',
81
+ default: false,
82
+ },
83
+ commentLength: {
84
+ type: 'string',
85
+ default: '80',
86
+ },
87
+ readMoreText: {
88
+ type: 'string',
89
+ default: __('Read more', 'give'),
90
+ },
91
+ loadMoreText: {
92
+ type: 'string',
93
+ default: __('Load more', 'give'),
94
+ },
95
+ avatarSize: {
96
+ type: 'string',
97
+ default: '75',
98
+ },
99
  toggleOptions: {
100
  type: 'string',
101
  default: 'Donor info',
blocks/donor-wall/data/options.js CHANGED
@@ -1,7 +1,7 @@
1
  /**
2
  * WordPress dependencies
3
  */
4
- import { __ } from '@wordpress/i18n'
5
 
6
  /**
7
  * Options data for various form selects
@@ -10,38 +10,37 @@ const giveDonorWallOptions = {};
10
 
11
  // Form Display Styles
12
  giveDonorWallOptions.columns = [
13
- { value: '1', label: 'Full width' },
14
- { value: '2', label: 'Double' },
15
- { value: '3', label: 'Triple' },
16
- { value: '4', label: 'Max (4)' },
17
  ];
18
 
19
  // Order
20
  giveDonorWallOptions.order = [
21
- { value: 'DESC', label: __( 'Descending', 'give' ) },
22
- { value: 'ASC', label: __( 'Ascending', 'give' ) },
23
  ];
24
 
25
  // Order
26
  giveDonorWallOptions.orderBy = [
27
- { value: 'donation_amount', label: __( 'Donation Amount', 'give' ) },
28
- { value: 'post_date', label: __( 'Date Created', 'give' ) },
29
  ];
30
 
31
  //Toggle Switch
32
  giveDonorWallOptions.toggleOptions = [
33
- { value: 'Donor info', label: __( 'Donor Info', 'give' ) },
34
- { value: 'Wall attributes', label: __( 'Wall Attributes', 'give' ) },
35
  ];
36
 
37
  //Filter
38
  giveDonorWallOptions.filter = [
39
- { value: 'ids', label: __( 'Donor ID', 'give' ) },
40
- { value: 'formID', label: __( 'Form ID', 'give' ) },
41
- { value: 'categories', label: __( 'Categories', 'give' ) },
42
- { value: 'tags', label: __( 'Tags', 'give' ) },
43
  ];
44
 
45
 
46
-
47
  export default giveDonorWallOptions;
1
  /**
2
  * WordPress dependencies
3
  */
4
+ import {__} from '@wordpress/i18n'
5
 
6
  /**
7
  * Options data for various form selects
10
 
11
  // Form Display Styles
12
  giveDonorWallOptions.columns = [
13
+ {value: '1', label: __('Full width', 'give')},
14
+ {value: '2', label: __('Double', 'give')},
15
+ {value: '3', label: __('Triple', 'give')},
16
+ {value: '4', label: __('Max (4)', 'give')},
17
  ];
18
 
19
  // Order
20
  giveDonorWallOptions.order = [
21
+ {value: 'DESC', label: __('Descending', 'give')},
22
+ {value: 'ASC', label: __('Ascending', 'give')},
23
  ];
24
 
25
  // Order
26
  giveDonorWallOptions.orderBy = [
27
+ {value: 'donation_amount', label: __('Donation Amount', 'give')},
28
+ {value: 'post_date', label: __('Date Created', 'give')},
29
  ];
30
 
31
  //Toggle Switch
32
  giveDonorWallOptions.toggleOptions = [
33
+ {value: 'Donor info', label: __('Donor Info', 'give')},
34
+ {value: 'Wall attributes', label: __('Wall Attributes', 'give')},
35
  ];
36
 
37
  //Filter
38
  giveDonorWallOptions.filter = [
39
+ {value: 'ids', label: __('Donor ID', 'give')},
40
+ {value: 'formID', label: __('Form ID', 'give')},
41
+ {value: 'categories', label: __('Categories', 'give')},
42
+ {value: 'tags', label: __('Tags', 'give')},
43
  ];
44
 
45
 
 
46
  export default giveDonorWallOptions;
give.php CHANGED
@@ -6,7 +6,7 @@
6
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
7
  * Author: GiveWP
8
  * Author URI: https://givewp.com/
9
- * Version: 2.21.0
10
  * Requires at least: 5.0
11
  * Requires PHP: 7.0
12
  * Text Domain: give
@@ -294,7 +294,7 @@ final class Give
294
  {
295
  // Plugin version.
296
  if (!defined('GIVE_VERSION')) {
297
- define('GIVE_VERSION', '2.21.0');
298
  }
299
 
300
  // Plugin Root File.
6
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
7
  * Author: GiveWP
8
  * Author URI: https://givewp.com/
9
+ * Version: 2.21.1
10
  * Requires at least: 5.0
11
  * Requires PHP: 7.0
12
  * Text Domain: give
294
  {
295
  // Plugin version.
296
  if (!defined('GIVE_VERSION')) {
297
+ define('GIVE_VERSION', '2.21.1');
298
  }
299
 
300
  // Plugin Root File.
includes/admin/emails/class-email-setting-field.php CHANGED
@@ -172,7 +172,7 @@ class Give_Email_Setting_Field {
172
  // Add global options.
173
  if ( $form_id || give_is_add_new_form_page() ) {
174
  $option = array(
175
- 'global' => __( 'Global Options' ),
176
  'enabled' => __( 'Customize', 'give' ),
177
  'disabled' => __( 'Disabled', 'give' ),
178
  );
172
  // Add global options.
173
  if ( $form_id || give_is_add_new_form_page() ) {
174
  $option = array(
175
+ 'global' => __( 'Global Options', 'give' ),
176
  'enabled' => __( 'Customize', 'give' ),
177
  'disabled' => __( 'Disabled', 'give' ),
178
  );
includes/admin/settings/class-settings-license.php CHANGED
@@ -211,7 +211,7 @@ if ( ! class_exists( 'Give_Settings_License' ) ) :
211
  <?php
212
  else :
213
  printf(
214
- __( 'Because of security reasons you can not upload add-ons from here. Please <a href="%1$s" target="_blank">visit network plugin install page</a> to install add-ons.' ),
215
  network_admin_url( 'plugin-install.php' )
216
  );
217
  ?>
211
  <?php
212
  else :
213
  printf(
214
+ __( 'Because of security reasons you can not upload add-ons from here. Please <a href="%1$s" target="_blank">visit network plugin install page</a> to install add-ons.', 'give' ),
215
  network_admin_url( 'plugin-install.php' )
216
  );
217
  ?>
includes/admin/settings/class-settings-recurring.php CHANGED
@@ -15,7 +15,7 @@ class Give_Settings_Recurring_Donations_Core extends Give_Settings_Page
15
  public function __construct()
16
  {
17
  $this->id = 'recurring';
18
- $this->label = __('Recurring Donations', 'give-recurring');
19
 
20
  parent::__construct();
21
 
15
  public function __construct()
16
  {
17
  $this->id = 'recurring';
18
+ $this->label = __('Recurring Donations', 'give');
19
 
20
  parent::__construct();
21
 
includes/admin/tools/import/class-give-import-donations.php CHANGED
@@ -468,9 +468,9 @@ if ( ! class_exists( 'Give_Import_Donations' ) ) {
468
  <th colspan="2">
469
  <h2 id="give-import-title"><?php _e( 'Map CSV fields to donations', 'give' ); ?></h2>
470
 
471
- <p class="give-import-donation-required-fields-title"><?php _e( 'Required Fields' ); ?></p>
472
 
473
- <p class="give-field-description"><?php _e( 'These fields are required for the import to submitted' ); ?></p>
474
 
475
  <ul class="give-import-donation-required-fields">
476
  <li class="give-import-donation-required-email"
468
  <th colspan="2">
469
  <h2 id="give-import-title"><?php _e( 'Map CSV fields to donations', 'give' ); ?></h2>
470
 
471
+ <p class="give-import-donation-required-fields-title"><?php _e( 'Required Fields', 'give' ); ?></p>
472
 
473
+ <p class="give-field-description"><?php _e( 'These fields are required for the import to submitted', 'give' ); ?></p>
474
 
475
  <ul class="give-import-donation-required-fields">
476
  <li class="give-import-donation-required-email"
includes/admin/upgrades/views/plugins-update-section.php CHANGED
@@ -49,7 +49,7 @@ foreach ( $plugins as $plugin_data ) {
49
  echo sprintf(
50
  ' &ndash; %s &ndash; %s',
51
  sprintf( _x( 'by %s', 'by author', 'give' ), wp_kses( $author_name, wp_kses_allowed_html( 'post' ) ) ),
52
- sprintf( __( '(Latest Version: %s)' ), $plugin_data['update']->new_version )
53
  );
54
  ?>
55
  </td>
49
  echo sprintf(
50
  ' &ndash; %s &ndash; %s',
51
  sprintf( _x( 'by %s', 'by author', 'give' ), wp_kses( $author_name, wp_kses_allowed_html( 'post' ) ) ),
52
+ sprintf( __( '(Latest Version: %s)', 'give' ), $plugin_data['update']->new_version )
53
  );
54
  ?>
55
  </td>
includes/admin/views/blank-slate.php CHANGED
@@ -22,15 +22,15 @@
22
  <?php endif; ?>
23
 
24
  <?php if ( ! empty( $content['heading'] ) ) : ?>
25
- <h2 class="give-blank-slate__heading"><?php esc_html_e( $content['heading'] ); ?></h2>
26
  <?php endif; ?>
27
 
28
  <?php if ( ! empty( $content['message'] ) ) : ?>
29
- <p class="give-blank-slate__message"><?php esc_html_e( $content['message'] ); ?></p>
30
  <?php endif; ?>
31
 
32
  <?php if ( ! empty( $content['cta_text'] ) && ! empty( $content['cta_link'] ) ) : ?>
33
- <a class="give-blank-slate__cta button button-primary" href="<?php echo esc_url( $content['cta_link'] ); ?>"><?php esc_html_e( $content['cta_text'] ); ?></a>
34
  <?php endif; ?>
35
 
36
  <?php if ( ! empty( $content['help'] ) ) : ?>
22
  <?php endif; ?>
23
 
24
  <?php if ( ! empty( $content['heading'] ) ) : ?>
25
+ <h2 class="give-blank-slate__heading"><?php esc_html_e( $content['heading'], 'give' ); ?></h2>
26
  <?php endif; ?>
27
 
28
  <?php if ( ! empty( $content['message'] ) ) : ?>
29
+ <p class="give-blank-slate__message"><?php esc_html_e( $content['message'], 'give' ); ?></p>
30
  <?php endif; ?>
31
 
32
  <?php if ( ! empty( $content['cta_text'] ) && ! empty( $content['cta_link'] ) ) : ?>
33
+ <a class="give-blank-slate__cta button button-primary" href="<?php echo esc_url( $content['cta_link'] ); ?>"><?php esc_html_e( $content['cta_text'], 'give' ); ?></a>
34
  <?php endif; ?>
35
 
36
  <?php if ( ! empty( $content['help'] ) ) : ?>
includes/class-give-cli-commands.php CHANGED
@@ -1178,11 +1178,11 @@ class GIVE_CLI_COMMAND {
1178
  * current branch of the addon was updated or not.
1179
  */
1180
  if ( 0 === $return_var ) {
1181
- WP_CLI::success( sprintf( __( "The GiveWP add-on '%s' is up-to-date with origin." ), $addon_name ) );
1182
 
1183
  return;
1184
  } elseif ( 1 === $return_var ) {
1185
- WP_CLI::error( sprintf( __( "The GiveWP add-on '%s' was not updated." ), $addon_name ) );
1186
  }
1187
  }
1188
 
1178
  * current branch of the addon was updated or not.
1179
  */
1180
  if ( 0 === $return_var ) {
1181
+ WP_CLI::success( sprintf( __( "The GiveWP add-on '%s' is up-to-date with origin.", 'give' ), $addon_name ) );
1182
 
1183
  return;
1184
  } elseif ( 1 === $return_var ) {
1185
+ WP_CLI::error( sprintf( __( "The GiveWP add-on '%s' was not updated.", 'give' ), $addon_name ) );
1186
  }
1187
  }
1188
 
includes/deprecated/deprecated-actions.php CHANGED
@@ -140,7 +140,7 @@ function give_deprecated_action_mapping( $data, $arg_1 = '', $arg_2 = '', $arg_3
140
 
141
  if ( ! defined( 'DOING_AJAX' ) ) {
142
  // translators: %s: action name.
143
- _give_deprecated_function( sprintf( __( 'The %s action' ), $give_map_deprecated_actions[ $action ] ), '1.7', $action );
144
  }
145
  }
146
  }
140
 
141
  if ( ! defined( 'DOING_AJAX' ) ) {
142
  // translators: %s: action name.
143
+ _give_deprecated_function( sprintf( __( 'The %s action', 'give' ), $give_map_deprecated_actions[ $action ] ), '1.7', $action );
144
  }
145
  }
146
  }
includes/deprecated/deprecated-filters.php CHANGED
@@ -84,7 +84,7 @@ function give_deprecated_filter_mapping( $data, $arg_1 = '', $arg_2 = '', $arg_3
84
  if ( ! defined( 'DOING_AJAX' ) ) {
85
  _give_deprecated_function(
86
  sprintf( /* translators: %s: filter name */
87
- __( 'The %s filter' ),
88
  $give_map_deprecated_filters[ $filter ]
89
  ),
90
  '1.7',
84
  if ( ! defined( 'DOING_AJAX' ) ) {
85
  _give_deprecated_function(
86
  sprintf( /* translators: %s: filter name */
87
+ __( 'The %s filter', 'give' ),
88
  $give_map_deprecated_filters[ $filter ]
89
  ),
90
  '1.7',
includes/gateways/stripe/includes/deprecated/deprecated-filters.php CHANGED
@@ -57,7 +57,7 @@ function give_stripe_deprecated_filter_mapping( $data, $arg_1 = '', $arg_2 = '',
57
  if ( ! defined( 'DOING_AJAX' ) ) {
58
  _give_deprecated_function(
59
  sprintf( /* translators: %s: filter name */
60
- __( 'The %s filter' ),
61
  $give_stripe_map_deprecated_filters[ $filter ]
62
  ),
63
  '2.5.0',
57
  if ( ! defined( 'DOING_AJAX' ) ) {
58
  _give_deprecated_function(
59
  sprintf( /* translators: %s: filter name */
60
+ __( 'The %s filter', 'give' ),
61
  $give_stripe_map_deprecated_filters[ $filter ]
62
  ),
63
  '2.5.0',
includes/libraries/wp-background-process.php CHANGED
@@ -422,7 +422,7 @@ if ( ! class_exists( 'WP_Background_Process' ) ) {
422
  // Adds every 5 minutes to the existing schedules.
423
  $schedules[ $this->identifier . '_cron_interval' ] = array(
424
  'interval' => MINUTE_IN_SECONDS * $interval,
425
- 'display' => sprintf( __( 'Every %d Minutes' ), $interval ),
426
  );
427
 
428
  return $schedules;
422
  // Adds every 5 minutes to the existing schedules.
423
  $schedules[ $this->identifier . '_cron_interval' ] = array(
424
  'interval' => MINUTE_IN_SECONDS * $interval,
425
+ 'display' => sprintf( __( 'Every %d Minutes', 'give' ), $interval ),
426
  );
427
 
428
  return $schedules;
languages/give.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Give - Donation Plugin plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Give - Donation Plugin 2.21.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/givewp\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-06-16T23:43:44+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: give\n"
@@ -67,14 +67,14 @@ msgstr ""
67
  #: blocks/donor-wall/class-give-donor-wall.php:164
68
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:99
69
  #: includes/donors/class-give-donor-wall.php:207
70
- #: assets/dist/js/gutenberg.js:4179
71
  msgid "Read more"
72
  msgstr ""
73
 
74
  #: blocks/donor-wall/class-give-donor-wall.php:168
75
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:106
76
  #: includes/donors/class-give-donor-wall.php:208
77
- #: assets/dist/js/gutenberg.js:4183
78
  msgid "Load more"
79
  msgstr ""
80
 
@@ -496,7 +496,7 @@ msgstr ""
496
 
497
  #: includes/admin/admin-pages.php:59
498
  #: includes/admin/plugins.php:31
499
- #: assets/dist/js/gutenberg.js:3968
500
  msgid "Settings"
501
  msgstr ""
502
 
@@ -868,6 +868,7 @@ msgstr ""
868
  #: src/API/Endpoints/Reports/IncomeBreakdown.php:84
869
  #: src/Donations/DonationsAdminPage.php:43
870
  #: src/Donations/DonationsAdminPage.php:44
 
871
  #: assets/dist/js/donor-dashboards-app.js:16367
872
  #: assets/dist/js/give-admin-donation-forms.js:4556
873
  #: assets/dist/js/give-admin-donations.js:14850
@@ -886,8 +887,8 @@ msgstr ""
886
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:72
887
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:58
888
  #: assets/dist/js/give-admin-donors.js:14441
889
- #: assets/dist/js/gutenberg.js:2913
890
- #: assets/dist/js/gutenberg.js:4256
891
  msgid "Date Created"
892
  msgstr ""
893
 
@@ -1174,7 +1175,7 @@ msgstr ""
1174
  #: includes/admin/donors/donors.php:364
1175
  #: includes/admin/import-functions.php:541
1176
  #: includes/forms/template.php:782
1177
- #: assets/dist/js/gutenberg.js:3970
1178
  msgid "Title"
1179
  msgstr ""
1180
 
@@ -1665,6 +1666,7 @@ msgid "Email Options"
1665
  msgstr ""
1666
 
1667
  #: includes/admin/emails/class-email-notifications.php:132
 
1668
  msgid "Global Options"
1669
  msgstr ""
1670
 
@@ -2325,7 +2327,7 @@ msgstr ""
2325
  #: includes/admin/forms/class-metabox-form-data.php:463
2326
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:66
2327
  #: includes/admin/tools/export/pdf-reports.php:113
2328
- #: assets/dist/js/gutenberg.js:2922
2329
  msgid "Number of Donations"
2330
  msgstr ""
2331
 
@@ -2354,7 +2356,7 @@ msgid "Set the total number of donors as a goal."
2354
  msgstr ""
2355
 
2356
  #: includes/admin/forms/class-metabox-form-data.php:502
2357
- #: assets/dist/js/gutenberg.js:3446
2358
  msgid "Progress Bar Color"
2359
  msgstr ""
2360
 
@@ -2473,24 +2475,24 @@ msgstr ""
2473
  #: includes/admin/forms/dashboard-columns.php:36
2474
  #: includes/admin/tools/export/pdf-reports.php:105
2475
  #: includes/post-types.php:168
2476
- #: assets/dist/js/gutenberg.js:2972
2477
- #: assets/dist/js/gutenberg.js:4275
2478
  msgid "Categories"
2479
  msgstr ""
2480
 
2481
  #: includes/admin/forms/dashboard-columns.php:37
2482
  #: includes/admin/tools/export/pdf-reports.php:110
2483
  #: includes/post-types.php:205
2484
- #: assets/dist/js/gutenberg.js:2975
2485
- #: assets/dist/js/gutenberg.js:4278
2486
  msgid "Tags"
2487
  msgstr ""
2488
 
2489
  #: includes/admin/forms/dashboard-columns.php:39
2490
  #: includes/admin/forms/dashboard-columns.php:536
2491
  #: assets/dist/js/give-admin-donation-forms.js:4514
2492
- #: assets/dist/js/gutenberg.js:3977
2493
- #: assets/dist/js/gutenberg.js:5299
2494
  msgid "Goal"
2495
  msgstr ""
2496
 
@@ -2608,7 +2610,7 @@ msgstr ""
2608
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:56
2609
  #: includes/admin/tools/import/class-give-import-donations.php:501
2610
  #: src/Receipt/DonationReceipt.php:118
2611
- #: assets/dist/js/gutenberg.js:4253
2612
  msgid "Donation Amount"
2613
  msgstr ""
2614
 
@@ -2882,7 +2884,7 @@ msgstr ""
2882
  #: includes/admin/import-functions.php:515
2883
  #: includes/admin/tools/export/give-export-donations-exporter.php:245
2884
  #: includes/admin/tools/export/give-export-donations-functions.php:495
2885
- #: assets/dist/js/gutenberg.js:4269
2886
  msgid "Donor ID"
2887
  msgstr ""
2888
 
@@ -2905,14 +2907,14 @@ msgstr ""
2905
  #: includes/post-types.php:69
2906
  #: assets/dist/js/give-admin-donations.js:14644
2907
  #: assets/dist/js/gutenberg.js:2695
2908
- #: assets/dist/js/gutenberg.js:4059
2909
  msgid "Donation Form"
2910
  msgstr ""
2911
 
2912
  #: includes/admin/import-functions.php:540
2913
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:64
2914
  #: includes/admin/tools/export/pdf-reports.php:100
2915
- #: assets/dist/js/gutenberg.js:2916
2916
  msgid "Form Name"
2917
  msgstr ""
2918
 
@@ -2928,8 +2930,8 @@ msgstr ""
2928
 
2929
  #: includes/admin/import-functions.php:550
2930
  #: includes/admin/tools/export/give-export-donations-exporter.php:224
2931
- #: assets/dist/js/gutenberg.js:2969
2932
- #: assets/dist/js/gutenberg.js:4272
2933
  msgid "Form ID"
2934
  msgstr ""
2935
 
@@ -3602,7 +3604,7 @@ msgid "Last Year"
3602
  msgstr ""
3603
 
3604
  #: includes/admin/reports/graphing.php:516
3605
- #: assets/dist/js/gutenberg.js:2983
3606
  msgid "Custom"
3607
  msgstr ""
3608
 
@@ -3615,8 +3617,8 @@ msgid "To"
3615
  msgstr ""
3616
 
3617
  #: includes/admin/reports/graphing.php:590
3618
- #: assets/dist/js/gutenberg.js:3363
3619
- #: assets/dist/js/gutenberg.js:4671
3620
  msgid "Filter"
3621
  msgstr ""
3622
 
@@ -4421,6 +4423,10 @@ msgstr ""
4421
  msgid "Select File"
4422
  msgstr ""
4423
 
 
 
 
 
4424
  #: includes/admin/settings/class-settings-license.php:228
4425
  msgid "Licenses and Add-ons"
4426
  msgstr ""
@@ -4442,6 +4448,14 @@ msgstr ""
4442
  msgid "The following list displays your add-ons and their corresponding activation and license statuses."
4443
  msgstr ""
4444
 
 
 
 
 
 
 
 
 
4445
  #: includes/admin/shortcodes/abstract-shortcode-generator.php:91
4446
  #: includes/class-give-scripts.php:302
4447
  #: src/Views/IframeView.php:253
@@ -4481,7 +4495,7 @@ msgstr ""
4481
 
4482
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:26
4483
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:27
4484
- #: assets/dist/js/gutenberg.js:3493
4485
  msgid "Donation Form Grid"
4486
  msgstr ""
4487
 
@@ -4522,27 +4536,28 @@ msgid "Different parameter to set the order for the forms display in the form gr
4522
  msgstr ""
4523
 
4524
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:65
4525
- #: assets/dist/js/gutenberg.js:2919
 
4526
  msgid "Amount Donated"
4527
  msgstr ""
4528
 
4529
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:67
4530
- #: assets/dist/js/gutenberg.js:2925
4531
  msgid "Menu Order"
4532
  msgstr ""
4533
 
4534
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:68
4535
- #: assets/dist/js/gutenberg.js:2928
4536
  msgid "Provided Form IDs"
4537
  msgstr ""
4538
 
4539
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:69
4540
- #: assets/dist/js/gutenberg.js:2931
4541
  msgid "Closest To Goal"
4542
  msgstr ""
4543
 
4544
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:70
4545
- #: assets/dist/js/gutenberg.js:2934
4546
  msgid "Random"
4547
  msgstr ""
4548
 
@@ -4557,15 +4572,15 @@ msgstr ""
4557
 
4558
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:80
4559
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:66
4560
- #: assets/dist/js/gutenberg.js:2942
4561
- #: assets/dist/js/gutenberg.js:4248
4562
  msgid "Ascending"
4563
  msgstr ""
4564
 
4565
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:82
4566
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:68
4567
- #: assets/dist/js/gutenberg.js:2939
4568
- #: assets/dist/js/gutenberg.js:4245
4569
  msgid "Descending"
4570
  msgstr ""
4571
 
@@ -4662,7 +4677,7 @@ msgid "Show form as modal window or redirect to a new page?"
4662
  msgstr ""
4663
 
4664
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:133
4665
- #: assets/dist/js/gutenberg.js:2961
4666
  msgid "Redirect"
4667
  msgstr ""
4668
 
@@ -4670,8 +4685,8 @@ msgstr ""
4670
  #: includes/admin/shortcodes/shortcode-give-form.php:104
4671
  #: includes/forms/widget.php:230
4672
  #: src/Views/Form/Templates/Legacy/optionConfig.php:15
4673
- #: assets/dist/js/gutenberg.js:2964
4674
- #: assets/dist/js/gutenberg.js:3594
4675
  msgid "Modal"
4676
  msgstr ""
4677
 
@@ -4698,7 +4713,7 @@ msgstr ""
4698
 
4699
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:27
4700
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:28
4701
- #: assets/dist/js/gutenberg.js:4753
4702
  msgid "Donor Wall"
4703
  msgstr ""
4704
 
@@ -4834,7 +4849,7 @@ msgid "You must first select a Form!"
4834
  msgstr ""
4835
 
4836
  #: includes/admin/shortcodes/shortcode-give-form.php:67
4837
- #: assets/dist/js/gutenberg.js:3266
4838
  msgid "Show Title"
4839
  msgstr ""
4840
 
@@ -4843,7 +4858,7 @@ msgid "Do you want to display the form title?"
4843
  msgstr ""
4844
 
4845
  #: includes/admin/shortcodes/shortcode-give-form.php:77
4846
- #: assets/dist/js/gutenberg.js:3274
4847
  msgid "Show Goal"
4848
  msgstr ""
4849
 
@@ -4890,7 +4905,7 @@ msgstr ""
4890
  #: includes/admin/shortcodes/shortcode-give-form.php:105
4891
  #: includes/forms/widget.php:229
4892
  #: src/Views/Form/Templates/Legacy/optionConfig.php:16
4893
- #: assets/dist/js/gutenberg.js:3597
4894
  msgid "Reveal"
4895
  msgstr ""
4896
 
@@ -5608,11 +5623,11 @@ msgstr ""
5608
  #: src/Views/Form/Templates/Classic/Classic.php:308
5609
  #: src/Views/Form/Templates/Sequoia/sections/income-stats.php:25
5610
  #: assets/dist/js/give-admin-donations.js:14851
5611
- #: assets/dist/js/gutenberg.js:3499
5612
- #: assets/dist/js/gutenberg.js:4065
5613
- #: assets/dist/js/gutenberg.js:4759
5614
- #: assets/dist/js/gutenberg.js:4991
5615
- #: assets/dist/js/gutenberg.js:5423
5616
  msgid "donation"
5617
  msgid_plural "donations"
5618
  msgstr[0] ""
@@ -5683,6 +5698,14 @@ msgstr ""
5683
  msgid "Map CSV fields to donations"
5684
  msgstr ""
5685
 
 
 
 
 
 
 
 
 
5686
  #: includes/admin/tools/import/class-give-import-donations.php:511
5687
  msgid "Form Title or ID"
5688
  msgstr ""
@@ -6761,6 +6784,10 @@ msgstr ""
6761
  msgid "Unlicensed add-ons cannot be updated. Please purchase or renew a valid license."
6762
  msgstr ""
6763
 
 
 
 
 
6764
  #: includes/admin/upgrades/views/upgrades-complete.php:21
6765
  msgid "GiveWP %s Updates Complete"
6766
  msgstr ""
@@ -7109,6 +7136,14 @@ msgstr ""
7109
  msgid "This is not a Git repo"
7110
  msgstr ""
7111
 
 
 
 
 
 
 
 
 
7112
  #: includes/class-give-cli-commands.php:1219
7113
  msgid "%1$s: '%2$s' does not contain git repo."
7114
  msgstr ""
@@ -12387,6 +12422,18 @@ msgstr ""
12387
  msgid "Zambian kwacha (%1$s)"
12388
  msgstr ""
12389
 
 
 
 
 
 
 
 
 
 
 
 
 
12390
  #: includes/deprecated/deprecated-functions.php:69
12391
  msgid "Payment Errors"
12392
  msgstr ""
@@ -13013,12 +13060,12 @@ msgid "Display Content (optional):"
13013
  msgstr ""
13014
 
13015
  #: includes/forms/widget.php:263
13016
- #: assets/dist/js/gutenberg.js:3605
13017
  msgid "Above"
13018
  msgstr ""
13019
 
13020
  #: includes/forms/widget.php:264
13021
- #: assets/dist/js/gutenberg.js:3608
13022
  msgid "Below"
13023
  msgstr ""
13024
 
@@ -13973,6 +14020,10 @@ msgstr ""
13973
  msgid "We're sorry, your donation failed to process. Please try again or contact site support."
13974
  msgstr ""
13975
 
 
 
 
 
13976
  #: includes/login-register.php:122
13977
  #: includes/process-donation.php:971
13978
  msgid "The password you entered is incorrect."
@@ -14721,7 +14772,7 @@ msgstr ""
14721
 
14722
  #: src/DonorDashboards/Helpers/LocationList.php:26
14723
  #: src/Onboarding/Helpers/LocationList.php:23
14724
- #: assets/dist/js/gutenberg.js:5756
14725
  msgid "Select"
14726
  msgstr ""
14727
 
@@ -14798,10 +14849,6 @@ msgstr ""
14798
  msgid "You dont have the right permissions to view Donors"
14799
  msgstr ""
14800
 
14801
- #: src/Form/LegacyConsumer/Commands/DeprecateOldTemplateHook.php:32
14802
- msgid "The %s action"
14803
- msgstr ""
14804
-
14805
  #: src/Form/LegacyConsumer/Commands/SetupFieldValidation.php:95
14806
  msgid "%1$s field value exceed allowed character limit."
14807
  msgstr ""
@@ -14887,7 +14934,7 @@ msgstr ""
14887
 
14888
  #: src/Form/Template/Options.php:242
14889
  #: src/Views/Form/Templates/Sequoia/optionConfig.php:149
14890
- #: assets/dist/js/gutenberg.js:3984
14891
  msgid "Content"
14892
  msgstr ""
14893
 
@@ -14962,6 +15009,42 @@ msgstr ""
14962
  msgid "using Manual API Keys."
14963
  msgstr ""
14964
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14965
  #: src/Log/LogFactory.php:68
14966
  #: src/Log/LogModel.php:129
14967
  msgid "Give Core"
@@ -15008,6 +15091,10 @@ msgstr ""
15008
  msgid "Create new give_migrations table"
15009
  msgstr ""
15010
 
 
 
 
 
15011
  #: src/MultiFormGoals/ProgressBar/Block.php:77
15012
  msgid "Red"
15013
  msgstr ""
@@ -15248,13 +15335,6 @@ msgstr ""
15248
  msgid "Level up your fundraising"
15249
  msgstr ""
15250
 
15251
- #: src/Onboarding/Setup/templates/index.html.php:174
15252
- #: src/Onboarding/Setup/templates/index.html.php:175
15253
- #: assets/dist/js/admin-onboarding-wizard.js:4336
15254
- #: assets/dist/js/donor-dashboards-app.js:22378
15255
- msgid "Recurring Donations"
15256
- msgstr ""
15257
-
15258
  #: src/Onboarding/Setup/templates/index.html.php:176
15259
  msgid "The Recurring Donations add-on for GiveWP brings you more dependable payments by allowing your donors to give regularly at different time intervals. Let your donors choose how often they give and how much. Manage your subscriptions, view specialized reports, and connect more strategically with your recurring donors."
15260
  msgstr ""
@@ -15439,6 +15519,11 @@ msgstr ""
15439
  msgid "PayPal Transaction ID: %s"
15440
  msgstr ""
15441
 
 
 
 
 
 
15442
  #: src/PaymentGateways/Gateways/Stripe/Actions/CreatePaymentIntent.php:71
15443
  msgid "Stripe Charge/Payment Intent ID: %s"
15444
  msgstr ""
@@ -16825,7 +16910,7 @@ msgstr ""
16825
  msgid "Your donation is processing. This page will reload automatically in 8 seconds. If it does not, click <a href=\"%s\">here</a>."
16826
  msgstr ""
16827
 
16828
- #: templates/shortcode-donor-wall.php:33
16829
  msgid "Anonymous User"
16830
  msgstr ""
16831
 
@@ -16835,7 +16920,7 @@ msgid "Anonymous"
16835
  msgstr ""
16836
 
16837
  #. translators: 1: amount of income raised 2: goal target amount.
16838
- #: templates/shortcode-goal.php:187
16839
  msgid ""
16840
  "<div class=\"raised__details\">\n"
16841
  " <span class=\"amount\" data-amounts=\"%1$s\">%2$s</span>\n"
@@ -16844,7 +16929,7 @@ msgid ""
16844
  msgstr ""
16845
 
16846
  #. translators: %s: percentage of the amount raised compared to the goal target
16847
- #: templates/shortcode-goal.php:200
16848
  msgid ""
16849
  "<div class=\"raised__details\">\n"
16850
  " <span class=\"amount\">%s%%</span>\n"
@@ -16853,7 +16938,7 @@ msgid ""
16853
  msgstr ""
16854
 
16855
  #. translators: 1: total number of donations completed 2: total number of donations set as goal
16856
- #: templates/shortcode-goal.php:210
16857
  msgid ""
16858
  "<div class=\"raised__details\">\n"
16859
  " <span class=\"amount\">%s%%</span>\n"
@@ -16868,11 +16953,11 @@ msgstr[0] ""
16868
  msgstr[1] ""
16869
 
16870
  #. translators: 1: total number of donors completed 2: total number of donors set as goal
16871
- #: templates/shortcode-goal.php:229
16872
  msgid ""
16873
  "<div class=\"raised__details\">\n"
16874
  " <span class=\"amount\">%1$s</spanclass>\n"
16875
- " <span class=\"goal\"><span>of</span> %2$s <span>Donors</span> </span>\n"
16876
  " </div>"
16877
  msgid_plural ""
16878
  "<div class=\"raised__details\">\n"
@@ -18238,7 +18323,7 @@ msgid "Switch to Legacy View"
18238
  msgstr ""
18239
 
18240
  #: assets/dist/js/give-log-list-table-app.js:9729
18241
- #: assets/dist/js/gutenberg.js:5346
18242
  msgid "All categories"
18243
  msgstr ""
18244
 
@@ -18345,391 +18430,414 @@ msgstr ""
18345
  msgid "Loading updates activity"
18346
  msgstr ""
18347
 
18348
- #: assets/dist/js/gutenberg.js:2980
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18349
  msgid "Auto"
18350
  msgstr ""
18351
 
18352
- #: assets/dist/js/gutenberg.js:3214
18353
- #: assets/dist/js/gutenberg.js:4483
18354
  msgid "Type the name of your category to add it to the list. Only forms within the categories you choose will be displayed in this grid."
18355
  msgstr ""
18356
 
18357
- #: assets/dist/js/gutenberg.js:3225
18358
- #: assets/dist/js/gutenberg.js:4494
18359
  msgid "Type the name of your tag to add it to the list. Only forms with these tags you choose will be displayed in this grid."
18360
  msgstr ""
18361
 
18362
- #: assets/dist/js/gutenberg.js:3236
18363
- #: assets/dist/js/gutenberg.js:4517
18364
  msgid "Type the ID of your form to add it to the list. Only forms with these IDs you choose will be displayed in this grid."
18365
  msgstr ""
18366
 
18367
- #: assets/dist/js/gutenberg.js:3243
18368
- #: assets/dist/js/gutenberg.js:4524
18369
  msgid "Layout"
18370
  msgstr ""
18371
 
18372
- #: assets/dist/js/gutenberg.js:3246
18373
- #: assets/dist/js/gutenberg.js:3253
18374
- #: assets/dist/js/gutenberg.js:4535
18375
  msgid "Columns"
18376
  msgstr ""
18377
 
18378
- #: assets/dist/js/gutenberg.js:3251
18379
  msgid "Controls how many columns of the Form Grid appear. \"Best Fit\" will adjust responsively to the space available."
18380
  msgstr ""
18381
 
18382
- #: assets/dist/js/gutenberg.js:3261
18383
- #: assets/dist/js/gutenberg.js:4542
18384
  msgid "Display Elements"
18385
  msgstr ""
18386
 
18387
- #: assets/dist/js/gutenberg.js:3282
18388
  msgid "Show Excerpt"
18389
  msgstr ""
18390
 
18391
- #: assets/dist/js/gutenberg.js:3290
18392
  msgid "Show Progress Bar"
18393
  msgstr ""
18394
 
18395
- #: assets/dist/js/gutenberg.js:3298
18396
  msgid "Show Donate Button"
18397
  msgstr ""
18398
 
18399
- #: assets/dist/js/gutenberg.js:3307
18400
  msgid "Show Featured Image"
18401
  msgstr ""
18402
 
18403
- #: assets/dist/js/gutenberg.js:3315
18404
  msgid "Image Size"
18405
  msgstr ""
18406
 
18407
- #: assets/dist/js/gutenberg.js:3324
18408
  msgid "Image Height"
18409
  msgstr ""
18410
 
18411
- #: assets/dist/js/gutenberg.js:3337
18412
  msgid "Featured image height. Default \"auto\". Accepts valid heights in px, em, or rem."
18413
  msgstr ""
18414
 
18415
- #: assets/dist/js/gutenberg.js:3339
18416
  msgid "Grid Settings"
18417
  msgstr ""
18418
 
18419
- #: assets/dist/js/gutenberg.js:3343
18420
  msgid "Order By"
18421
  msgstr ""
18422
 
18423
- #: assets/dist/js/gutenberg.js:3350
18424
  msgid "The order forms are displayed in."
18425
  msgstr ""
18426
 
18427
- #: assets/dist/js/gutenberg.js:3353
18428
- #: assets/dist/js/gutenberg.js:4662
18429
  msgid "Order"
18430
  msgstr ""
18431
 
18432
- #: assets/dist/js/gutenberg.js:3360
18433
  msgid "Whether the order ascends or descends."
18434
  msgstr ""
18435
 
18436
- #: assets/dist/js/gutenberg.js:3373
18437
  msgid "Exclude specific forms?"
18438
  msgstr ""
18439
 
18440
- #: assets/dist/js/gutenberg.js:3380
18441
  msgid "Excluded Form IDs"
18442
  msgstr ""
18443
 
18444
- #: assets/dist/js/gutenberg.js:3387
18445
  msgid "Type the ID of your form to exclude it from the list. Forms with these IDs you choose will not be displayed in this grid."
18446
  msgstr ""
18447
 
18448
- #: assets/dist/js/gutenberg.js:3388
18449
  msgid "Grid Interaction"
18450
  msgstr ""
18451
 
18452
- #: assets/dist/js/gutenberg.js:3392
18453
  msgid "Display Type"
18454
  msgstr ""
18455
 
18456
- #: assets/dist/js/gutenberg.js:3401
18457
  msgid "Users will be redirected to the donation form page."
18458
  msgstr ""
18459
 
18460
- #: assets/dist/js/gutenberg.js:3403
18461
  msgid "Modal with the donation form will be displayed on the same page."
18462
  msgstr ""
18463
 
18464
- #: assets/dist/js/gutenberg.js:3406
18465
  msgid "Forms Per Page"
18466
  msgstr ""
18467
 
18468
- #: assets/dist/js/gutenberg.js:3411
18469
  msgid "Sets the number of forms to be displayed on the first page load."
18470
  msgstr ""
18471
 
18472
- #: assets/dist/js/gutenberg.js:3415
18473
  msgid "Show Pagination"
18474
  msgstr ""
18475
 
18476
- #: assets/dist/js/gutenberg.js:3420
18477
  msgid "Enable form display to multiple pages."
18478
  msgstr ""
18479
 
18480
- #: assets/dist/js/gutenberg.js:3428
18481
  msgid "Tag Background Color"
18482
  msgstr ""
18483
 
18484
- #: assets/dist/js/gutenberg.js:3434
18485
  msgid "Tag Text Color"
18486
  msgstr ""
18487
 
18488
- #: assets/dist/js/gutenberg.js:3440
18489
  msgid "Donate Button Text Color"
18490
  msgstr ""
18491
 
18492
- #: assets/dist/js/gutenberg.js:3494
18493
  msgid "The GiveWP Donation Form Grid block insert an existing donation form into the page. Each form's presentation can be customized below."
18494
  msgstr ""
18495
 
18496
- #: assets/dist/js/gutenberg.js:3499
18497
  msgid "grid"
18498
  msgstr ""
18499
 
18500
- #: assets/dist/js/gutenberg.js:3591
18501
  msgid "Full Form"
18502
  msgstr ""
18503
 
18504
- #: assets/dist/js/gutenberg.js:3600
18505
  msgid "One Button Launch"
18506
  msgstr ""
18507
 
18508
- #: assets/dist/js/gutenberg.js:3938
18509
  msgid "Donation Form Settings"
18510
  msgstr ""
18511
 
18512
- #: assets/dist/js/gutenberg.js:3947
18513
  msgid "Change Donation Form"
18514
  msgstr ""
18515
 
18516
- #: assets/dist/js/gutenberg.js:3948
18517
  msgid "Display"
18518
  msgstr ""
18519
 
18520
- #: assets/dist/js/gutenberg.js:3950
18521
  msgid "Form Format"
18522
  msgstr ""
18523
 
18524
- #: assets/dist/js/gutenberg.js:3959
18525
  msgid "Continue Button Title"
18526
  msgstr ""
18527
 
18528
- #: assets/dist/js/gutenberg.js:3991
18529
  msgid "Content Position"
18530
  msgstr ""
18531
 
18532
- #: assets/dist/js/gutenberg.js:4060
18533
  msgid "The GiveWP Donation Form block inserts an existing donation form into the page. Each donation form's presentation can be customized below."
18534
  msgstr ""
18535
 
18536
- #: assets/dist/js/gutenberg.js:4261
 
 
 
 
18537
  msgid "Donor Info"
18538
  msgstr ""
18539
 
18540
- #: assets/dist/js/gutenberg.js:4264
18541
  msgid "Wall Attributes"
18542
  msgstr ""
18543
 
18544
- #: assets/dist/js/gutenberg.js:4505
18545
  msgid "By default, all donors will display. Use this setting to restrict the donor wall to only display certain donors. Use a comma-separated list of donor IDs."
18546
  msgstr ""
18547
 
18548
- #: assets/dist/js/gutenberg.js:4509
18549
  msgid "By Default, donations to all forms will display. Use this setting to restrict the donor to display only donations to certains forms. Use a comma-separated list of form IDs."
18550
  msgstr ""
18551
 
18552
- #: assets/dist/js/gutenberg.js:4531
18553
  msgid "Controls how many columns of the Form Grid appear. All sizes will adjust responsively to the space available. The maximum number allowed per row is 4"
18554
  msgstr ""
18555
 
18556
- #: assets/dist/js/gutenberg.js:4545
18557
  msgid "Donor info"
18558
  msgstr ""
18559
 
18560
- #: assets/dist/js/gutenberg.js:4545
18561
  msgid "Wall attributes"
18562
  msgstr ""
18563
 
18564
- #: assets/dist/js/gutenberg.js:4553
18565
  msgid "Show Name"
18566
  msgstr ""
18567
 
18568
- #: assets/dist/js/gutenberg.js:4561
18569
  msgid "Show Company Name"
18570
  msgstr ""
18571
 
18572
- #: assets/dist/js/gutenberg.js:4569
18573
  msgid "Show Anonymous"
18574
  msgstr ""
18575
 
18576
- #: assets/dist/js/gutenberg.js:4577
18577
  msgid "Show Avatar"
18578
  msgstr ""
18579
 
18580
- #: assets/dist/js/gutenberg.js:4585
18581
  msgid "Avatar Size"
18582
  msgstr ""
18583
 
18584
- #: assets/dist/js/gutenberg.js:4586
18585
  msgid "Avatar size. Default height is 75. Accepts valid heights in px."
18586
  msgstr ""
18587
 
18588
- #: assets/dist/js/gutenberg.js:4594
18589
  msgid "Show Donation Form"
18590
  msgstr ""
18591
 
18592
- #: assets/dist/js/gutenberg.js:4602
18593
  msgid "Show Total"
18594
  msgstr ""
18595
 
18596
- #: assets/dist/js/gutenberg.js:4610
18597
  msgid "Show Tributes"
18598
  msgstr ""
18599
 
18600
- #: assets/dist/js/gutenberg.js:4618
18601
  msgid "Show Comments"
18602
  msgstr ""
18603
 
18604
- #: assets/dist/js/gutenberg.js:4626
18605
  msgid "Only Comments"
18606
  msgstr ""
18607
 
18608
- #: assets/dist/js/gutenberg.js:4634
18609
  msgid "Comment Length"
18610
  msgstr ""
18611
 
18612
- #: assets/dist/js/gutenberg.js:4635
18613
  msgid "Limits the amount of characters to be displayed on donations with comments."
18614
  msgstr ""
18615
 
18616
- #: assets/dist/js/gutenberg.js:4643
18617
  msgid "Read More Text"
18618
  msgstr ""
18619
 
18620
- #: assets/dist/js/gutenberg.js:4649
18621
  msgid "Wall Settings"
18622
  msgstr ""
18623
 
18624
- #: assets/dist/js/gutenberg.js:4653
18625
  msgid "Sort By"
18626
  msgstr ""
18627
 
18628
- #: assets/dist/js/gutenberg.js:4679
18629
  msgid "Wall Interaction"
18630
  msgstr ""
18631
 
18632
- #: assets/dist/js/gutenberg.js:4684
18633
  msgid "Donors Per Page"
18634
  msgstr ""
18635
 
18636
- #: assets/dist/js/gutenberg.js:4689
18637
  msgid "How many donors should show up on the initial page load?"
18638
  msgstr ""
18639
 
18640
- #: assets/dist/js/gutenberg.js:4693
18641
  msgid "Load More Text"
18642
  msgstr ""
18643
 
18644
- #: assets/dist/js/gutenberg.js:4699
18645
  msgid "Color"
18646
  msgstr ""
18647
 
18648
- #: assets/dist/js/gutenberg.js:4754
18649
  msgid "The GiveWP Donor Wall block displays donations on the front end of the site. The settings below allow you to customize the information displayed"
18650
  msgstr ""
18651
 
18652
- #: assets/dist/js/gutenberg.js:4759
18653
  msgid "wall"
18654
  msgstr ""
18655
 
18656
- #: assets/dist/js/gutenberg.js:4842
18657
  msgid "No form title"
18658
  msgstr ""
18659
 
18660
- #: assets/dist/js/gutenberg.js:4850
18661
  msgid "-- Select Form --"
18662
  msgstr ""
18663
 
18664
- #: assets/dist/js/gutenberg.js:4925
18665
  msgid "Heading"
18666
  msgstr ""
18667
 
18668
- #: assets/dist/js/gutenberg.js:4927
18669
  msgid "Summary"
18670
  msgstr ""
18671
 
18672
- #: assets/dist/js/gutenberg.js:4985
18673
  msgid "Multi-Form Goal"
18674
  msgstr ""
18675
 
18676
- #: assets/dist/js/gutenberg.js:4986
18677
  msgid "The Multi-Form Goals block displays progress made across donation forms towards a common goal."
18678
  msgstr ""
18679
 
18680
- #: assets/dist/js/gutenberg.js:4991
18681
  msgid "multi form goals"
18682
  msgstr ""
18683
 
18684
- #: assets/dist/js/gutenberg.js:5303
18685
  msgid "Goal amount"
18686
  msgstr ""
18687
 
18688
- #: assets/dist/js/gutenberg.js:5311
18689
  msgid "Goal end date"
18690
  msgstr ""
18691
 
18692
- #: assets/dist/js/gutenberg.js:5319
18693
  msgid "Progress bar color"
18694
  msgstr ""
18695
 
18696
- #: assets/dist/js/gutenberg.js:5325
18697
  msgid "Filters"
18698
  msgstr ""
18699
 
18700
- #: assets/dist/js/gutenberg.js:5329
18701
  msgid "Filter by forms"
18702
  msgstr ""
18703
 
18704
- #: assets/dist/js/gutenberg.js:5333
18705
  msgid "All forms"
18706
  msgstr ""
18707
 
18708
- #: assets/dist/js/gutenberg.js:5342
18709
  msgid "Filter by categories"
18710
  msgstr ""
18711
 
18712
- #: assets/dist/js/gutenberg.js:5355
18713
  msgid "Filter by tags"
18714
  msgstr ""
18715
 
18716
- #: assets/dist/js/gutenberg.js:5359
18717
  msgid "All tags"
18718
  msgstr ""
18719
 
18720
- #: assets/dist/js/gutenberg.js:5417
18721
  msgid "Progress Bar"
18722
  msgstr ""
18723
 
18724
- #: assets/dist/js/gutenberg.js:5418
18725
  msgid "The Progress Bar block displays progress made across donation forms towards a common goal."
18726
  msgstr ""
18727
 
18728
- #: assets/dist/js/gutenberg.js:5423
18729
  msgid "progress-bar"
18730
  msgstr ""
18731
 
18732
- #: assets/dist/js/gutenberg.js:5581
18733
  msgid "Set date"
18734
  msgstr ""
18735
 
2
  # This file is distributed under the same license as the Give - Donation Plugin plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Give - Donation Plugin 2.21.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/givewp\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-06-21T21:19:03+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: give\n"
67
  #: blocks/donor-wall/class-give-donor-wall.php:164
68
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:99
69
  #: includes/donors/class-give-donor-wall.php:207
70
+ #: assets/dist/js/gutenberg.js:4177
71
  msgid "Read more"
72
  msgstr ""
73
 
74
  #: blocks/donor-wall/class-give-donor-wall.php:168
75
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:106
76
  #: includes/donors/class-give-donor-wall.php:208
77
+ #: assets/dist/js/gutenberg.js:4181
78
  msgid "Load more"
79
  msgstr ""
80
 
496
 
497
  #: includes/admin/admin-pages.php:59
498
  #: includes/admin/plugins.php:31
499
+ #: assets/dist/js/gutenberg.js:3966
500
  msgid "Settings"
501
  msgstr ""
502
 
868
  #: src/API/Endpoints/Reports/IncomeBreakdown.php:84
869
  #: src/Donations/DonationsAdminPage.php:43
870
  #: src/Donations/DonationsAdminPage.php:44
871
+ #: templates/shortcode-goal.php:259
872
  #: assets/dist/js/donor-dashboards-app.js:16367
873
  #: assets/dist/js/give-admin-donation-forms.js:4556
874
  #: assets/dist/js/give-admin-donations.js:14850
887
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:72
888
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:58
889
  #: assets/dist/js/give-admin-donors.js:14441
890
+ #: assets/dist/js/gutenberg.js:2911
891
+ #: assets/dist/js/gutenberg.js:4254
892
  msgid "Date Created"
893
  msgstr ""
894
 
1175
  #: includes/admin/donors/donors.php:364
1176
  #: includes/admin/import-functions.php:541
1177
  #: includes/forms/template.php:782
1178
+ #: assets/dist/js/gutenberg.js:3968
1179
  msgid "Title"
1180
  msgstr ""
1181
 
1666
  msgstr ""
1667
 
1668
  #: includes/admin/emails/class-email-notifications.php:132
1669
+ #: includes/admin/emails/class-email-setting-field.php:175
1670
  msgid "Global Options"
1671
  msgstr ""
1672
 
2327
  #: includes/admin/forms/class-metabox-form-data.php:463
2328
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:66
2329
  #: includes/admin/tools/export/pdf-reports.php:113
2330
+ #: assets/dist/js/gutenberg.js:2920
2331
  msgid "Number of Donations"
2332
  msgstr ""
2333
 
2356
  msgstr ""
2357
 
2358
  #: includes/admin/forms/class-metabox-form-data.php:502
2359
+ #: assets/dist/js/gutenberg.js:3444
2360
  msgid "Progress Bar Color"
2361
  msgstr ""
2362
 
2475
  #: includes/admin/forms/dashboard-columns.php:36
2476
  #: includes/admin/tools/export/pdf-reports.php:105
2477
  #: includes/post-types.php:168
2478
+ #: assets/dist/js/gutenberg.js:2970
2479
+ #: assets/dist/js/gutenberg.js:4273
2480
  msgid "Categories"
2481
  msgstr ""
2482
 
2483
  #: includes/admin/forms/dashboard-columns.php:37
2484
  #: includes/admin/tools/export/pdf-reports.php:110
2485
  #: includes/post-types.php:205
2486
+ #: assets/dist/js/gutenberg.js:2973
2487
+ #: assets/dist/js/gutenberg.js:4276
2488
  msgid "Tags"
2489
  msgstr ""
2490
 
2491
  #: includes/admin/forms/dashboard-columns.php:39
2492
  #: includes/admin/forms/dashboard-columns.php:536
2493
  #: assets/dist/js/give-admin-donation-forms.js:4514
2494
+ #: assets/dist/js/gutenberg.js:3975
2495
+ #: assets/dist/js/gutenberg.js:5297
2496
  msgid "Goal"
2497
  msgstr ""
2498
 
2610
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:56
2611
  #: includes/admin/tools/import/class-give-import-donations.php:501
2612
  #: src/Receipt/DonationReceipt.php:118
2613
+ #: assets/dist/js/gutenberg.js:4251
2614
  msgid "Donation Amount"
2615
  msgstr ""
2616
 
2884
  #: includes/admin/import-functions.php:515
2885
  #: includes/admin/tools/export/give-export-donations-exporter.php:245
2886
  #: includes/admin/tools/export/give-export-donations-functions.php:495
2887
+ #: assets/dist/js/gutenberg.js:4267
2888
  msgid "Donor ID"
2889
  msgstr ""
2890
 
2907
  #: includes/post-types.php:69
2908
  #: assets/dist/js/give-admin-donations.js:14644
2909
  #: assets/dist/js/gutenberg.js:2695
2910
+ #: assets/dist/js/gutenberg.js:4057
2911
  msgid "Donation Form"
2912
  msgstr ""
2913
 
2914
  #: includes/admin/import-functions.php:540
2915
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:64
2916
  #: includes/admin/tools/export/pdf-reports.php:100
2917
+ #: assets/dist/js/gutenberg.js:2914
2918
  msgid "Form Name"
2919
  msgstr ""
2920
 
2930
 
2931
  #: includes/admin/import-functions.php:550
2932
  #: includes/admin/tools/export/give-export-donations-exporter.php:224
2933
+ #: assets/dist/js/gutenberg.js:2967
2934
+ #: assets/dist/js/gutenberg.js:4270
2935
  msgid "Form ID"
2936
  msgstr ""
2937
 
3604
  msgstr ""
3605
 
3606
  #: includes/admin/reports/graphing.php:516
3607
+ #: assets/dist/js/gutenberg.js:2981
3608
  msgid "Custom"
3609
  msgstr ""
3610
 
3617
  msgstr ""
3618
 
3619
  #: includes/admin/reports/graphing.php:590
3620
+ #: assets/dist/js/gutenberg.js:3361
3621
+ #: assets/dist/js/gutenberg.js:4669
3622
  msgid "Filter"
3623
  msgstr ""
3624
 
4423
  msgid "Select File"
4424
  msgstr ""
4425
 
4426
+ #: includes/admin/settings/class-settings-license.php:214
4427
+ msgid "Because of security reasons you can not upload add-ons from here. Please <a href=\"%1$s\" target=\"_blank\">visit network plugin install page</a> to install add-ons."
4428
+ msgstr ""
4429
+
4430
  #: includes/admin/settings/class-settings-license.php:228
4431
  msgid "Licenses and Add-ons"
4432
  msgstr ""
4448
  msgid "The following list displays your add-ons and their corresponding activation and license statuses."
4449
  msgstr ""
4450
 
4451
+ #: includes/admin/settings/class-settings-recurring.php:18
4452
+ #: src/Onboarding/Setup/templates/index.html.php:174
4453
+ #: src/Onboarding/Setup/templates/index.html.php:175
4454
+ #: assets/dist/js/admin-onboarding-wizard.js:4336
4455
+ #: assets/dist/js/donor-dashboards-app.js:22378
4456
+ msgid "Recurring Donations"
4457
+ msgstr ""
4458
+
4459
  #: includes/admin/shortcodes/abstract-shortcode-generator.php:91
4460
  #: includes/class-give-scripts.php:302
4461
  #: src/Views/IframeView.php:253
4495
 
4496
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:26
4497
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:27
4498
+ #: assets/dist/js/gutenberg.js:3491
4499
  msgid "Donation Form Grid"
4500
  msgstr ""
4501
 
4536
  msgstr ""
4537
 
4538
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:65
4539
+ #: templates/shortcode-donor-wall.php:154
4540
+ #: assets/dist/js/gutenberg.js:2917
4541
  msgid "Amount Donated"
4542
  msgstr ""
4543
 
4544
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:67
4545
+ #: assets/dist/js/gutenberg.js:2923
4546
  msgid "Menu Order"
4547
  msgstr ""
4548
 
4549
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:68
4550
+ #: assets/dist/js/gutenberg.js:2926
4551
  msgid "Provided Form IDs"
4552
  msgstr ""
4553
 
4554
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:69
4555
+ #: assets/dist/js/gutenberg.js:2929
4556
  msgid "Closest To Goal"
4557
  msgstr ""
4558
 
4559
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:70
4560
+ #: assets/dist/js/gutenberg.js:2932
4561
  msgid "Random"
4562
  msgstr ""
4563
 
4572
 
4573
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:80
4574
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:66
4575
+ #: assets/dist/js/gutenberg.js:2940
4576
+ #: assets/dist/js/gutenberg.js:4246
4577
  msgid "Ascending"
4578
  msgstr ""
4579
 
4580
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:82
4581
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:68
4582
+ #: assets/dist/js/gutenberg.js:2937
4583
+ #: assets/dist/js/gutenberg.js:4243
4584
  msgid "Descending"
4585
  msgstr ""
4586
 
4677
  msgstr ""
4678
 
4679
  #: includes/admin/shortcodes/shortcode-give-donation-grid.php:133
4680
+ #: assets/dist/js/gutenberg.js:2959
4681
  msgid "Redirect"
4682
  msgstr ""
4683
 
4685
  #: includes/admin/shortcodes/shortcode-give-form.php:104
4686
  #: includes/forms/widget.php:230
4687
  #: src/Views/Form/Templates/Legacy/optionConfig.php:15
4688
+ #: assets/dist/js/gutenberg.js:2962
4689
+ #: assets/dist/js/gutenberg.js:3592
4690
  msgid "Modal"
4691
  msgstr ""
4692
 
4713
 
4714
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:27
4715
  #: includes/admin/shortcodes/shortcode-give-donor-wall.php:28
4716
+ #: assets/dist/js/gutenberg.js:4751
4717
  msgid "Donor Wall"
4718
  msgstr ""
4719
 
4849
  msgstr ""
4850
 
4851
  #: includes/admin/shortcodes/shortcode-give-form.php:67
4852
+ #: assets/dist/js/gutenberg.js:3264
4853
  msgid "Show Title"
4854
  msgstr ""
4855
 
4858
  msgstr ""
4859
 
4860
  #: includes/admin/shortcodes/shortcode-give-form.php:77
4861
+ #: assets/dist/js/gutenberg.js:3272
4862
  msgid "Show Goal"
4863
  msgstr ""
4864
 
4905
  #: includes/admin/shortcodes/shortcode-give-form.php:105
4906
  #: includes/forms/widget.php:229
4907
  #: src/Views/Form/Templates/Legacy/optionConfig.php:16
4908
+ #: assets/dist/js/gutenberg.js:3595
4909
  msgid "Reveal"
4910
  msgstr ""
4911
 
5623
  #: src/Views/Form/Templates/Classic/Classic.php:308
5624
  #: src/Views/Form/Templates/Sequoia/sections/income-stats.php:25
5625
  #: assets/dist/js/give-admin-donations.js:14851
5626
+ #: assets/dist/js/gutenberg.js:3497
5627
+ #: assets/dist/js/gutenberg.js:4063
5628
+ #: assets/dist/js/gutenberg.js:4757
5629
+ #: assets/dist/js/gutenberg.js:4989
5630
+ #: assets/dist/js/gutenberg.js:5421
5631
  msgid "donation"
5632
  msgid_plural "donations"
5633
  msgstr[0] ""
5698
  msgid "Map CSV fields to donations"
5699
  msgstr ""
5700
 
5701
+ #: includes/admin/tools/import/class-give-import-donations.php:471
5702
+ msgid "Required Fields"
5703
+ msgstr ""
5704
+
5705
+ #: includes/admin/tools/import/class-give-import-donations.php:473
5706
+ msgid "These fields are required for the import to submitted"
5707
+ msgstr ""
5708
+
5709
  #: includes/admin/tools/import/class-give-import-donations.php:511
5710
  msgid "Form Title or ID"
5711
  msgstr ""
6784
  msgid "Unlicensed add-ons cannot be updated. Please purchase or renew a valid license."
6785
  msgstr ""
6786
 
6787
+ #: includes/admin/upgrades/views/plugins-update-section.php:52
6788
+ msgid "(Latest Version: %s)"
6789
+ msgstr ""
6790
+
6791
  #: includes/admin/upgrades/views/upgrades-complete.php:21
6792
  msgid "GiveWP %s Updates Complete"
6793
  msgstr ""
7136
  msgid "This is not a Git repo"
7137
  msgstr ""
7138
 
7139
+ #: includes/class-give-cli-commands.php:1181
7140
+ msgid "The GiveWP add-on '%s' is up-to-date with origin."
7141
+ msgstr ""
7142
+
7143
+ #: includes/class-give-cli-commands.php:1185
7144
+ msgid "The GiveWP add-on '%s' was not updated."
7145
+ msgstr ""
7146
+
7147
  #: includes/class-give-cli-commands.php:1219
7148
  msgid "%1$s: '%2$s' does not contain git repo."
7149
  msgstr ""
12422
  msgid "Zambian kwacha (%1$s)"
12423
  msgstr ""
12424
 
12425
+ #. translators: %s: action name.
12426
+ #: includes/deprecated/deprecated-actions.php:143
12427
+ #: src/Form/LegacyConsumer/Commands/DeprecateOldTemplateHook.php:32
12428
+ msgid "The %s action"
12429
+ msgstr ""
12430
+
12431
+ #. translators: %s: filter name
12432
+ #: includes/deprecated/deprecated-filters.php:87
12433
+ #: includes/gateways/stripe/includes/deprecated/deprecated-filters.php:60
12434
+ msgid "The %s filter"
12435
+ msgstr ""
12436
+
12437
  #: includes/deprecated/deprecated-functions.php:69
12438
  msgid "Payment Errors"
12439
  msgstr ""
13060
  msgstr ""
13061
 
13062
  #: includes/forms/widget.php:263
13063
+ #: assets/dist/js/gutenberg.js:3603
13064
  msgid "Above"
13065
  msgstr ""
13066
 
13067
  #: includes/forms/widget.php:264
13068
+ #: assets/dist/js/gutenberg.js:3606
13069
  msgid "Below"
13070
  msgstr ""
13071
 
14020
  msgid "We're sorry, your donation failed to process. Please try again or contact site support."
14021
  msgstr ""
14022
 
14023
+ #: includes/libraries/wp-background-process.php:425
14024
+ msgid "Every %d Minutes"
14025
+ msgstr ""
14026
+
14027
  #: includes/login-register.php:122
14028
  #: includes/process-donation.php:971
14029
  msgid "The password you entered is incorrect."
14772
 
14773
  #: src/DonorDashboards/Helpers/LocationList.php:26
14774
  #: src/Onboarding/Helpers/LocationList.php:23
14775
+ #: assets/dist/js/gutenberg.js:5754
14776
  msgid "Select"
14777
  msgstr ""
14778
 
14849
  msgid "You dont have the right permissions to view Donors"
14850
  msgstr ""
14851
 
 
 
 
 
14852
  #: src/Form/LegacyConsumer/Commands/SetupFieldValidation.php:95
14853
  msgid "%1$s field value exceed allowed character limit."
14854
  msgstr ""
14934
 
14935
  #: src/Form/Template/Options.php:242
14936
  #: src/Views/Form/Templates/Sequoia/optionConfig.php:149
14937
+ #: assets/dist/js/gutenberg.js:3982
14938
  msgid "Content"
14939
  msgstr ""
14940
 
15009
  msgid "using Manual API Keys."
15010
  msgstr ""
15011
 
15012
+ #: src/LegacySubscriptions/includes/give-subscription.php:208
15013
+ msgid "Can't get property %s"
15014
+ msgstr ""
15015
+
15016
+ #: src/LegacySubscriptions/includes/give-subscription.php:296
15017
+ msgid "Status changed from %s to %s"
15018
+ msgstr ""
15019
+
15020
+ #: src/LegacySubscriptions/includes/give-subscription.php:753
15021
+ msgid "gateway"
15022
+ msgstr ""
15023
+
15024
+ #: src/LegacySubscriptions/includes/give-subscription.php:757
15025
+ msgid "Subscription #%1$d cancelled by %2$s"
15026
+ msgstr ""
15027
+
15028
+ #: src/LegacySubscriptions/includes/give-subscription.php:954
15029
+ msgid "Ongoing"
15030
+ msgstr ""
15031
+
15032
+ #: src/LegacySubscriptions/includes/give-subscriptions-api.php:88
15033
+ msgid "'%s' is not a valid status."
15034
+ msgstr ""
15035
+
15036
+ #: src/LegacySubscriptions/includes/give-subscriptions-api.php:152
15037
+ msgid "No donor found for %s!"
15038
+ msgstr ""
15039
+
15040
+ #: src/LegacySubscriptions/includes/give-subscriptions-api.php:258
15041
+ msgid "No subscriptions found for %s!"
15042
+ msgstr ""
15043
+
15044
+ #: src/LegacySubscriptions/includes/give-subscriptions-api.php:264
15045
+ msgid "No subscriptions found!"
15046
+ msgstr ""
15047
+
15048
  #: src/Log/LogFactory.php:68
15049
  #: src/Log/LogModel.php:129
15050
  msgid "Give Core"
15091
  msgid "Create new give_migrations table"
15092
  msgstr ""
15093
 
15094
+ #: src/MigrationLog/Migrations/MigrateCompletedMigrations.php:45
15095
+ msgid "Migrate completed migrations to give_migrations table"
15096
+ msgstr ""
15097
+
15098
  #: src/MultiFormGoals/ProgressBar/Block.php:77
15099
  msgid "Red"
15100
  msgstr ""
15335
  msgid "Level up your fundraising"
15336
  msgstr ""
15337
 
 
 
 
 
 
 
 
15338
  #: src/Onboarding/Setup/templates/index.html.php:176
15339
  msgid "The Recurring Donations add-on for GiveWP brings you more dependable payments by allowing your donors to give regularly at different time intervals. Let your donors choose how often they give and how much. Manage your subscriptions, view specialized reports, and connect more strategically with your recurring donors."
15340
  msgstr ""
15519
  msgid "PayPal Transaction ID: %s"
15520
  msgstr ""
15521
 
15522
+ #. translators: 1: Stripe checkout payment method session id
15523
+ #: src/PaymentGateways/Gateways/Stripe/Actions/CreateCheckoutSession.php:70
15524
+ msgid "Stripe Checkout Session ID: %s"
15525
+ msgstr ""
15526
+
15527
  #: src/PaymentGateways/Gateways/Stripe/Actions/CreatePaymentIntent.php:71
15528
  msgid "Stripe Charge/Payment Intent ID: %s"
15529
  msgstr ""
16910
  msgid "Your donation is processing. This page will reload automatically in 8 seconds. If it does not, click <a href=\"%s\">here</a>."
16911
  msgstr ""
16912
 
16913
+ #: templates/shortcode-donor-wall.php:32
16914
  msgid "Anonymous User"
16915
  msgstr ""
16916
 
16920
  msgstr ""
16921
 
16922
  #. translators: 1: amount of income raised 2: goal target amount.
16923
+ #: templates/shortcode-goal.php:191
16924
  msgid ""
16925
  "<div class=\"raised__details\">\n"
16926
  " <span class=\"amount\" data-amounts=\"%1$s\">%2$s</span>\n"
16929
  msgstr ""
16930
 
16931
  #. translators: %s: percentage of the amount raised compared to the goal target
16932
+ #: templates/shortcode-goal.php:207
16933
  msgid ""
16934
  "<div class=\"raised__details\">\n"
16935
  " <span class=\"amount\">%s%%</span>\n"
16938
  msgstr ""
16939
 
16940
  #. translators: 1: total number of donations completed 2: total number of donations set as goal
16941
+ #: templates/shortcode-goal.php:220
16942
  msgid ""
16943
  "<div class=\"raised__details\">\n"
16944
  " <span class=\"amount\">%s%%</span>\n"
16953
  msgstr[1] ""
16954
 
16955
  #. translators: 1: total number of donors completed 2: total number of donors set as goal
16956
+ #: templates/shortcode-goal.php:239
16957
  msgid ""
16958
  "<div class=\"raised__details\">\n"
16959
  " <span class=\"amount\">%1$s</spanclass>\n"
16960
+ " <span class=\"goal\">%2$s</span>\n"
16961
  " </div>"
16962
  msgid_plural ""
16963
  "<div class=\"raised__details\">\n"
18323
  msgstr ""
18324
 
18325
  #: assets/dist/js/give-log-list-table-app.js:9729
18326
+ #: assets/dist/js/gutenberg.js:5344
18327
  msgid "All categories"
18328
  msgstr ""
18329
 
18430
  msgid "Loading updates activity"
18431
  msgstr ""
18432
 
18433
+ #: assets/dist/js/gutenberg.js:2945
18434
+ msgid "Full Width"
18435
+ msgstr ""
18436
+
18437
+ #: assets/dist/js/gutenberg.js:2948
18438
+ #: assets/dist/js/gutenberg.js:4232
18439
+ msgid "Double"
18440
+ msgstr ""
18441
+
18442
+ #: assets/dist/js/gutenberg.js:2951
18443
+ #: assets/dist/js/gutenberg.js:4235
18444
+ msgid "Triple"
18445
+ msgstr ""
18446
+
18447
+ #: assets/dist/js/gutenberg.js:2954
18448
+ #: assets/dist/js/gutenberg.js:4238
18449
+ msgid "Max (4)"
18450
+ msgstr ""
18451
+
18452
+ #: assets/dist/js/gutenberg.js:2978
18453
  msgid "Auto"
18454
  msgstr ""
18455
 
18456
+ #: assets/dist/js/gutenberg.js:3212
18457
+ #: assets/dist/js/gutenberg.js:4481
18458
  msgid "Type the name of your category to add it to the list. Only forms within the categories you choose will be displayed in this grid."
18459
  msgstr ""
18460
 
18461
+ #: assets/dist/js/gutenberg.js:3223
18462
+ #: assets/dist/js/gutenberg.js:4492
18463
  msgid "Type the name of your tag to add it to the list. Only forms with these tags you choose will be displayed in this grid."
18464
  msgstr ""
18465
 
18466
+ #: assets/dist/js/gutenberg.js:3234
18467
+ #: assets/dist/js/gutenberg.js:4515
18468
  msgid "Type the ID of your form to add it to the list. Only forms with these IDs you choose will be displayed in this grid."
18469
  msgstr ""
18470
 
18471
+ #: assets/dist/js/gutenberg.js:3241
18472
+ #: assets/dist/js/gutenberg.js:4522
18473
  msgid "Layout"
18474
  msgstr ""
18475
 
18476
+ #: assets/dist/js/gutenberg.js:3244
18477
+ #: assets/dist/js/gutenberg.js:3251
18478
+ #: assets/dist/js/gutenberg.js:4533
18479
  msgid "Columns"
18480
  msgstr ""
18481
 
18482
+ #: assets/dist/js/gutenberg.js:3249
18483
  msgid "Controls how many columns of the Form Grid appear. \"Best Fit\" will adjust responsively to the space available."
18484
  msgstr ""
18485
 
18486
+ #: assets/dist/js/gutenberg.js:3259
18487
+ #: assets/dist/js/gutenberg.js:4540
18488
  msgid "Display Elements"
18489
  msgstr ""
18490
 
18491
+ #: assets/dist/js/gutenberg.js:3280
18492
  msgid "Show Excerpt"
18493
  msgstr ""
18494
 
18495
+ #: assets/dist/js/gutenberg.js:3288
18496
  msgid "Show Progress Bar"
18497
  msgstr ""
18498
 
18499
+ #: assets/dist/js/gutenberg.js:3296
18500
  msgid "Show Donate Button"
18501
  msgstr ""
18502
 
18503
+ #: assets/dist/js/gutenberg.js:3305
18504
  msgid "Show Featured Image"
18505
  msgstr ""
18506
 
18507
+ #: assets/dist/js/gutenberg.js:3313
18508
  msgid "Image Size"
18509
  msgstr ""
18510
 
18511
+ #: assets/dist/js/gutenberg.js:3322
18512
  msgid "Image Height"
18513
  msgstr ""
18514
 
18515
+ #: assets/dist/js/gutenberg.js:3335
18516
  msgid "Featured image height. Default \"auto\". Accepts valid heights in px, em, or rem."
18517
  msgstr ""
18518
 
18519
+ #: assets/dist/js/gutenberg.js:3337
18520
  msgid "Grid Settings"
18521
  msgstr ""
18522
 
18523
+ #: assets/dist/js/gutenberg.js:3341
18524
  msgid "Order By"
18525
  msgstr ""
18526
 
18527
+ #: assets/dist/js/gutenberg.js:3348
18528
  msgid "The order forms are displayed in."
18529
  msgstr ""
18530
 
18531
+ #: assets/dist/js/gutenberg.js:3351
18532
+ #: assets/dist/js/gutenberg.js:4660
18533
  msgid "Order"
18534
  msgstr ""
18535
 
18536
+ #: assets/dist/js/gutenberg.js:3358
18537
  msgid "Whether the order ascends or descends."
18538
  msgstr ""
18539
 
18540
+ #: assets/dist/js/gutenberg.js:3371
18541
  msgid "Exclude specific forms?"
18542
  msgstr ""
18543
 
18544
+ #: assets/dist/js/gutenberg.js:3378
18545
  msgid "Excluded Form IDs"
18546
  msgstr ""
18547
 
18548
+ #: assets/dist/js/gutenberg.js:3385
18549
  msgid "Type the ID of your form to exclude it from the list. Forms with these IDs you choose will not be displayed in this grid."
18550
  msgstr ""
18551
 
18552
+ #: assets/dist/js/gutenberg.js:3386
18553
  msgid "Grid Interaction"
18554
  msgstr ""
18555
 
18556
+ #: assets/dist/js/gutenberg.js:3390
18557
  msgid "Display Type"
18558
  msgstr ""
18559
 
18560
+ #: assets/dist/js/gutenberg.js:3399
18561
  msgid "Users will be redirected to the donation form page."
18562
  msgstr ""
18563
 
18564
+ #: assets/dist/js/gutenberg.js:3401
18565
  msgid "Modal with the donation form will be displayed on the same page."
18566
  msgstr ""
18567
 
18568
+ #: assets/dist/js/gutenberg.js:3404
18569
  msgid "Forms Per Page"
18570
  msgstr ""
18571
 
18572
+ #: assets/dist/js/gutenberg.js:3409
18573
  msgid "Sets the number of forms to be displayed on the first page load."
18574
  msgstr ""
18575
 
18576
+ #: assets/dist/js/gutenberg.js:3413
18577
  msgid "Show Pagination"
18578
  msgstr ""
18579
 
18580
+ #: assets/dist/js/gutenberg.js:3418
18581
  msgid "Enable form display to multiple pages."
18582
  msgstr ""
18583
 
18584
+ #: assets/dist/js/gutenberg.js:3426
18585
  msgid "Tag Background Color"
18586
  msgstr ""
18587
 
18588
+ #: assets/dist/js/gutenberg.js:3432
18589
  msgid "Tag Text Color"
18590
  msgstr ""
18591
 
18592
+ #: assets/dist/js/gutenberg.js:3438
18593
  msgid "Donate Button Text Color"
18594
  msgstr ""
18595
 
18596
+ #: assets/dist/js/gutenberg.js:3492
18597
  msgid "The GiveWP Donation Form Grid block insert an existing donation form into the page. Each form's presentation can be customized below."
18598
  msgstr ""
18599
 
18600
+ #: assets/dist/js/gutenberg.js:3497
18601
  msgid "grid"
18602
  msgstr ""
18603
 
18604
+ #: assets/dist/js/gutenberg.js:3589
18605
  msgid "Full Form"
18606
  msgstr ""
18607
 
18608
+ #: assets/dist/js/gutenberg.js:3598
18609
  msgid "One Button Launch"
18610
  msgstr ""
18611
 
18612
+ #: assets/dist/js/gutenberg.js:3936
18613
  msgid "Donation Form Settings"
18614
  msgstr ""
18615
 
18616
+ #: assets/dist/js/gutenberg.js:3945
18617
  msgid "Change Donation Form"
18618
  msgstr ""
18619
 
18620
+ #: assets/dist/js/gutenberg.js:3946
18621
  msgid "Display"
18622
  msgstr ""
18623
 
18624
+ #: assets/dist/js/gutenberg.js:3948
18625
  msgid "Form Format"
18626
  msgstr ""
18627
 
18628
+ #: assets/dist/js/gutenberg.js:3957
18629
  msgid "Continue Button Title"
18630
  msgstr ""
18631
 
18632
+ #: assets/dist/js/gutenberg.js:3989
18633
  msgid "Content Position"
18634
  msgstr ""
18635
 
18636
+ #: assets/dist/js/gutenberg.js:4058
18637
  msgid "The GiveWP Donation Form block inserts an existing donation form into the page. Each donation form's presentation can be customized below."
18638
  msgstr ""
18639
 
18640
+ #: assets/dist/js/gutenberg.js:4229
18641
+ msgid "Full width"
18642
+ msgstr ""
18643
+
18644
+ #: assets/dist/js/gutenberg.js:4259
18645
  msgid "Donor Info"
18646
  msgstr ""
18647
 
18648
+ #: assets/dist/js/gutenberg.js:4262
18649
  msgid "Wall Attributes"
18650
  msgstr ""
18651
 
18652
+ #: assets/dist/js/gutenberg.js:4503
18653
  msgid "By default, all donors will display. Use this setting to restrict the donor wall to only display certain donors. Use a comma-separated list of donor IDs."
18654
  msgstr ""
18655
 
18656
+ #: assets/dist/js/gutenberg.js:4507
18657
  msgid "By Default, donations to all forms will display. Use this setting to restrict the donor to display only donations to certains forms. Use a comma-separated list of form IDs."
18658
  msgstr ""
18659
 
18660
+ #: assets/dist/js/gutenberg.js:4529
18661
  msgid "Controls how many columns of the Form Grid appear. All sizes will adjust responsively to the space available. The maximum number allowed per row is 4"
18662
  msgstr ""
18663
 
18664
+ #: assets/dist/js/gutenberg.js:4543
18665
  msgid "Donor info"
18666
  msgstr ""
18667
 
18668
+ #: assets/dist/js/gutenberg.js:4543
18669
  msgid "Wall attributes"
18670
  msgstr ""
18671
 
18672
+ #: assets/dist/js/gutenberg.js:4551
18673
  msgid "Show Name"
18674
  msgstr ""
18675
 
18676
+ #: assets/dist/js/gutenberg.js:4559
18677
  msgid "Show Company Name"
18678
  msgstr ""
18679
 
18680
+ #: assets/dist/js/gutenberg.js:4567
18681
  msgid "Show Anonymous"
18682
  msgstr ""
18683
 
18684
+ #: assets/dist/js/gutenberg.js:4575
18685
  msgid "Show Avatar"
18686
  msgstr ""
18687
 
18688
+ #: assets/dist/js/gutenberg.js:4583
18689
  msgid "Avatar Size"
18690
  msgstr ""
18691
 
18692
+ #: assets/dist/js/gutenberg.js:4584
18693
  msgid "Avatar size. Default height is 75. Accepts valid heights in px."
18694
  msgstr ""
18695
 
18696
+ #: assets/dist/js/gutenberg.js:4592
18697
  msgid "Show Donation Form"
18698
  msgstr ""
18699
 
18700
+ #: assets/dist/js/gutenberg.js:4600
18701
  msgid "Show Total"
18702
  msgstr ""
18703
 
18704
+ #: assets/dist/js/gutenberg.js:4608
18705
  msgid "Show Tributes"
18706
  msgstr ""
18707
 
18708
+ #: assets/dist/js/gutenberg.js:4616
18709
  msgid "Show Comments"
18710
  msgstr ""
18711
 
18712
+ #: assets/dist/js/gutenberg.js:4624
18713
  msgid "Only Comments"
18714
  msgstr ""
18715
 
18716
+ #: assets/dist/js/gutenberg.js:4632
18717
  msgid "Comment Length"
18718
  msgstr ""
18719
 
18720
+ #: assets/dist/js/gutenberg.js:4633
18721
  msgid "Limits the amount of characters to be displayed on donations with comments."
18722
  msgstr ""
18723
 
18724
+ #: assets/dist/js/gutenberg.js:4641
18725
  msgid "Read More Text"
18726
  msgstr ""
18727
 
18728
+ #: assets/dist/js/gutenberg.js:4647
18729
  msgid "Wall Settings"
18730
  msgstr ""
18731
 
18732
+ #: assets/dist/js/gutenberg.js:4651
18733
  msgid "Sort By"
18734
  msgstr ""
18735
 
18736
+ #: assets/dist/js/gutenberg.js:4677
18737
  msgid "Wall Interaction"
18738
  msgstr ""
18739
 
18740
+ #: assets/dist/js/gutenberg.js:4682
18741
  msgid "Donors Per Page"
18742
  msgstr ""
18743
 
18744
+ #: assets/dist/js/gutenberg.js:4687
18745
  msgid "How many donors should show up on the initial page load?"
18746
  msgstr ""
18747
 
18748
+ #: assets/dist/js/gutenberg.js:4691
18749
  msgid "Load More Text"
18750
  msgstr ""
18751
 
18752
+ #: assets/dist/js/gutenberg.js:4697
18753
  msgid "Color"
18754
  msgstr ""
18755
 
18756
+ #: assets/dist/js/gutenberg.js:4752
18757
  msgid "The GiveWP Donor Wall block displays donations on the front end of the site. The settings below allow you to customize the information displayed"
18758
  msgstr ""
18759
 
18760
+ #: assets/dist/js/gutenberg.js:4757
18761
  msgid "wall"
18762
  msgstr ""
18763
 
18764
+ #: assets/dist/js/gutenberg.js:4840
18765
  msgid "No form title"
18766
  msgstr ""
18767
 
18768
+ #: assets/dist/js/gutenberg.js:4848
18769
  msgid "-- Select Form --"
18770
  msgstr ""
18771
 
18772
+ #: assets/dist/js/gutenberg.js:4923
18773
  msgid "Heading"
18774
  msgstr ""
18775
 
18776
+ #: assets/dist/js/gutenberg.js:4925
18777
  msgid "Summary"
18778
  msgstr ""
18779
 
18780
+ #: assets/dist/js/gutenberg.js:4983
18781
  msgid "Multi-Form Goal"
18782
  msgstr ""
18783
 
18784
+ #: assets/dist/js/gutenberg.js:4984
18785
  msgid "The Multi-Form Goals block displays progress made across donation forms towards a common goal."
18786
  msgstr ""
18787
 
18788
+ #: assets/dist/js/gutenberg.js:4989
18789
  msgid "multi form goals"
18790
  msgstr ""
18791
 
18792
+ #: assets/dist/js/gutenberg.js:5301
18793
  msgid "Goal amount"
18794
  msgstr ""
18795
 
18796
+ #: assets/dist/js/gutenberg.js:5309
18797
  msgid "Goal end date"
18798
  msgstr ""
18799
 
18800
+ #: assets/dist/js/gutenberg.js:5317
18801
  msgid "Progress bar color"
18802
  msgstr ""
18803
 
18804
+ #: assets/dist/js/gutenberg.js:5323
18805
  msgid "Filters"
18806
  msgstr ""
18807
 
18808
+ #: assets/dist/js/gutenberg.js:5327
18809
  msgid "Filter by forms"
18810
  msgstr ""
18811
 
18812
+ #: assets/dist/js/gutenberg.js:5331
18813
  msgid "All forms"
18814
  msgstr ""
18815
 
18816
+ #: assets/dist/js/gutenberg.js:5340
18817
  msgid "Filter by categories"
18818
  msgstr ""
18819
 
18820
+ #: assets/dist/js/gutenberg.js:5353
18821
  msgid "Filter by tags"
18822
  msgstr ""
18823
 
18824
+ #: assets/dist/js/gutenberg.js:5357
18825
  msgid "All tags"
18826
  msgstr ""
18827
 
18828
+ #: assets/dist/js/gutenberg.js:5415
18829
  msgid "Progress Bar"
18830
  msgstr ""
18831
 
18832
+ #: assets/dist/js/gutenberg.js:5416
18833
  msgid "The Progress Bar block displays progress made across donation forms towards a common goal."
18834
  msgstr ""
18835
 
18836
+ #: assets/dist/js/gutenberg.js:5421
18837
  msgid "progress-bar"
18838
  msgstr ""
18839
 
18840
+ #: assets/dist/js/gutenberg.js:5579
18841
  msgid "Set date"
18842
  msgstr ""
18843
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: donation, donate, recurring donations, fundraising, crowdfunding
5
  Requires at least: 5.0
6
  Tested up to: 6.0
7
  Requires PHP: 7.0
8
- Stable tag: 2.21.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -251,6 +251,10 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
251
  8. GiveWP has a dedicated support team to help answer any questions you may have and help you through stumbling blocks.
252
 
253
  == Changelog ==
 
 
 
 
254
  = 2.21.0: June 16th, 2022 =
255
  * New: Fresh new look for the Donor Wall block and shortcode!
256
  * New: Form Grid looks has a great new look and more visual options!
5
  Requires at least: 5.0
6
  Tested up to: 6.0
7
  Requires PHP: 7.0
8
+ Stable tag: 2.21.1
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
251
  8. GiveWP has a dedicated support team to help answer any questions you may have and help you through stumbling blocks.
252
 
253
  == Changelog ==
254
+ = 2.21.1: June 21st, 2022 =
255
+ * Fix: Resolved a "sort buffer" error on MySQL 5.7 and older
256
+ * Fix: Added and corrected some missing translations
257
+
258
  = 2.21.0: June 16th, 2022 =
259
  * New: Fresh new look for the Donor Wall block and shortcode!
260
  * New: Form Grid looks has a great new look and more visual options!
src/Donors/Repositories/DonorRepository.php CHANGED
@@ -305,21 +305,26 @@ class DonorRepository
305
  }
306
 
307
  /**
 
308
  * @since 2.19.6
309
  *
310
  * @return Donor|null
311
  */
312
  public function getByEmail(string $email)
313
  {
314
- $donorObjectByPrimaryEmail = $this->prepareQuery()
 
 
 
 
315
  ->where('email', $email)
316
  ->get();
317
 
318
- if (!$donorObjectByPrimaryEmail) {
319
- return $this->getByAdditionalEmail($email);
320
  }
321
 
322
- return $donorObjectByPrimaryEmail;
323
  }
324
 
325
  /**
305
  }
306
 
307
  /**
308
+ * @since 2.21.1 optimize query by skipping prepareQuery until found
309
  * @since 2.19.6
310
  *
311
  * @return Donor|null
312
  */
313
  public function getByEmail(string $email)
314
  {
315
+ $queryByPrimaryEmail = DB::table('give_donors')
316
+ ->select(
317
+ 'id',
318
+ 'email'
319
+ )
320
  ->where('email', $email)
321
  ->get();
322
 
323
+ if ($queryByPrimaryEmail) {
324
+ return $this->queryById($queryByPrimaryEmail->id)->get();
325
  }
326
 
327
+ return $this->getByAdditionalEmail($email);
328
  }
329
 
330
  /**
src/Framework/QueryBuilder/Concerns/MetaQuery.php CHANGED
@@ -2,9 +2,9 @@
2
 
3
  namespace Give\Framework\QueryBuilder\Concerns;
4
 
5
- use Give\Framework\QueryBuilder\JoinQueryBuilder;
6
  use Give\Framework\QueryBuilder\Clauses\MetaTable;
7
  use Give\Framework\QueryBuilder\Clauses\RawSQL;
 
8
  use Give\Framework\QueryBuilder\QueryBuilder;
9
 
10
  /**
@@ -71,32 +71,21 @@ trait MetaQuery
71
  /**
72
  * Select meta columns
73
  *
74
- * @param string|RawSQL $table
75
- * @param string $foreignKey
76
- * @param string $primaryKey
77
- * @param array $columns
 
 
 
 
78
  *
79
  * @return $this
80
  */
81
  public function attachMeta($table, $foreignKey, $primaryKey, ...$columns)
82
  {
83
- $groupConcat = false;
84
  $metaTable = $this->getMetaTable($table);
85
 
86
- // Check if we have meta columns that dev wants to group concat
87
- foreach ($columns as $definition) {
88
- if (is_array($definition)) {
89
- list (, , $concat) = array_pad($definition, 3, false);
90
- if ($concat) {
91
- $groupConcat = true;
92
- // Include foreign key so that dev doesn't have to
93
- // he will be confused why he needs this if we don't do it for him, and we also want to prevent errors if sql_mode is only_full_group_by
94
- $this->groupBy($foreignKey);
95
- break;
96
- }
97
- }
98
- }
99
-
100
  foreach ($columns as $i => $definition) {
101
  if (is_array($definition)) {
102
  list ($column, $columnAlias, $concat) = array_pad($definition, 3, false);
@@ -108,7 +97,17 @@ trait MetaQuery
108
  // Set dynamic alias
109
  $tableAlias = sprintf('%s_%s_%d', ($table instanceof RawSQL) ? $table->sql : $table, 'attach_meta', $i);
110
 
 
111
  if ($concat) {
 
 
 
 
 
 
 
 
 
112
  $this->selectRaw(
113
  "CONCAT('[',GROUP_CONCAT(DISTINCT CONCAT('\"',%1s,'\"')),']') AS %2s",
114
  $tableAlias . '.' . $metaTable->valueColumnName,
@@ -119,19 +118,20 @@ trait MetaQuery
119
  }
120
 
121
  $this->join(
122
- function (JoinQueryBuilder $builder) use ($table, $foreignKey, $primaryKey, $tableAlias, $column, $metaTable) {
 
 
 
 
 
 
 
123
  $builder
124
  ->leftJoin($table, $tableAlias)
125
  ->on($foreignKey, "{$tableAlias}.{$primaryKey}")
126
  ->andOn("{$tableAlias}.{$metaTable->keyColumnName}", $column, true);
127
  }
128
  );
129
-
130
- // If this is non-aggregate column - we have to include it in the GROUP BY statement
131
- // otherwise the query will fail on servers that have sql_mode flag set to only_full_group_by
132
- if ($groupConcat && !$concat) {
133
- $this->groupBy($columnAlias ?: $column);
134
- }
135
  }
136
 
137
  return $this;
2
 
3
  namespace Give\Framework\QueryBuilder\Concerns;
4
 
 
5
  use Give\Framework\QueryBuilder\Clauses\MetaTable;
6
  use Give\Framework\QueryBuilder\Clauses\RawSQL;
7
+ use Give\Framework\QueryBuilder\JoinQueryBuilder;
8
  use Give\Framework\QueryBuilder\QueryBuilder;
9
 
10
  /**
71
  /**
72
  * Select meta columns
73
  *
74
+ * @since 2.21.1 optimize group concat functionality
75
+ * @since 2.19.6 add group concat functionality
76
+ * @since 2.19.0
77
+ *
78
+ * @param string|RawSQL $table
79
+ * @param string $foreignKey
80
+ * @param string $primaryKey
81
+ * @param array $columns
82
  *
83
  * @return $this
84
  */
85
  public function attachMeta($table, $foreignKey, $primaryKey, ...$columns)
86
  {
 
87
  $metaTable = $this->getMetaTable($table);
88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  foreach ($columns as $i => $definition) {
90
  if (is_array($definition)) {
91
  list ($column, $columnAlias, $concat) = array_pad($definition, 3, false);
97
  // Set dynamic alias
98
  $tableAlias = sprintf('%s_%s_%d', ($table instanceof RawSQL) ? $table->sql : $table, 'attach_meta', $i);
99
 
100
+ // Check if we have meta columns that dev wants to group concat
101
  if ($concat) {
102
+ /**
103
+ * Include foreign key to prevent errors if sql_mode is only_full_group_by
104
+ *
105
+ * @see https://dev.mysql.com/doc/refman/5.7/en/group-by-handling.html
106
+ */
107
+ $this->groupBy($foreignKey);
108
+
109
+ // Group concat same key values into faux array
110
+ // @example key => ["value1", "value2"]
111
  $this->selectRaw(
112
  "CONCAT('[',GROUP_CONCAT(DISTINCT CONCAT('\"',%1s,'\"')),']') AS %2s",
113
  $tableAlias . '.' . $metaTable->valueColumnName,
118
  }
119
 
120
  $this->join(
121
+ function (JoinQueryBuilder $builder) use (
122
+ $table,
123
+ $foreignKey,
124
+ $primaryKey,
125
+ $tableAlias,
126
+ $column,
127
+ $metaTable
128
+ ) {
129
  $builder
130
  ->leftJoin($table, $tableAlias)
131
  ->on($foreignKey, "{$tableAlias}.{$primaryKey}")
132
  ->andOn("{$tableAlias}.{$metaTable->keyColumnName}", $column, true);
133
  }
134
  );
 
 
 
 
 
 
135
  }
136
 
137
  return $this;
src/LegacySubscriptions/includes/give-subscription.php CHANGED
@@ -205,7 +205,7 @@ class Give_Subscription {
205
 
206
  } else {
207
 
208
- return new WP_Error( 'give-subscription-invalid-property', sprintf( __( 'Can\'t get property %s', 'give-recurring' ), $key ) );
209
 
210
  }
211
 
@@ -293,7 +293,7 @@ class Give_Subscription {
293
  public function update( $args ) {
294
 
295
  if ( isset( $args['status'] ) && strtolower( $this->status ) !== strtolower( $args['status'] ) ) {
296
- $this->add_note( sprintf( __( 'Status changed from %s to %s', 'give-recurring' ), $this->status, $args['status'] ) );
297
  }
298
 
299
  $ret = $this->subs_db->update( $this->id, $args );
@@ -750,11 +750,11 @@ class Give_Subscription {
750
 
751
  } else {
752
 
753
- $user = __( 'gateway', 'give-recurring' );
754
 
755
  }
756
 
757
- $note = sprintf( __( 'Subscription #%1$d cancelled by %2$s', 'give-recurring' ), $this->id, $user );
758
  $this->donor->add_note( $note );
759
  $this->status = 'cancelled';
760
 
@@ -951,7 +951,7 @@ class Give_Subscription {
951
  return sprintf(
952
  '%1$s / %2$s',
953
  $this->get_total_payments(),
954
- 0 === intval( $this->bill_times ) ? __( 'Ongoing', 'give-recurring' ) : $this->bill_times
955
  );
956
  }
957
 
205
 
206
  } else {
207
 
208
+ return new WP_Error( 'give-subscription-invalid-property', sprintf( __( 'Can\'t get property %s', 'give' ), $key ) );
209
 
210
  }
211
 
293
  public function update( $args ) {
294
 
295
  if ( isset( $args['status'] ) && strtolower( $this->status ) !== strtolower( $args['status'] ) ) {
296
+ $this->add_note( sprintf( __( 'Status changed from %s to %s', 'give' ), $this->status, $args['status'] ) );
297
  }
298
 
299
  $ret = $this->subs_db->update( $this->id, $args );
750
 
751
  } else {
752
 
753
+ $user = __( 'gateway', 'give' );
754
 
755
  }
756
 
757
+ $note = sprintf( __( 'Subscription #%1$d cancelled by %2$s', 'give' ), $this->id, $user );
758
  $this->donor->add_note( $note );
759
  $this->status = 'cancelled';
760
 
951
  return sprintf(
952
  '%1$s / %2$s',
953
  $this->get_total_payments(),
954
+ 0 === intval( $this->bill_times ) ? __( 'Ongoing', 'give' ) : $this->bill_times
955
  );
956
  }
957
 
src/LegacySubscriptions/includes/give-subscriptions-api.php CHANGED
@@ -85,7 +85,7 @@ class Give_Subscriptions_API extends Give_API {
85
  }
86
 
87
  if ( null !== $input_status && '' === $status ) {
88
- $error['error'] = sprintf( __( '\'%s\' is not a valid status.', 'give-recurring' ), $input_status );
89
 
90
  return $error;
91
  } else {
@@ -149,7 +149,7 @@ class Give_Subscriptions_API extends Give_API {
149
  $donor = new Give_Donor( $queried_c );
150
 
151
  if ( ! empty( $queried_c ) && ( ! $donor || ! $donor->id > 0 ) ) {
152
- $error['error'] = sprintf( __( 'No donor found for %s!', 'give-recurring' ), $queried_c );
153
 
154
  return $error;
155
  }
@@ -255,13 +255,13 @@ class Give_Subscriptions_API extends Give_API {
255
  }
256
  } elseif ( ! empty( $queried_c ) ) {
257
 
258
- $error['error'] = sprintf( __( 'No subscriptions found for %s!', 'give-recurring' ), $queried_c );
259
 
260
  return $error;
261
 
262
  } else {
263
 
264
- $error['error'] = __( 'No subscriptions found!', 'give-recurring' );
265
 
266
  return $error;
267
 
85
  }
86
 
87
  if ( null !== $input_status && '' === $status ) {
88
+ $error['error'] = sprintf( __( '\'%s\' is not a valid status.', 'give' ), $input_status );
89
 
90
  return $error;
91
  } else {
149
  $donor = new Give_Donor( $queried_c );
150
 
151
  if ( ! empty( $queried_c ) && ( ! $donor || ! $donor->id > 0 ) ) {
152
+ $error['error'] = sprintf( __( 'No donor found for %s!', 'give' ), $queried_c );
153
 
154
  return $error;
155
  }
255
  }
256
  } elseif ( ! empty( $queried_c ) ) {
257
 
258
+ $error['error'] = sprintf( __( 'No subscriptions found for %s!', 'give' ), $queried_c );
259
 
260
  return $error;
261
 
262
  } else {
263
 
264
+ $error['error'] = __( 'No subscriptions found!', 'give' );
265
 
266
  return $error;
267
 
src/MigrationLog/Migrations/MigrateCompletedMigrations.php CHANGED
@@ -42,7 +42,7 @@ class MigrateCompletedMigrations extends Migration
42
  */
43
  public static function title()
44
  {
45
- return esc_html__('Migrate completed migrations to give_migrations table');
46
  }
47
 
48
  /**
42
  */
43
  public static function title()
44
  {
45
+ return esc_html__('Migrate completed migrations to give_migrations table','give' );
46
  }
47
 
48
  /**
src/PaymentGateways/Gateways/Stripe/Actions/CreateCheckoutSession.php CHANGED
@@ -65,7 +65,11 @@ class CreateCheckoutSession
65
 
66
  DonationNote::create([
67
  'donationId' => $donation->id,
68
- 'content' => 'Stripe Checkout Session ID: ' . $session->id()
 
 
 
 
69
  ]);
70
 
71
  $donation->gatewayTransactionId = $session->id();
65
 
66
  DonationNote::create([
67
  'donationId' => $donation->id,
68
+ 'content' => sprintf(
69
+ /* translators: 1: Stripe checkout payment method session id */
70
+ esc_html__( 'Stripe Checkout Session ID: %s', 'give'),
71
+ $session->id()
72
+ )
73
  ]);
74
 
75
  $donation->gatewayTransactionId = $session->id();
src/Views/Form/Templates/Classic/resources/views/receipt.php CHANGED
@@ -70,7 +70,7 @@ ob_start();
70
  <?php if ('enabled' === $option('social_sharing') && ! $hasDonationFailed()) : ?>
71
  <div class="social-sharing">
72
  <p class="instruction">
73
- <?= esc_html__($option('sharing_instructions')); ?>
74
  </p>
75
  <div class="btn-row">
76
  <button class="give-btn social-btn facebook-btn" onclick="GiveClassicTemplate.share(this);">
70
  <?php if ('enabled' === $option('social_sharing') && ! $hasDonationFailed()) : ?>
71
  <div class="social-sharing">
72
  <p class="instruction">
73
+ <?= esc_html__($option('sharing_instructions'),'give' ); ?>
74
  </p>
75
  <div class="btn-row">
76
  <button class="give-btn social-btn facebook-btn" onclick="GiveClassicTemplate.share(this);">
templates/shortcode-donor-wall.php CHANGED
@@ -4,19 +4,19 @@
4
  */
5
 
6
  // Exit if accessed directly.
7
- if ( ! defined( 'ABSPATH' ) ) {
8
- exit;
9
  }
10
 
11
  /** @var $donor Give_Donor */
12
  $donation = $args[0];
13
 
14
  $give_settings = $args[1]; // Give settings.
15
- $atts = $args[2]; // Shortcode attributes.
16
 
17
  $primary_color = $atts['color'];
18
- $avatarSize = (int) $atts['avatar_size'] ;
19
- $tribute_background_color = ! empty( $atts['color']) ? $atts['color'] . '20' :'#219653';
20
 
21
  ?>
22
 
@@ -24,150 +24,153 @@ $tribute_background_color = ! empty( $atts['color']) ? $atts['color'] . '20' :'
24
  <div class="give-grid__item">
25
  <div class="give-donor give-card">
26
  <div class="give-donor-container">
27
- <?php
28
- if ( $atts['show_avatar'] ) {
29
-
30
- if ( !empty($donation['_give_anonymous_donation'])) {
31
- // Donor gave anonymously
32
- $imageUrl = GIVE_PLUGIN_URL . 'assets/dist/images/anonymous-user.svg';
33
- $alt = __('Anonymous User', 'give');
34
-
35
- echo "
36
  <div class='give-donor-container__image' >
37
  <img class='give-donor-container__image__anonymous' src='$imageUrl' alt='$alt' style='height: {$avatarSize}px;'/>
38
  </div>
39
  ";
40
-
41
- } elseif( $donation['_give_payment_donor_email'] && give_validate_gravatar($donation['_give_payment_donor_email'])) {
42
- // Donor has a valid Gravatar
43
- $hash = md5( strtolower( trim( $donation['_give_payment_donor_email'] ) ) );
 
44
 
45
 
46
- echo "
47
  <div class='give-donor-container__image' >
48
  <img src='https://gravatar.com/avatar/$hash' alt='$donor->name' style='height: $avatarSize px;'/>
49
  </div>
50
  ";
 
 
51
 
52
- } else {
53
- // Everyone else
54
-
55
- $initial = esc_html($donation['name_initial']);
56
- echo "
57
  <div class='give-donor-container__image' style='height: {$avatarSize}px; width: {$avatarSize}px;'>
58
  <span class='give-donor-container__image__name_initial'>$initial</span>
59
  </div>
60
  ";
61
- }
62
  }
63
- ?>
64
-
65
- <?php if ( $atts['show_name'] ) : ?>
66
- <h3 class="give-donor-container__name" style='<?php echo ($atts['show_avatar']) ? "text-align: center" : "text-align: left"?>'>
67
- <?php
68
- // Get donor name based on donation parameter.
69
- $donor_name = ! empty( $donation['_give_anonymous_donation'] )
70
- ? esc_html__( 'Anonymous', 'give' )
71
- : trim( $donation['_give_donor_billing_first_name'] . ' ' . $donation['_give_donor_billing_last_name'] );
72
- ?>
73
- <?php echo esc_html( $donor_name ); ?>
74
- </h3>
75
- <?php endif; ?>
76
-
77
- <?php if ( $atts['show_company_name'] && isset( $donation['_give_donation_company'] ) ) : ?>
78
- <h3 class="give-donor-container__name">
79
- <?php echo esc_html( $donation['_give_donation_company'] ); ?>
80
- </h3>
81
- <?php endif; ?>
82
-
83
- <?php
84
- if (
85
- $atts['show_comments']
86
- && absint( $atts['comment_length'] )
87
- && ! empty( $donation['donor_comment'] )
88
- && ! $donation['_give_anonymous_donation']
89
- ) :
90
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  <div class="give-donor-wrapper">
92
- <div class="give-donor-content" style="border-color: <?php echo ! empty( $atts['color']) ? $atts['color'] :'#219653' ?>">
 
93
  <?php
94
- $comment = trim( $donation['donor_comment'] );
95
- $total_chars = strlen( $comment );
96
- $max_chars = $atts['comment_length'];
97
  $read_more_text = $atts['readmore_text'];
98
 
99
 
100
  // A truncated excerpt is displayed if the comment is too long.
101
- if ( $max_chars < $total_chars ) {
102
- $excerpt = '';
103
- $offset = -( $total_chars - $max_chars );
104
- $last_space = strrpos( $comment, ' ', $offset );
105
 
106
- if ( $last_space ) {
107
  // Truncate excerpt at last space before limit.
108
- $excerpt = substr( $comment, 0, $last_space );
109
  } else {
110
  // There are no spaces, so truncate excerpt at limit.
111
- $excerpt = substr( $comment, 0, $max_chars );
112
  }
113
 
114
- $excerpt = trim( $excerpt, '.!,:;' );
115
 
116
  echo "<p class='give-donor-content__excerpt'>$excerpt &hellip;
117
  <span> <a class='give-donor-content__read-more' style='color: {$primary_color}'> $read_more_text </a></span>
118
  </p>";
119
 
120
  echo "<p class='give-donor-content__comment'> $comment </p>";
121
-
122
  }
123
  ?>
124
  </div>
125
  </div>
126
- <?php endif; ?>
127
- <div class="give-donor-details">
128
- <div class="give-donor-details__wrapper">
129
- <?php
130
- $full_form_name = esc_html($donation['_give_payment_form_title']);
131
- $word_count = 3;
132
- preg_match("/(\S+\s*){0,$word_count}/", esc_html($donation['_give_payment_form_title']), $regs);
133
- $truncated_form_name = trim($regs[0] . "...");
134
-
135
- // Determine whether to truncate form name based on amount of words
136
- if ( $atts['show_form'] && $atts['show_total'] && isset( $donation['_give_payment_form_title'] ) ) {
137
- if (str_word_count($donation['_give_payment_form_title'], 0) <= $word_count) {
138
- echo "<span class='give-donor-details__form_title'> $full_form_name </span>";
139
- }
140
- else {
141
- echo "<span class='give-donor-details__form_title'> $truncated_form_name </span>";
142
- }
143
- }
144
-
145
- // Display full form name if ['show_total'] is false
146
- else if ($atts['show_form'] && ! $atts['show_total'] && isset( $donation['_give_payment_form_title'] ) ) {
147
- echo "<span class='give-donor-details__form_title' style='text-align: center'> $full_form_name </span>";
148
- }
149
 
150
- if ($atts['show_total'] ) {
151
- echo "<span class='give-donor-details__amount_donated'>Amount Donated</span>";
 
 
 
152
  }
153
- ?>
154
- </div>
155
 
156
  <?php
157
- $donation_total = give_donation_amount( $donation['donation_id'], true );
158
- $donation_amount = esc_html(substr($donation_total, 0, strpos($donation_total, ".")));
159
 
160
- if ($atts['show_total'] ){
161
- echo "
162
  <span class= 'give-donor-details__total' style='color: {$primary_color}'> $donation_amount </span>
163
  ";
164
- }
165
- ?>
166
- </div>
167
  </div>
 
168
  <?php
169
- if ($atts['show_tributes'] && (isset( $donation['_give_tributes_first_name'] ) || isset( $donation['_give_tributes_Last_name']))) {
170
-
171
  $tribute_message = esc_html($donation['_give_tributes_type']);
172
  $honoree_first_name = esc_html($donation['_give_tributes_first_name']);
173
  $honoree_last_name = esc_html($donation['_give_tributes_last_name']);
@@ -176,12 +179,12 @@ $tribute_background_color = ! empty( $atts['color']) ? $atts['color'] . '20' :'
176
  //Determine if a last name is available
177
  $donation['_give_tributes_last_name'] ?
178
  //Remove full last name, and add as an initial.
179
- trim($honoree_first_name . " " . strtoupper($honoree_last_name [0]) . "." ) :
180
  // Else add period at the end of first name
181
  trim($honoree_first_name) . ".";
182
 
183
  echo
184
- "<div class='give-donor-tribute' style='background-color: {$tribute_background_color} '>
185
  <span>
186
  <svg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' class='give-donor-tribute__svg'>
187
  <path fill='$primary_color' opacity='0.4' d='M11.9667 5.13998L11.8734 5.08665L10.9467 4.55332L9.0334 3.44665C8.44673 3.10665 7.5534 3.10665 6.96673 3.44665L5.0534 4.55332L4.12673 5.09332L4.00673 5.15998C2.8134 5.95998 2.7334 6.10665 2.7334 7.39332V10.4667C2.7334 11.7533 2.8134 11.9 4.0334 12.72L6.96673 14.4133C7.26007 14.5867 7.62673 14.6667 8.00007 14.6667C8.36673 14.6667 8.74007 14.5867 9.0334 14.4133L11.9934 12.7C13.1867 11.9 13.2667 11.7533 13.2667 10.4667V7.39332C13.2667 6.10665 13.1867 5.95998 11.9667 5.13998Z' fill='#15AE56'/>
@@ -195,7 +198,7 @@ $tribute_background_color = ! empty( $atts['color']) ? $atts['color'] . '20' :'
195
  <span> $honoree_full_name </span>
196
  </span>
197
  </div>";
198
- }
199
  ?>
200
  </div>
201
  </div>
4
  */
5
 
6
  // Exit if accessed directly.
7
+ if (!defined('ABSPATH')) {
8
+ exit;
9
  }
10
 
11
  /** @var $donor Give_Donor */
12
  $donation = $args[0];
13
 
14
  $give_settings = $args[1]; // Give settings.
15
+ $atts = $args[2]; // Shortcode attributes.
16
 
17
  $primary_color = $atts['color'];
18
+ $avatarSize = (int)$atts['avatar_size'];
19
+ $tribute_background_color = !empty($atts['color']) ? $atts['color'] . '20' : '#219653';
20
 
21
  ?>
22
 
24
  <div class="give-grid__item">
25
  <div class="give-donor give-card">
26
  <div class="give-donor-container">
27
+ <?php
28
+ if ($atts['show_avatar']) {
29
+ if (!empty($donation['_give_anonymous_donation'])) {
30
+ // Donor gave anonymously
31
+ $imageUrl = GIVE_PLUGIN_URL . 'assets/dist/images/anonymous-user.svg';
32
+ $alt = __('Anonymous User', 'give');
33
+
34
+ echo "
 
35
  <div class='give-donor-container__image' >
36
  <img class='give-donor-container__image__anonymous' src='$imageUrl' alt='$alt' style='height: {$avatarSize}px;'/>
37
  </div>
38
  ";
39
+ } elseif ($donation['_give_payment_donor_email'] && give_validate_gravatar(
40
+ $donation['_give_payment_donor_email']
41
+ )) {
42
+ // Donor has a valid Gravatar
43
+ $hash = md5(strtolower(trim($donation['_give_payment_donor_email'])));
44
 
45
 
46
+ echo "
47
  <div class='give-donor-container__image' >
48
  <img src='https://gravatar.com/avatar/$hash' alt='$donor->name' style='height: $avatarSize px;'/>
49
  </div>
50
  ";
51
+ } else {
52
+ // Everyone else
53
 
54
+ $initial = esc_html($donation['name_initial']);
55
+ echo "
 
 
 
56
  <div class='give-donor-container__image' style='height: {$avatarSize}px; width: {$avatarSize}px;'>
57
  <span class='give-donor-container__image__name_initial'>$initial</span>
58
  </div>
59
  ";
 
60
  }
61
+ }
62
+ ?>
63
+
64
+ <?php if ($atts['show_name']) : ?>
65
+ <h3 class="give-donor-container__name"
66
+ style='<?php echo ($atts['show_avatar']) ? "text-align: center" : "text-align: left" ?>'>
67
+ <?php
68
+ // Get donor name based on donation parameter.
69
+ $donor_name = !empty($donation['_give_anonymous_donation'])
70
+ ? esc_html__('Anonymous', 'give')
71
+ : trim(
72
+ $donation['_give_donor_billing_first_name'] . ' ' . $donation['_give_donor_billing_last_name']
73
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  ?>
75
+ <?php echo esc_html($donor_name); ?>
76
+ </h3>
77
+ <?php endif; ?>
78
+
79
+ <?php if ($atts['show_company_name'] && isset($donation['_give_donation_company'])) : ?>
80
+ <h3 class="give-donor-container__name">
81
+ <?php echo esc_html($donation['_give_donation_company']); ?>
82
+ </h3>
83
+ <?php endif; ?>
84
+
85
+ <?php
86
+ if (
87
+ $atts['show_comments']
88
+ && absint($atts['comment_length'])
89
+ && !empty($donation['donor_comment'])
90
+ && !$donation['_give_anonymous_donation']
91
+ ) :
92
+ ?>
93
  <div class="give-donor-wrapper">
94
+ <div class="give-donor-content"
95
+ style="border-color: <?php echo !empty($atts['color']) ? $atts['color'] : '#219653' ?>">
96
  <?php
97
+ $comment = trim($donation['donor_comment']);
98
+ $total_chars = strlen($comment);
99
+ $max_chars = $atts['comment_length'];
100
  $read_more_text = $atts['readmore_text'];
101
 
102
 
103
  // A truncated excerpt is displayed if the comment is too long.
104
+ if ($max_chars < $total_chars) {
105
+ $excerpt = '';
106
+ $offset = -($total_chars - $max_chars);
107
+ $last_space = strrpos($comment, ' ', $offset);
108
 
109
+ if ($last_space) {
110
  // Truncate excerpt at last space before limit.
111
+ $excerpt = substr($comment, 0, $last_space);
112
  } else {
113
  // There are no spaces, so truncate excerpt at limit.
114
+ $excerpt = substr($comment, 0, $max_chars);
115
  }
116
 
117
+ $excerpt = trim($excerpt, '.!,:;');
118
 
119
  echo "<p class='give-donor-content__excerpt'>$excerpt &hellip;
120
  <span> <a class='give-donor-content__read-more' style='color: {$primary_color}'> $read_more_text </a></span>
121
  </p>";
122
 
123
  echo "<p class='give-donor-content__comment'> $comment </p>";
 
124
  }
125
  ?>
126
  </div>
127
  </div>
128
+ <?php endif; ?>
129
+ <div class="give-donor-details">
130
+ <div class="give-donor-details__wrapper">
131
+ <?php
132
+ $full_form_name = esc_html($donation['_give_payment_form_title']);
133
+ $word_count = 3;
134
+ preg_match("/(\S+\s*){0,$word_count}/", esc_html($donation['_give_payment_form_title']), $regs);
135
+ $truncated_form_name = trim($regs[0] . "...");
136
+
137
+ // Determine whether to truncate form name based on amount of words
138
+ if ($atts['show_form'] && $atts['show_total'] && isset($donation['_give_payment_form_title'])) {
139
+ if (str_word_count($donation['_give_payment_form_title'], 0) <= $word_count) {
140
+ echo "<span class='give-donor-details__form_title'> $full_form_name </span>";
141
+ } else {
142
+ echo "<span class='give-donor-details__form_title'> $truncated_form_name </span>";
143
+ }
144
+ } // Display full form name if ['show_total'] is false
145
+ else {
146
+ if ($atts['show_form'] && !$atts['show_total'] && isset($donation['_give_payment_form_title'])) {
147
+ echo "<span class='give-donor-details__form_title' style='text-align: center'> $full_form_name </span>";
148
+ }
149
+ }
 
150
 
151
+ if ($atts['show_total']) {
152
+ echo sprintf(
153
+ '<span class=\'give - donor - details__amount_donated\'>%1$s</span>',
154
+ esc_html__('Amount Donated', 'give')
155
+ );
156
  }
157
+ ?>
158
+ </div>
159
 
160
  <?php
161
+ $donation_total = give_donation_amount($donation['donation_id'], true);
162
+ $donation_amount = esc_html(substr($donation_total, 0, strpos($donation_total, ".")));
163
 
164
+ if ($atts['show_total']) {
165
+ echo "
166
  <span class= 'give-donor-details__total' style='color: {$primary_color}'> $donation_amount </span>
167
  ";
168
+ }
169
+ ?>
 
170
  </div>
171
+ </div>
172
  <?php
173
+ if ($atts['show_tributes'] && (isset($donation['_give_tributes_first_name']) || isset($donation['_give_tributes_Last_name']))) {
 
174
  $tribute_message = esc_html($donation['_give_tributes_type']);
175
  $honoree_first_name = esc_html($donation['_give_tributes_first_name']);
176
  $honoree_last_name = esc_html($donation['_give_tributes_last_name']);
179
  //Determine if a last name is available
180
  $donation['_give_tributes_last_name'] ?
181
  //Remove full last name, and add as an initial.
182
+ trim($honoree_first_name . " " . strtoupper($honoree_last_name [0]) . ".") :
183
  // Else add period at the end of first name
184
  trim($honoree_first_name) . ".";
185
 
186
  echo
187
+ "<div class='give-donor-tribute' style='background-color: {$tribute_background_color} '>
188
  <span>
189
  <svg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' class='give-donor-tribute__svg'>
190
  <path fill='$primary_color' opacity='0.4' d='M11.9667 5.13998L11.8734 5.08665L10.9467 4.55332L9.0334 3.44665C8.44673 3.10665 7.5534 3.10665 6.96673 3.44665L5.0534 4.55332L4.12673 5.09332L4.00673 5.15998C2.8134 5.95998 2.7334 6.10665 2.7334 7.39332V10.4667C2.7334 11.7533 2.8134 11.9 4.0334 12.72L6.96673 14.4133C7.26007 14.5867 7.62673 14.6667 8.00007 14.6667C8.36673 14.6667 8.74007 14.5867 9.0334 14.4133L11.9934 12.7C13.1867 11.9 13.2667 11.7533 13.2667 10.4667V7.39332C13.2667 6.10665 13.1867 5.95998 11.9667 5.13998Z' fill='#15AE56'/>
198
  <span> $honoree_full_name </span>
199
  </span>
200
  </div>";
201
+ }
202
  ?>
203
  </div>
204
  </div>
templates/shortcode-goal.php CHANGED
@@ -3,70 +3,68 @@
3
  * This template is used to display the goal with [give_goal]
4
  */
5
 
6
- $form = new Give_Donate_Form( $form_id );
7
- $goal_option = give_get_meta( $form->ID, '_give_goal_option', true );
8
 
9
  // Sanity check - ensure form has pass all condition to show goal.
10
- if ( ( isset( $args['show_goal'] ) && ! filter_var( $args['show_goal'], FILTER_VALIDATE_BOOLEAN ) )
11
- || empty( $form->ID )
12
- || ( is_singular( 'give_forms' ) && ! give_is_setting_enabled( $goal_option ) )
13
- || ! give_is_setting_enabled( $goal_option ) || 0 === $form->goal ) {
14
- return false;
15
  }
16
 
17
- $goal_progress_stats = give_goal_progress_stats( $form );
18
- $goal_format = $goal_progress_stats['format'];
19
- $color = $args['progress_bar_color'];
20
- $show_text = isset( $args['show_text'] ) ? filter_var( $args['show_text'], FILTER_VALIDATE_BOOLEAN ) : true;
21
- $show_bar = isset( $args['show_bar'] ) ? filter_var( $args['show_bar'], FILTER_VALIDATE_BOOLEAN ) : true;
22
 
23
  /**
24
  * Allow filtering the goal stats used for this shortcode context.
25
  *
26
  * @unreleased
27
  *
28
- * @param array $stats The income and goal values for this form goal.
29
- * @param int $form_id Donation Form ID.
30
- * @param array $goal_progress_stats The full goal progress stats.
31
- * @param array $args The full list of shortcode arguments passed.
32
  */
33
  $shortcode_stats = apply_filters(
34
  'give_goal_shortcode_stats',
35
- array(
36
  'income' => $form->get_earnings(),
37
- 'goal' => $goal_progress_stats['raw_goal'],
38
- ),
39
  $form_id,
40
  $goal_progress_stats,
41
  $args
42
  );
43
 
44
  $income = $shortcode_stats['income'];
45
- $goal = $shortcode_stats['goal'];
46
 
47
 
48
- switch ( $goal_format ) {
49
-
50
  case 'donation':
51
- $progress = $goal ? round( ( $form->get_sales() / $goal ) * 100, 2 ) : 0;
52
  $progress_bar_value = $form->get_sales() >= $goal ? 100 : $progress;
53
  break;
54
 
55
  case 'donors':
56
- $progress = $goal ? round( ( give_get_form_donor_count( $form->ID ) / $goal ) * 100, 2 ) : 0;
57
- $progress_bar_value = give_get_form_donor_count( $form->ID ) >= $goal ? 100 : $progress;
58
  break;
59
 
60
  case 'percentage':
61
- $progress = $goal ? round( ( $income / $goal ) * 100, 2 ) : 0;
62
  $progress_bar_value = $income >= $goal ? 100 : $progress;
63
  break;
64
 
65
  default:
66
- $progress = $goal ? round( ( $income / $goal ) * 100, 2 ) : 0;
67
  $progress_bar_value = $income >= $goal ? 100 : $progress;
68
  break;
69
-
70
  }
71
 
72
  /**
@@ -74,180 +72,192 @@ switch ( $goal_format ) {
74
  *
75
  * @since 1.8.8
76
  */
77
- $progress = apply_filters( 'give_goal_amount_funded_percentage_output', $progress, $form_id, $form );
78
-
79
 
80
 
81
  ?>
82
  <div class="give-goal-progress">
83
- <?php if ( ! empty( $show_bar ) ) :
84
  $style = "width:$progress_bar_value%;";
85
  $style .= "background: linear-gradient(180deg, {$color} 0%, {$color} 100%); background-blend-mode: multiply;";
86
  ?>
87
  <div class="progress-bar">
88
- <div class="give-progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="<?php echo esc_attr( $progress_bar_value ); ?>">
 
89
  <span style="<?php echo $style; ?>"></span>
90
  </div>
91
  </div>
92
  <?php endif; ?>
93
- <?php if ( ! empty( $show_text ) ) : ?>
94
- <div class="raised">
95
- <?php
96
- if ( 'amount' === $goal_format ) :
97
-
98
- /**
99
- * Filter the give currency.
100
- *
101
- * @since 1.8.17
102
- */
103
- $form_currency = apply_filters( 'give_goal_form_currency', give_get_currency( $form_id ), $form_id );
104
-
105
- /**
106
- * Filter the income formatting arguments.
107
- *
108
- * @since 1.8.17
109
- */
110
- $income_format_args = apply_filters(
111
- 'give_goal_income_format_args',
112
- array(
113
- 'sanitize' => false,
114
- 'currency' => $form_currency,
115
- 'decimal' => false,
116
- ),
117
- $form_id
118
- );
119
-
120
- /**
121
- * Filter the goal formatting arguments.
122
- *
123
- * @since 1.8.17
124
- */
125
- $goal_format_args = apply_filters(
126
- 'give_goal_amount_format_args',
127
- array(
128
- 'sanitize' => false,
129
- 'currency' => $form_currency,
130
- 'decimal' => false,
131
- ),
132
- $form_id
133
- );
134
-
135
- /**
136
- * This filter will be used to convert the goal amounts to different currencies.
137
- *
138
- * @since 2.5.4
139
- *
140
- * @param array $amounts List of goal amounts.
141
- * @param int $form_id Donation Form ID.
142
- */
143
- $goal_amounts = apply_filters(
144
- 'give_goal_amounts',
145
- array(
146
- $form_currency => $goal,
147
- ),
148
- $form_id
149
- );
150
-
151
- /**
152
- * This filter will be used to convert the income amounts to different currencies.
153
- *
154
- * @since 2.5.4
155
- *
156
- * @param array $amounts List of goal amounts.
157
- * @param int $form_id Donation Form ID.
158
- */
159
- $income_amounts = apply_filters(
160
- 'give_goal_raised_amounts',
161
- array(
162
- $form_currency => $income,
163
- ),
164
- $form_id
165
- );
166
-
167
- // Get human readable donation amount.
168
- $income = give_human_format_large_amount( give_format_amount( $income, $income_format_args ), array( 'currency' => $form_currency ) );
169
- $goal = give_human_format_large_amount( give_format_amount( $goal, $goal_format_args ), array( 'currency' => $form_currency ) );
170
-
171
- // Format the human readable donation amount.
172
- $formatted_income = give_currency_filter(
173
- $income,
174
- array(
175
- 'form_id' => $form_id,
176
- )
177
- );
178
-
179
- $formatted_goal = give_currency_filter(
180
- $goal,
181
- array(
182
- 'form_id' => $form_id,
183
- )
184
- );
185
- echo sprintf(
186
- /* translators: 1: amount of income raised 2: goal target amount. */
187
- __( '<div class="raised__details">
 
 
 
 
 
 
 
188
  <span class="amount" data-amounts="%1$s">%2$s</span>
189
  <span class="goal" data-amounts="%3$s"><span>of </span>%4$s</span>
190
- </div>', 'give' ),
191
- esc_attr( wp_json_encode( $income_amounts, JSON_PRETTY_PRINT ) ),
192
- esc_attr( $formatted_income ),
193
- esc_attr( wp_json_encode( $goal_amounts, JSON_PRETTY_PRINT ) ),
194
- esc_attr( $formatted_goal )
195
- );
 
 
196
 
197
- elseif ( 'percentage' === $goal_format ) :
198
 
199
- echo sprintf( /* translators: %s: percentage of the amount raised compared to the goal target */
200
- __( '<div class="raised__details">
 
201
  <span class="amount">%s%%</span>
202
  <span class="goal"><span>of </span><span>100&#37;</span>
203
- </div>', 'give' ),
204
- round( $progress )
205
- );
 
 
206
 
207
- elseif ( 'donation' === $goal_format ) :
208
 
209
- echo sprintf( /* translators: 1: total number of donations completed 2: total number of donations set as goal */
210
- _n(
211
- '<div class="raised__details">
212
  <span class="amount">%s%%</span>
213
  <span class="goal">%2$s</span>
214
  </div>',
215
- '<div class="raised__details">
216
  <span class="amount">%1$s</span>
217
  <span class="goal"><span>of</span> %2$s <span>Donations</span></span>
218
  </div>',
219
- $goal,
220
- 'give'
221
- ),
222
  $form->get_sales(),
223
- give_format_amount( $goal, array( 'decimal' => false ) )
224
- );
225
 
226
- elseif ( 'donors' === $goal_format ) :
227
 
228
- echo sprintf( /* translators: 1: total number of donors completed 2: total number of donors set as goal */
229
- _n(
230
- '<div class="raised__details">
231
  <span class="amount">%1$s</spanclass>
232
- <span class="goal"><span>of</span> %2$s <span>Donors</span> </span>
233
  </div>',
234
- '<div class="raised__details">
235
  <span class="amount">%1$s</span>
236
  <span class="goal"><span>of</span> %2$s <span>Donors</span></span>
237
  </div>',
238
- $goal,
239
- 'give'
240
- ),
241
- give_get_form_donor_count( $form->ID ),
242
- give_format_amount( $goal, array( 'decimal' => false ) )
243
- );
244
- endif;
245
- ?>
246
 
247
  <div class="raised__details">
248
  <span class="amount raised__details_donations"> <?php echo $form->get_sales(); ?></span>
249
- <span class="goal">Donations</span>
250
  </div>
251
- </div>
252
- <?php endif; ?>
253
  </div><!-- /.goal-progress -->
3
  * This template is used to display the goal with [give_goal]
4
  */
5
 
6
+ $form = new Give_Donate_Form($form_id);
7
+ $goal_option = give_get_meta($form->ID, '_give_goal_option', true);
8
 
9
  // Sanity check - ensure form has pass all condition to show goal.
10
+ if ((isset($args['show_goal']) && !filter_var($args['show_goal'], FILTER_VALIDATE_BOOLEAN))
11
+ || empty($form->ID)
12
+ || (is_singular('give_forms') && !give_is_setting_enabled($goal_option))
13
+ || !give_is_setting_enabled($goal_option) || 0 === $form->goal) {
14
+ return false;
15
  }
16
 
17
+ $goal_progress_stats = give_goal_progress_stats($form);
18
+ $goal_format = $goal_progress_stats['format'];
19
+ $color = $args['progress_bar_color'];
20
+ $show_text = isset($args['show_text']) ? filter_var($args['show_text'], FILTER_VALIDATE_BOOLEAN) : true;
21
+ $show_bar = isset($args['show_bar']) ? filter_var($args['show_bar'], FILTER_VALIDATE_BOOLEAN) : true;
22
 
23
  /**
24
  * Allow filtering the goal stats used for this shortcode context.
25
  *
26
  * @unreleased
27
  *
28
+ * @param array $stats The income and goal values for this form goal.
29
+ * @param int $form_id Donation Form ID.
30
+ * @param array $goal_progress_stats The full goal progress stats.
31
+ * @param array $args The full list of shortcode arguments passed.
32
  */
33
  $shortcode_stats = apply_filters(
34
  'give_goal_shortcode_stats',
35
+ [
36
  'income' => $form->get_earnings(),
37
+ 'goal' => $goal_progress_stats['raw_goal'],
38
+ ],
39
  $form_id,
40
  $goal_progress_stats,
41
  $args
42
  );
43
 
44
  $income = $shortcode_stats['income'];
45
+ $goal = $shortcode_stats['goal'];
46
 
47
 
48
+ switch ($goal_format) {
 
49
  case 'donation':
50
+ $progress = $goal ? round(($form->get_sales() / $goal) * 100, 2) : 0;
51
  $progress_bar_value = $form->get_sales() >= $goal ? 100 : $progress;
52
  break;
53
 
54
  case 'donors':
55
+ $progress = $goal ? round((give_get_form_donor_count($form->ID) / $goal) * 100, 2) : 0;
56
+ $progress_bar_value = give_get_form_donor_count($form->ID) >= $goal ? 100 : $progress;
57
  break;
58
 
59
  case 'percentage':
60
+ $progress = $goal ? round(($income / $goal) * 100, 2) : 0;
61
  $progress_bar_value = $income >= $goal ? 100 : $progress;
62
  break;
63
 
64
  default:
65
+ $progress = $goal ? round(($income / $goal) * 100, 2) : 0;
66
  $progress_bar_value = $income >= $goal ? 100 : $progress;
67
  break;
 
68
  }
69
 
70
  /**
72
  *
73
  * @since 1.8.8
74
  */
75
+ $progress = apply_filters('give_goal_amount_funded_percentage_output', $progress, $form_id, $form);
 
76
 
77
 
78
  ?>
79
  <div class="give-goal-progress">
80
+ <?php if (!empty($show_bar)) :
81
  $style = "width:$progress_bar_value%;";
82
  $style .= "background: linear-gradient(180deg, {$color} 0%, {$color} 100%); background-blend-mode: multiply;";
83
  ?>
84
  <div class="progress-bar">
85
+ <div class="give-progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100"
86
+ aria-valuenow="<?php echo esc_attr($progress_bar_value); ?>">
87
  <span style="<?php echo $style; ?>"></span>
88
  </div>
89
  </div>
90
  <?php endif; ?>
91
+ <?php if (!empty($show_text)) : ?>
92
+ <div class="raised">
93
+ <?php
94
+ if ('amount' === $goal_format) :
95
+
96
+ /**
97
+ * Filter the give currency.
98
+ *
99
+ * @since 1.8.17
100
+ */
101
+ $form_currency = apply_filters('give_goal_form_currency', give_get_currency($form_id), $form_id);
102
+
103
+ /**
104
+ * Filter the income formatting arguments.
105
+ *
106
+ * @since 1.8.17
107
+ */
108
+ $income_format_args = apply_filters(
109
+ 'give_goal_income_format_args',
110
+ [
111
+ 'sanitize' => false,
112
+ 'currency' => $form_currency,
113
+ 'decimal' => false,
114
+ ],
115
+ $form_id
116
+ );
117
+
118
+ /**
119
+ * Filter the goal formatting arguments.
120
+ *
121
+ * @since 1.8.17
122
+ */
123
+ $goal_format_args = apply_filters(
124
+ 'give_goal_amount_format_args',
125
+ [
126
+ 'sanitize' => false,
127
+ 'currency' => $form_currency,
128
+ 'decimal' => false,
129
+ ],
130
+ $form_id
131
+ );
132
+
133
+ /**
134
+ * This filter will be used to convert the goal amounts to different currencies.
135
+ *
136
+ * @since 2.5.4
137
+ *
138
+ * @param array $amounts List of goal amounts.
139
+ * @param int $form_id Donation Form ID.
140
+ */
141
+ $goal_amounts = apply_filters(
142
+ 'give_goal_amounts',
143
+ [
144
+ $form_currency => $goal,
145
+ ],
146
+ $form_id
147
+ );
148
+
149
+ /**
150
+ * This filter will be used to convert the income amounts to different currencies.
151
+ *
152
+ * @since 2.5.4
153
+ *
154
+ * @param array $amounts List of goal amounts.
155
+ * @param int $form_id Donation Form ID.
156
+ */
157
+ $income_amounts = apply_filters(
158
+ 'give_goal_raised_amounts',
159
+ [
160
+ $form_currency => $income,
161
+ ],
162
+ $form_id
163
+ );
164
+
165
+ // Get human readable donation amount.
166
+ $income = give_human_format_large_amount(
167
+ give_format_amount($income, $income_format_args),
168
+ ['currency' => $form_currency]
169
+ );
170
+ $goal = give_human_format_large_amount(
171
+ give_format_amount($goal, $goal_format_args),
172
+ ['currency' => $form_currency]
173
+ );
174
+
175
+ // Format the human readable donation amount.
176
+ $formatted_income = give_currency_filter(
177
+ $income,
178
+ [
179
+ 'form_id' => $form_id,
180
+ ]
181
+ );
182
+
183
+ $formatted_goal = give_currency_filter(
184
+ $goal,
185
+ [
186
+ 'form_id' => $form_id,
187
+ ]
188
+ );
189
+ echo sprintf(
190
+ /* translators: 1: amount of income raised 2: goal target amount. */
191
+ __(
192
+ '<div class="raised__details">
193
  <span class="amount" data-amounts="%1$s">%2$s</span>
194
  <span class="goal" data-amounts="%3$s"><span>of </span>%4$s</span>
195
+ </div>',
196
+ 'give'
197
+ ),
198
+ esc_attr(wp_json_encode($income_amounts, JSON_PRETTY_PRINT)),
199
+ esc_attr($formatted_income),
200
+ esc_attr(wp_json_encode($goal_amounts, JSON_PRETTY_PRINT)),
201
+ esc_attr($formatted_goal)
202
+ );
203
 
204
+ elseif ('percentage' === $goal_format) :
205
 
206
+ echo sprintf( /* translators: %s: percentage of the amount raised compared to the goal target */
207
+ __(
208
+ '<div class="raised__details">
209
  <span class="amount">%s%%</span>
210
  <span class="goal"><span>of </span><span>100&#37;</span>
211
+ </div>',
212
+ 'give'
213
+ ),
214
+ round($progress)
215
+ );
216
 
217
+ elseif ('donation' === $goal_format) :
218
 
219
+ echo sprintf( /* translators: 1: total number of donations completed 2: total number of donations set as goal */
220
+ _n(
221
+ '<div class="raised__details">
222
  <span class="amount">%s%%</span>
223
  <span class="goal">%2$s</span>
224
  </div>',
225
+ '<div class="raised__details">
226
  <span class="amount">%1$s</span>
227
  <span class="goal"><span>of</span> %2$s <span>Donations</span></span>
228
  </div>',
229
+ $goal,
230
+ 'give'
231
+ ),
232
  $form->get_sales(),
233
+ give_format_amount($goal, ['decimal' => false])
234
+ );
235
 
236
+ elseif ('donors' === $goal_format) :
237
 
238
+ echo sprintf( /* translators: 1: total number of donors completed 2: total number of donors set as goal */
239
+ _n(
240
+ '<div class="raised__details">
241
  <span class="amount">%1$s</spanclass>
242
+ <span class="goal">%2$s</span>
243
  </div>',
244
+ '<div class="raised__details">
245
  <span class="amount">%1$s</span>
246
  <span class="goal"><span>of</span> %2$s <span>Donors</span></span>
247
  </div>',
248
+ $goal,
249
+ 'give'
250
+ ),
251
+ give_get_form_donor_count($form->ID),
252
+ give_format_amount($goal, ['decimal' => false])
253
+ );
254
+ endif;
255
+ ?>
256
 
257
  <div class="raised__details">
258
  <span class="amount raised__details_donations"> <?php echo $form->get_sales(); ?></span>
259
+ <span class="goal"><?php esc_html_e('Donations', 'give'); ?></span>
260
  </div>
261
+ </div>
262
+ <?php endif; ?>
263
  </div><!-- /.goal-progress -->
vendor/autoload.php CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInit7a4a8efbc4b4ee166d8b400b0806cada::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInit187e2a3dd83e5426d10b88fa4aaa1207::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit7a4a8efbc4b4ee166d8b400b0806cada
6
  {
7
  private static $loader;
8
 
@@ -24,18 +24,18 @@ class ComposerAutoloaderInit7a4a8efbc4b4ee166d8b400b0806cada
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit7a4a8efbc4b4ee166d8b400b0806cada', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit7a4a8efbc4b4ee166d8b400b0806cada', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInit7a4a8efbc4b4ee166d8b400b0806cada::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
- $includeFiles = \Composer\Autoload\ComposerStaticInit7a4a8efbc4b4ee166d8b400b0806cada::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
- composerRequire7a4a8efbc4b4ee166d8b400b0806cada($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
@@ -47,7 +47,7 @@ class ComposerAutoloaderInit7a4a8efbc4b4ee166d8b400b0806cada
47
  * @param string $file
48
  * @return void
49
  */
50
- function composerRequire7a4a8efbc4b4ee166d8b400b0806cada($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit187e2a3dd83e5426d10b88fa4aaa1207
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit187e2a3dd83e5426d10b88fa4aaa1207', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit187e2a3dd83e5426d10b88fa4aaa1207', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit187e2a3dd83e5426d10b88fa4aaa1207::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
+ $includeFiles = \Composer\Autoload\ComposerStaticInit187e2a3dd83e5426d10b88fa4aaa1207::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
+ composerRequire187e2a3dd83e5426d10b88fa4aaa1207($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
47
  * @param string $file
48
  * @return void
49
  */
50
+ function composerRequire187e2a3dd83e5426d10b88fa4aaa1207($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit7a4a8efbc4b4ee166d8b400b0806cada
8
  {
9
  public static $files = array (
10
  '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
@@ -130,9 +130,9 @@ class ComposerStaticInit7a4a8efbc4b4ee166d8b400b0806cada
130
  public static function getInitializer(ClassLoader $loader)
131
  {
132
  return \Closure::bind(function () use ($loader) {
133
- $loader->prefixLengthsPsr4 = ComposerStaticInit7a4a8efbc4b4ee166d8b400b0806cada::$prefixLengthsPsr4;
134
- $loader->prefixDirsPsr4 = ComposerStaticInit7a4a8efbc4b4ee166d8b400b0806cada::$prefixDirsPsr4;
135
- $loader->classMap = ComposerStaticInit7a4a8efbc4b4ee166d8b400b0806cada::$classMap;
136
 
137
  }, null, ClassLoader::class);
138
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit187e2a3dd83e5426d10b88fa4aaa1207
8
  {
9
  public static $files = array (
10
  '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
130
  public static function getInitializer(ClassLoader $loader)
131
  {
132
  return \Closure::bind(function () use ($loader) {
133
+ $loader->prefixLengthsPsr4 = ComposerStaticInit187e2a3dd83e5426d10b88fa4aaa1207::$prefixLengthsPsr4;
134
+ $loader->prefixDirsPsr4 = ComposerStaticInit187e2a3dd83e5426d10b88fa4aaa1207::$prefixDirsPsr4;
135
+ $loader->classMap = ComposerStaticInit187e2a3dd83e5426d10b88fa4aaa1207::$classMap;
136
 
137
  }, null, ClassLoader::class);
138
  }
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'impress-org/give',
4
- 'pretty_version' => '2.21.0',
5
- 'version' => '2.21.0.0',
6
- 'reference' => '4b2c38b763ef2407fb9a1ad931c07ea0bb5a77b9',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -41,9 +41,9 @@
41
  ),
42
  ),
43
  'impress-org/give' => array(
44
- 'pretty_version' => '2.21.0',
45
- 'version' => '2.21.0.0',
46
- 'reference' => '4b2c38b763ef2407fb9a1ad931c07ea0bb5a77b9',
47
  'type' => 'wordpress-plugin',
48
  'install_path' => __DIR__ . '/../../',
49
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'impress-org/give',
4
+ 'pretty_version' => '2.21.1',
5
+ 'version' => '2.21.1.0',
6
+ 'reference' => '32ddf84bfa96522600e6ffb8844275462b340550',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
41
  ),
42
  ),
43
  'impress-org/give' => array(
44
+ 'pretty_version' => '2.21.1',
45
+ 'version' => '2.21.1.0',
46
+ 'reference' => '32ddf84bfa96522600e6ffb8844275462b340550',
47
  'type' => 'wordpress-plugin',
48
  'install_path' => __DIR__ . '/../../',
49
  'aliases' => array(),