var frontend_blocks=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t){e.exports=jQuery},function(e,t,n){"use strict";e.exports=n(16)},function(e,t,n){var r;
!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var l=o.apply(null,r);l&&e.push(l)}else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){e.exports=n(17)()},function(e,t){e.exports=bookwormgb},function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(o of t.entries())if(!n.has(o[0]))return!1;for(o of t.entries())if(!e(o[1],n.get(o[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(o of t.entries())if(!n.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(t[o]!==n[o])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var l=i[o];if(("_owner"!==l||!t.$$typeof)&&!e(t[l],n[l]))return!1}return!0}return t!=t&&n!=n}},function(e,t,n){"use strict";var r=n(9),o=n(12),i=n.n(o),l=n(1),a=n(3),u=n.n(a),c=n(10),s=n(4),f=function(e){var t=e.imageUrl,n=void 0===t?"".concat(s.srcUrl,"/assets/img/block-error.svg"):t,r=e.header,o=void 0===r?Object(c.__)("Oops!",s.i18n):r,i=e.text,l=void 0===i?Object(c.__)("There was an error with loading this content.",s.i18n):i,a=e.errorMessage;return wp.element.createElement("div",{className:"czgb-block-error"},n&&wp.element.createElement("img",{className:"czgb-block-error__image",src:n,alt:""}),wp.element.createElement("div",{className:"czgb-block-error__content"},o&&wp.element.createElement("p",{className:"czgb-block-error__header"},o),l&&wp.element.createElement("p",{className:"czgb-block-error__text"},l),a&&wp.element.createElement("p",{className:"czgb-block-error__message"},a)))};f.propTypes={errorMessage:u.a.string,header:u.a.string,imageUrl:u.a.string,text:u.a.string};var p=f;function d(e){return(d="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})(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?g(e):t}function g(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)})(e)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=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}}),t&&h(e,t)}(i,e);var t,n,r,o=y(i);function i(){var e;m(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return E(g(e=o.call.apply(o,[this].concat(n))),"state",{hasError:!1}),e}return t=i,r=[{key:"getDerivedStateFromError",value:function(e){return{errorMessage:e.message,hasError:!0}}}],(n=[{key:"render",value:function(){var e=this.props,t=e.header,n=e.imageUrl,r=e.showErrorMessage,o=e.text,i=this.state,l=i.errorMessage;return i.hasError?wp.element.createElement(p,{errorMessage:r?l:null,header:t,imageUrl:n,text:o}):this.props.children}}])&&b(t.prototype,n),r&&b(t,r),i}(l.Component);k.propTypes={header:u.a.string,imageUrl:u.a.string,showErrorMessage:u.a.bool,text:u.a.string},k.defaultProps={showErrorMessage:!1};var _=k;function x(){return(x=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}).apply(this,arguments)}function S(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 O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};document.addEventListener("DOMContentLoaded",(function(){var o=document.querySelectorAll(e);o.length&&Array.prototype.forEach.call(o,(function(e,o){var l=n(e,o),a=O(O({},e.dataset),l.attributes);e.classList.remove("is-loading"),Object(r.render)(wp.element.createElement(_,null,l.hasVisibilitySensor?wp.element.createElement(i.a,{partialVisibility:!0},(function(e){var n=e.isVisible;return wp.element.createElement(t,x({},l,{attributes:a,hasVisibilitySensor:!0,isVisible:n}))})):wp.element.createElement(t,x({},l,{attributes:a}))),e)}))}))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"j",(function(){return k})),n.d(t,"d",(function(){return C})),n.d(t,"h",(function(){return L})),n.d(t,"i",(function(){return q})),n.d(t,"f",(function(){return te})),n.d(t,"e",(function(){return ce})),n.d(t,"g",(function(){return ve})),n.d(t,"a",(function(){return Te})),n.d(t,"c",(function(){return ze})),n.d(t,"k",(function(){return We}));var r=n(1),o=function(e,t){return Array.from({length:t-e},(function(t,n){return n+e}))};function i(e){return(i="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})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(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=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=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}}),t&&u(e,t)}(s,e);var t,n,r,i=c(s);function s(){return l(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"render",value:function(){var e=this.props,t=e.postsToShow,n=e.mdColumns,r=e.lgColumns,i=e.showPostFeaturedImage,l=e.showPostDate,a=e.showPostComments,u=e.showPostTitle;return wp.element.createElement("ul",{className:"blog-posts-placeholder blog-posts list-unstyled my-0 row row-cols-md-".concat(n," row-cols-lg-").concat(r)},o(1,t+1).map((function(e){return wp.element.createElement("li",{className:"blog-post col mb-4",key:"blog-".concat(e)},i&&wp.element.createElement("div",{className:"rounded-md mb-3 bg-animation",style:{height:"280px"}}),(l||a)&&wp.element.createElement("div",{className:"w-60 rounded-pill mb-2 bg-animation",style:{height:"25px"}}),u&&wp.element.createElement("div",{className:"w-100 rounded-pill bg-animation",style:{height:"25px"}}))})))}}])&&a(t.prototype,n),r&&a(t,r),s}(r.Component),d=n(2),m=n.n(d);function b(e){return(b="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})(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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})(e,t)}function g(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=E(e);if(t){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=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}}),t&&v(e,t)}(l,e);var t,n,r,i=g(l);function l(){return h(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.design,n=void 0===t?"grid":t,r=e.columns,i=void 0===r?3:r,l=e.limit,a=void 0===l?3:l,u=e.placeholder,c=void 0===u?0:u,s=e.showImage,f=void 0===s||s,p=e.showProductFormat,d=void 0===p||p,b=e.showProductTitle,h=void 0===b||b,y=e.showProductAuthor,v=void 0===y||y,g=e.showProductPrice,w=void 0===g||g,E=e.showAddToCart,k=void 0===E||E,_=e.showCompare,x=void 0===_||_,S=e.showWishlist,O=void 0===S||S;return wp.element.createElement("ul",{className:m()(["products","list-unstyled","row","no-gutters","row-cols-2","row-cols-lg-".concat(i),"row-cols-wd-".concat(i),"border-top","border-left","mb-6","bookwormgb-products-placeholder-block"],{})},o(1,(c>0?c:a)+1).map((function(e){return wp.element.createElement("li",{className:"product bookwormgb-products-placeholder",key:"product-".concat(e)},wp.element.createElement("div",{className:"product__inner overflow-hidden p-3 p-md-4d875"},"grid"===n?wp.element.createElement("div",{className:"d-block position-relative"},f&&wp.element.createElement("div",{className:"progress bg-light mb-2",style:{height:"200px"}}),d&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),h&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),v&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),w&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"}))):wp.element.createElement("div",{className:"row position-relative"},f&&wp.element.createElement("div",{className:"col-md-auto woocommerce-loop-product__thumbnail mb-3 mb-md-0"},wp.element.createElement("div",{className:"progress bg-light mb-2",style:{width:"150px",height:"150px"}})),wp.element.createElement("div",{className:"col-md woocommerce-loop-product__body product__body pt-3 bg-white mb-3 mb-md-0"},d&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),h&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),v&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),w&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"}))),(k||x||O)&&wp.element.createElement("div",{className:"col-md d-flex align-items-center justify-content-end"},wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"}))))))})))}}])&&y(t.prototype,n),r&&y(t,r),l}(r.Component);function _(e){return(_="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})(e)}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(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=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return P(this,n)}}function P(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=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}}),t&&O(e,t)}(i,e);var t,n,r,o=T(i);function i(){return x(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.design,n=void 0===t?"style-v1":t,r=e.showImage,o=void 0===r||r,i=e.showProductFormat,l=void 0===i||i,a=e.showProductTitle,u=void 0===a||a,c=e.showProductAuthor,s=void 0===c||c,f=e.showProductPrice,p=void 0===f||f,d=e.showAddToCart,b=void 0===d||d,h=e.showCompare,y=void 0===h||h,v=e.showWishlist,g=void 0===v||v;return wp.element.createElement("div",{className:m()(["d-flex","h-100","mb-6"],{"mx-1":"style-v2"===n})},wp.element.createElement("div",{className:m()(["product bookwormgb-product-featured-placeholder w-100"],{"product__space mb-2 mb-lg-0 bg-white h-100":"style-v2"===n,"border-bottom border-right":"style-v1"===n})},wp.element.createElement("div",{className:m()(["product__inner overflow-hidden"],{"p-3 p-md-4d875":"style-v1"===n,"d-flex py-5 py-md-6 py-lg-8 px-3 px-md-4 px-lg-6 px-xl-8 h-100":"style-v2"===n})},wp.element.createElement("div",{className:"d-block position-relative w-100"},o&&wp.element.createElement("div",{className:m()(["progress bg-light"],{"mb-2":"style-v1"===n,"mb-5 mb-xl-8":"style-v2"===n}),style:{height:"400px"}}),l&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),u&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),s&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),p&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),(b||y||g)&&wp.element.createElement("div",{className:"d-flex align-items-center"},b&&wp.element.createElement("div",{className:"badge badge-shadow mr-3",style:{width:"150px",height:"30px"}},wp.element.createElement("div",{className:"progress bg-light"})),y&&wp.element.createElement("div",{className:"progress bg-light rounded-pill mr-2",style:{width:"30px",height:"30px"}}),g&&wp.element.createElement("div",{className:"progress bg-light rounded-pill",style:{width:"30px",height:"30px"}}))))))}}])&&S(t.prototype,n),r&&S(t,r),i}(r.Component);function j(e){return(j="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})(e)}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(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 M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var o=F(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var L=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}}),t&&M(e,t)}(l,e);var t,n,r,i=z(l);function l(){return R(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e,t,n,r=this.props,i=r.limit,l=void 0===i?3:i,a=r.placeholder,u=void 0===a?0:a,c=r.showImage,s=void 0===c||c,f=r.showProductFormat,p=void 0===f||f,d=r.showProductTitle,b=void 0===d||d,h=r.showProductAuthor,y=void 0===h||h,v=r.showProductPrice,g=void 0===v||v,w=r.showProductRating,E=void 0===w||w,k=r.showProductRatingCount,_=void 0===k||k,x=r.design,S=void 0===x?"style-v1":x,O=r.mdColumns,T=void 0===O?2:O,P=r.lgColumns,N=void 0===P?2:P,C=r.columns,j=void 0===C?2:C;return wp.element.createElement("div",{className:m()(["products","bookwormgb-products-list-placeholder-block"],(e={"border-top border-left":"style-v1"===S,"px-4 pt-4 border":"style-v3"===S},t="row no-gutters row-cols-md-".concat(T," row-cols-lg-").concat(N," row-cols-xl-").concat(j),n="style-v5"===S,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e))},o(1,(u>0?u:l)+1).map((function(e){return wp.element.createElement("div",{className:m()(["bookwormgb-products-list-placeholder"],{"border-right border-bottom":"style-v1"===S,"p-3":"style-v3"!==S&&"style-v5"!==S&&"style-v4"!==S,"mb-5":"style-v3"===S,"border-top border-right border-left p-4d75":"style-v4"===S,"border-bottom":e===l&&"style-v4"===S,"col border-right border-bottom p-4":"style-v5"===S,"rounded-md mb-5 border":"style-v6"===S}),key:"product-".concat(e)},wp.element.createElement("div",{className:"media m-1"},s&&wp.element.createElement("div",{className:m()(["progress bg-light"],{"mb-2":"style-v4"!==S}),style:"style-v4"===S?{width:"120px",height:"183px"}:"style-v1"===S?{width:"70px",height:"107px"}:{width:"100px",height:"150px"}}),wp.element.createElement("div",{className:"media-body ml-3"},("style-v2"===S||"style-v4"===S||"style-v5"===S||"style-v6"===S)&&p&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),b&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),("style-v2"===S||"style-v4"===S||"style-v5"===S||"style-v6"===S)&&y&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),g&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),E&&"style-v4"===S&&wp.element.createElement("div",{className:"d-flex align-items-center"},wp.element.createElement("div",{className:"badge badge-shadow",style:{width:"100px"}},wp.element.createElement("div",{className:"progress bg-light"})),_&&wp.element.createElement("div",{className:"progress bg-light rounded-pill ml-2",style:{width:"20px",height:"20px"}})))))})))}}])&&D(t.prototype,n),r&&D(t,r),l}(r.Component);function V(e){return(V="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})(e)}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(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 W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$(e);if(t){var o=$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(e,t){return!t||"object"!==V(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=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}}),t&&W(e,t)}(l,e);var t,n,r,i=B(l);function l(){return A(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.design,n=void 0===t?"style-v1":t,r=e.columns,i=void 0===r?2:r,l=e.mdColumns,a=void 0===l?2:l,u=e.lgColumns,c=void 0===u?2:u,s=e.xlColumns,f=void 0===s?2:s,p=e.limit,d=void 0===p?4:p,b=e.placeholder,h=void 0===b?0:b,y=e.showImage,v=void 0===y||y,g=e.showProductFormat,w=void 0===g||g,E=e.showProductTitle,k=void 0===E||E,_=e.showProductAuthor,x=void 0===_||_,S=e.showProductPrice,O=void 0===S||S,T=e.marginBottomCount,P=void 0===T?2:T,N=e.enableProductWhite,C=void 0!==N&&N,j=e.productCenterAlign,R=void 0!==j&&j,D=e.responsiveLimit,M=void 0===D?4:D,z=e.responsiveLimitClasses,I=void 0===z?"":z,F="";switch(n){case"style-v1":F=wp.element.createElement("div",{className:m()(["products","bookwormgb-products-placeholder-block","row","no-gutters","row-cols-2","row-cols-md-".concat(a),"row-cols-lg-".concat(c),"row-cols-xl-".concat(f),"row-cols-wd-".concat(i),"border-top","border-left"],{})},o(1,(h>0?h:d)+1).map((function(e){return wp.element.createElement("div",{className:m()(["product bookwormgb-products-placeholder"],U({},"".concat(I),e>M)),key:"product-".concat(e)},wp.element.createElement("div",{className:m()(["product__inner overflow-hidden p-3 p-md-4"],{"bg-white":C})},wp.element.createElement("div",{className:m()(["d-block position-relative"],{"text-center":R})},v&&wp.element.createElement("div",{className:"progress bg-light mb-2",style:{height:"200px"}}),w&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),x&&wp.element.createElement("div",{className:m()(["badge badge-shadow w-50 d-block"],{"mx-auto":R})},wp.element.createElement("div",{className:"progress bg-light"})),O&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})))))})));break;case"style-v2":case"style-v4":F=wp.element.createElement("div",{className:m()(["products","bookwormgb-products-placeholder-block","row","row-cols-2","row-cols-md-".concat(a),"row-cols-lg-".concat(c),"row-cols-xl-".concat(f),"row-cols-wd-".concat(i)],{})},o(1,(h>0?h:d)+1).map((function(e){return wp.element.createElement("div",{className:m()(["col mb-5 bookwormgb-products-placeholder"],U({},"".concat(I),e>M)),key:"product-".concat(e)},wp.element.createElement("div",{className:m()(["border product__space bg-white"],{"rounded-md":"style-v4"===n})},wp.element.createElement("div",{className:"product__inner overflow-hidden p-3 p-md-4d875"},wp.element.createElement("div",{className:"d-block position-relative"},v&&wp.element.createElement("div",{className:"progress bg-light mb-2",style:{height:"200px"}}),w&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),x&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),O&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"}))))))})));break;case"style-v3":F=wp.element.createElement("div",{className:m()(["products","bookwormgb-products-placeholder-block","row","no-gutters","row-cols-2","row-cols-md-".concat(a),"row-cols-lg-".concat(c),"row-cols-xl-".concat(f),"row-cols-wd-".concat(i)],{})},o(1,(h>0?h:d)+1).map((function(e){var t;return wp.element.createElement("div",{className:m()(["col bookwormgb-products-placeholder"],(t={},U(t,"".concat(I),e>M),U(t,"mb-2",e<=P),t)),key:"product-".concat(e)},wp.element.createElement("div",{className:"product__space mx-1 h-100"},wp.element.createElement("div",{className:"product__inner overflow-hidden p-3 p-md-4 bg-white h-100"},wp.element.createElement("div",{className:"d-block position-relative"},v&&wp.element.createElement("div",{className:"progress bg-light mb-2",style:{height:"200px"}}),w&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),x&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),O&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"}))))))})))}return F}}])&&H(t.prototype,n),r&&H(t,r),l}(r.Component);function K(e){return(K="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})(e)}function Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(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 J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(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=ee(e);if(t){var o=ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Z(this,n)}}function Z(e,t){return!t||"object"!==K(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var te=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}}),t&&J(e,t)}(l,e);var t,n,r,i=G(l);function l(){return Y(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=void 0===t?"style-v1":t,r=e.mdColumns,i=void 0===r?2:r,l=e.lgColumns,a=void 0===l?3:l,u=e.xlColumns,c=void 0===u?4:u,s=e.wdColumns,f=void 0===s?5:s,p=e.limit,d=void 0===p?4:p,b=e.placeholder,h=void 0===b?0:b,y=e.showCategoryIcon,v=void 0===y||y,g=e.showProductCategoryTitle,w=void 0===g||g,E=e.showProductCategoryList,k=void 0===E||E,_=e.showShopNow,x=void 0===_||_,S="";switch(n){case"style-v1":S=wp.element.createElement("ul",{className:m()(["products-categories-placeholder","products-categories","list-unstyled","my-0","row","row-cols-md-".concat(i),"row-cols-lg-".concat(a),"row-cols-xl-".concat(c),"row-cols-wd-".concat(f)],{})},o(1,(h>0?h:d)+1).map((function(e){return wp.element.createElement("li",{className:"product-category col mb-5",key:"product-".concat(e)},wp.element.createElement("div",{className:"product-category__inner bg-light px-6 py-5"},v&&wp.element.createElement("div",{className:"rounded-circle mb-2",style:{height:"100px",width:"100px",backgroundColor:"#ffffff",marginBottom:"10px"}}),wp.element.createElement("div",{className:"d-block"},wp.element.createElement("div",{className:"product-category__body"},w&&wp.element.createElement("div",{className:"badge badge-shadow w-100 d-block"},wp.element.createElement("div",{className:"progress bg-white"})),x&&wp.element.createElement("div",{className:"badge badge-shadow w-100 d-block"},wp.element.createElement("div",{className:"progress bg-white"}))))))})));break;case"style-v2":S=wp.element.createElement("ul",{className:m()(["products-categories-placeholder","products-categories","list-unstyled","my-0","row","row-cols-md-".concat(i),"row-cols-lg-".concat(a),"row-cols-xl-".concat(c),"flex-nowrap","overflow-hidden"],{})},o(1,(h>0?h:d)+1).map((function(e){return wp.element.createElement("li",{className:"product-category col mb-5",key:"product-".concat(e)},wp.element.createElement("div",{className:"product-category__inner px-6 py-5"},v&&wp.element.createElement("div",{className:"d-flex justify-content-center"},wp.element.createElement("div",{className:"rounded-circle mb-2",style:{height:"50px",width:"50px",backgroundColor:"#f8f9fa",marginBottom:"10px"}})),wp.element.createElement("div",{className:"d-block"},wp.element.createElement("div",{className:"product-category__body"},w&&wp.element.createElement("div",{className:"badge badge-shadow w-100 d-block"},wp.element.createElement("div",{className:"progress bg-light"}))))))})));break;case"style-v3":S=wp.element.createElement("ul",{className:m()(["products-categories-placeholder","products-categories","list-unstyled","my-0","row","row-cols-md-".concat(i),"row-cols-lg-".concat(a),"row-cols-xl-".concat(c),"row-cols-wd-".concat(f)],{})},o(1,(h>0?h:d)+1).map((function(e){return wp.element.createElement("li",{className:"product-category col mb-5",key:"product-".concat(e)},wp.element.createElement("div",{className:"product-category__inner px-6 py-5"},wp.element.createElement("div",{className:"d-block"},wp.element.createElement("div",{className:"product-category__body"},w&&wp.element.createElement("div",{className:"badge badge-shadow w-100 d-block mb-4"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),v&&wp.element.createElement("div",{className:"d-flex justify-content-end"},wp.element.createElement("div",{className:"rounded-circle mb-2",style:{height:"50px",width:"50px",backgroundColor:"#f8f9fa",marginBottom:"10px"}}))))))})));break;case"style-v4":S=wp.element.createElement("div",{className:m()(["products-categories-placeholder","products-categories","list-unstyled","my-0","row","flex-nowrap","flex-md-wrap","overflow-auto","row-cols-1","row-cols-md-".concat(i),"row-cols-lg-".concat(a),"row-cols-xl-".concat(c),"row-cols-wd-".concat(f)],{})},o(1,(h>0?h:d)+1).map((function(e){return wp.element.createElement("div",{className:"product-category col mb-5",key:"product-".concat(e)},wp.element.createElement("div",{className:"product-category__inner px-6 py-5"},v&&wp.element.createElement("div",{className:"d-flex justify-content-center"},wp.element.createElement("div",{className:"rounded-circle mb-2",style:{height:"100px",width:"100px",backgroundColor:"#f8f9fa",marginBottom:"10px"}})),wp.element.createElement("div",{className:"d-block"},wp.element.createElement("div",{className:"product-category__body"},w&&wp.element.createElement("div",{className:"badge badge-shadow w-100 d-block"},wp.element.createElement("div",{className:"progress bg-light"}))))))})))}return S}}])&&X(t.prototype,n),r&&X(t,r),l}(r.Component);function ne(e){return(ne="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})(e)}function re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(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 ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(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=ue(e);if(t){var o=ue(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ae(this,n)}}function ae(e,t){return!t||"object"!==ne(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ce=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}}),t&&ie(e,t)}(l,e);var t,n,r,i=le(l);function l(){return re(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.design,n=void 0===t?"style-v1":t,r=e.limit,i=void 0===r?3:r,l=e.placeholder,a=void 0===l?0:l,u=e.showImage,c=void 0===u||u,s=e.showProductTitle,f=void 0===s||s,p=e.showProductPrice,d=void 0===p||p,b=e.showProductFormat,h=void 0===b||b,y=e.showProductAuthor,v=void 0===y||y,g=e.smColumns,w=void 0===g?2:g,E=e.mdColumns,k=void 0===E?2:E,_=e.lgColumns,x=void 0===_?2:_,S=e.xlColumns,O=void 0===S?2:S,T=e.wdColumns,P=void 0===T?2:T,N="";switch(n){case"style-v1":N=wp.element.createElement("div",{className:m()(["products-carousel-placeholder border row flex-nowrap overflow-hidden row-cols-sm-".concat(w," row-cols-md-").concat(k," row-cols-lg-").concat(x," row-cols-xl-").concat(O," row-cols-wd-").concat(P)])},o(1,(a>0?a:i)+1).map((function(e){return wp.element.createElement("div",{className:"product product__card border-right col",key:"product-carousel-".concat(e)},wp.element.createElement("div",{className:"media p-3 p-md-4d875"},c&&wp.element.createElement("div",{className:"progress bg-light",style:{width:"120px",height:"183px"}}),wp.element.createElement("div",{className:"media-body ml-3"},h&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),f&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),v&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),d&&wp.element.createElement("div",{className:"badge badge-shadow w-80 d-block"},wp.element.createElement("div",{className:"progress bg-light"})))))})));break;case"style-v2":N=wp.element.createElement("div",{className:m()(["products-carousel-placeholder border row flex-nowrap overflow-hidden row-cols-sm-".concat(w," row-cols-md-").concat(k," row-cols-lg-").concat(x," row-cols-xl-").concat(O," row-cols-wd-").concat(P)])},o(1,(a>0?a:i)+1).map((function(e){return wp.element.createElement("div",{className:"product product__card border-right col",key:"product-carousel-".concat(e)},wp.element.createElement("div",{className:"media p-3 p-md-4d875 row d-flex justify-content-center"},c&&wp.element.createElement("div",{className:"progress bg-light",style:{width:"120px",height:"183px"}}),h&&wp.element.createElement("div",{className:"badge badge-shadow w-80 mt-5"},wp.element.createElement("div",{className:"progress bg-light"})),f&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"})),v&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"})),d&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"}))))})));break;case"style-v3":N=wp.element.createElement("div",{className:m()(["products-carousel-placeholder border row flex-nowrap overflow-hidden row-cols-sm-".concat(w," row-cols-md-").concat(k," row-cols-lg-").concat(x," row-cols-xl-").concat(O," row-cols-wd-").concat(P)])},o(1,(a>0?a:i)+1).map((function(e){return wp.element.createElement("div",{className:"product product__card border-right col",key:"product-carousel-".concat(e)},wp.element.createElement("div",{className:"media p-3 p-md-4d875 row bg-white d-flex justify-content-center"},c&&wp.element.createElement("div",{className:"progress bg-light",style:{width:"120px",height:"183px"}}),h&&wp.element.createElement("div",{className:"badge badge-shadow w-80 mt-5"},wp.element.createElement("div",{className:"progress bg-light"})),f&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"})),v&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"})),d&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"}))))})));break;case"style-v4":N=wp.element.createElement("div",{className:m()(["products-carousel-placeholder row flex-nowrap overflow-hidden row-cols-sm-".concat(w," row-cols-md-").concat(k," row-cols-lg-").concat(x," row-cols-xl-").concat(O," row-cols-wd-").concat(P)])},o(1,(a>0?a:i)+1).map((function(e){return wp.element.createElement("div",{className:"product product__card border-right col",key:"product-carousel-".concat(e)},wp.element.createElement("div",{className:"media p-3 p-md-4d875 row d-flex justify-content-center"},c&&wp.element.createElement("div",{className:"progress bg-light",style:{width:"120px",height:"183px"}}),h&&wp.element.createElement("div",{className:"badge badge-shadow w-80 mt-5"},wp.element.createElement("div",{className:"progress bg-light"})),f&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"})),v&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"})),d&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"}))))})));break;case"style-v5":N=wp.element.createElement("div",{className:m()(["products-carousel-placeholder row flex-nowrap overflow-hidden row-cols-sm-".concat(w," row-cols-md-").concat(k," row-cols-lg-").concat(x," row-cols-xl-").concat(O," row-cols-wd-").concat(P)])},o(1,(a>0?a:i)+1).map((function(e){return wp.element.createElement("div",{className:"product__card product col",key:"product-carousel-".concat(e)},wp.element.createElement("div",{className:"p-3 p-md-4d875 border rounded-md"},c&&wp.element.createElement("div",{className:"progress bg-light",style:{width:"120px",height:"183px"}}),h&&wp.element.createElement("div",{className:"badge badge-shadow w-80 mt-5"},wp.element.createElement("div",{className:"progress bg-light"})),f&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"})),v&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"})),d&&wp.element.createElement("div",{className:"badge badge-shadow w-80 my-1"},wp.element.createElement("div",{className:"progress bg-light"}))))})));break;case"style-v6":case"style-v7":case"style-v8":case"style-v9":N=wp.element.createElement("div",{className:m()(["products-carousel-placeholder row flex-nowrap overflow-hidden row-cols-sm-".concat(w," row-cols-md-").concat(k," row-cols-lg-").concat(x," row-cols-xl-").concat(O," row-cols-wd-").concat(P)])},o(1,(a>0?a:i)+1).map((function(e){return wp.element.createElement("div",{className:"product__card product col",key:"product-carousel-".concat(e)},wp.element.createElement("div",{className:"p-3 p-md-4d875 border rounded-md"},c&&wp.element.createElement("div",{className:"progress bg-light",style:{width:"120px",height:"183px"}})))})))}return N}}])&&oe(t.prototype,n),r&&oe(t,r),l}(r.Component),se=n(8);function fe(e){return(fe="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})(e)}function pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(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 me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(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=ye(e);if(t){var o=ye(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return he(this,n)}}function he(e,t){return!t||"object"!==fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ve=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}}),t&&me(e,t)}(l,e);var t,n,r,i=be(l);function l(){return pe(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.limit,n=void 0===t?3:t,r=e.placeholder,i=void 0===r?0:r,l=e.showImage,a=void 0===l||l,u=e.showProductFormat,c=void 0===u||u,s=e.showProductTitle,f=void 0===s||s,p=e.showProductAuthor,d=void 0===p||p,b=e.showProductPrice,h=void 0===b||b,y=e.showProductRating,v=void 0===y||y,g=e.showTimer,w=void 0===g||g,E=e.showTimerTitle,k=void 0===E||E,_=e.showProgressBar,x=void 0===_||_,S=e.design,O=void 0===S?"style-v1":S,T=e.mdColumns,P=void 0===T?2:T,N=e.lgColumns,C=void 0===N?2:N,j=e.xlColumns,R=void 0===j?2:j;return wp.element.createElement("div",{className:m()(["products-deal-carousel-placeholder bg-white row flex-nowrap overflow-hidden row-cols-md-".concat(P," row-cols-lg-").concat(C," row-cols-xl-").concat(R)],{border:"style-v1"===O,products:"style-v3"!==O&&"style-v5"!==O&&"style-v6"!==O,"border-left border-right":"style-v3"===O,"no-gutters":"style-v4"!==O,"border border-width-2":"style-v5"===O,"row-cols-1":"style-v6"===O})},o(1,(i>0?i:n)+1).map((function(e){return wp.element.createElement("div",{className:m()(["col"],{"product__card border-right":"style-v3"!==O&&"style-v4"!==O&&"style-v5"!==O&&"style-v6"!==O,"border-right border-bottom border-top":"style-v3"===O,product__card:"style-v4"===O||"style-v5"===O,product:"style-v4"!==O}),key:"product-".concat(e)},wp.element.createElement("div",{className:m()([""],{"p-md-6 p-4":"style-v1"===O,"px-4 px-md-6 px-xl-8d75":"style-v2"===O,"media d-block d-md-flex":"style-v3"!==O,"product__inner overflow-hidden p-3 p-md-4d875":"style-v3"===O,"p-3 p-md-4d875 border rounded-md":"style-v4"===O,"p-md-6 p-lg-10 p-4":"style-v5"===O,"flex-column p-5 border border-width-2":"style-v6"===O})},a&&wp.element.createElement("div",{className:m()(["progress bg-light mx-auto"],{"mb-2":"style-v5"!==O,"mb-4":"style-v5"!==O}),style:"style-v4"!==O?"style-v6"===O?{width:"190px",height:"222px"}:{width:"200px",height:"327px"}:{width:"120px",height:"183px"}}),wp.element.createElement("div",{className:m()(["media-body"],{"ml-md-5d25":"style-v3"!==O&&"style-v4"!==O&&"style-v6"!==O,"ml-4d875":"style-v4"===O,"w-100":"style-v6"===O})},c&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),f&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),d&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),h&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),v&&"style-v5"===O&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),w&&"style-v4"!==O&&"style-v6"!==O&&wp.element.createElement(se.Fragment,null,k&&wp.element.createElement("div",{className:"badge badge-shadow w-60 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),wp.element.createElement("div",{className:"d-flex align-items-stretch justify-content-between mt-4"},wp.element.createElement("div",{className:"py-2d75 bg-light rounded-md",style:{width:"65px",height:"51px"}}),"style-v3"!==O&&wp.element.createElement("div",{className:"border-left pr-3 pr-md-0"}," "),wp.element.createElement("div",{className:"py-2d75 bg-light rounded-md",style:{width:"65px",height:"51px"}}),"style-v3"!==O&&wp.element.createElement("div",{className:"border-left pr-3 pr-md-0"}," "),wp.element.createElement("div",{className:"py-2d75 bg-light rounded-md",style:{width:"65px",height:"51px"}}),"style-v3"!==O&&wp.element.createElement("div",{className:"border-left pr-3 pr-md-0"}," "),wp.element.createElement("div",{className:"py-2d75 bg-light rounded-md",style:{width:"65px",height:"51px"}}))),x&&wp.element.createElement(se.Fragment,null,wp.element.createElement("div",{className:"d-flex justify-content-between mb-2d75 mt-5"},wp.element.createElement("span",{className:"badge badge-shadow rounded-pill bg-light d-inline-block",style:{width:"130px",height:"20px"}}),"style-v4"!==O&&wp.element.createElement("span",{className:"badge badge-shadow rounded-pill bg-light d-inline-block",style:{width:"130px",height:"20px"}})),wp.element.createElement("div",{className:"progress bg-light"},wp.element.createElement("div",{className:"progress-bar w-60",role:"progressbar",style:{backgroundColor:"#ececec"}}))))))})))}}])&&de(t.prototype,n),r&&de(t,r),l}(r.Component);function ge(e){return(ge="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})(e)}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(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 _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xe(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=Oe(e);if(t){var o=Oe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Se(this,n)}}function Se(e,t){return!t||"object"!==ge(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Te=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}}),t&&_e(e,t)}(l,e);var t,n,r,i=xe(l);function l(){return Ee(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e,t=this.props,n=t.design,r=void 0===n?"basic":n,i=t.enableCarousel,l=t.limit,a=void 0===l?5:l,u=t.columns,c=void 0===u?5:u,s=t.xlColumns,f=t.lgColumns,p=t.mdColumns,d=t.smColumns,b=t.showImage,h=void 0===b||b,y=t.showName,v=void 0===y||y,g=t.showBook,w=void 0===g||g,E=t.enableFilters,k=void 0===E||E,_="200px";i&&(_="142px");var x="";switch(r){case"basic":x=wp.element.createElement(se.Fragment,null,!i&&k&&wp.element.createElement("div",{className:"authors-placeholder d-flex justify-content-between list-inline cbp-l-filters-alignRight cbp-l-filters-alignRight__custom text-left pt-4 pt-lg-8 mb-5 mb-lg-8 overflow-auto"},wp.element.createElement("div",{className:"progress bg-light w-100",style:{height:"32px"}})),wp.element.createElement("div",{className:m()(["row","authors","authors-placeholder"],(e={"overflow-hidden flex-nowrap":i},we(e,"row-cols-".concat(d," row-cols-md-").concat(p," row-cols-lg-").concat(f," row-cols-xl-").concat(s),i),we(e,"row-cols-md-3 row-cols-lg-".concat(c),!i),e))},o(1,a+1).map((function(e){return wp.element.createElement("div",{className:"author col thumbnail-item mb-7",key:e},wp.element.createElement("div",{className:"thumbnail-caption"},h&&wp.element.createElement("div",{className:"mx-auto rounded-circle mb-5",style:{height:_,width:_,backgroundColor:"#f8f9fa",marginBottom:"10px"}}),wp.element.createElement("div",{className:"thumbnail-body"},v&&wp.element.createElement("div",{className:"progress bg-light mb-2 w-60 mx-auto"}),w&&wp.element.createElement("div",{className:"progress bg-light w-80 mx-auto"}))))}))));break;case"horizontal":x=wp.element.createElement("div",{className:m()(["authors-list","horizontal","border","px-4","pt-4","authors-placeholder"],{})},o(1,a+1).map((function(e){return wp.element.createElement("div",{className:"media mb-3 align-items-center",key:e},h&&wp.element.createElement("div",{className:"thumbnail-caption"},wp.element.createElement("div",{className:"mx-auto rounded-circle",style:{height:"80px",width:"80px",backgroundColor:"#f8f9fa",marginBottom:"10px"}})),wp.element.createElement("div",{className:"media-body ml-3 pl-1"},v&&wp.element.createElement("div",{className:"progress bg-light mb-2"}),w&&wp.element.createElement("div",{className:"progress bg-light"})))})))}return x}}])&&ke(t.prototype,n),r&&ke(t,r),l}(r.Component);function Pe(e){return(Pe="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})(e)}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(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 je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Re(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=Me(e);if(t){var o=Me(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return De(this,n)}}function De(e,t){return!t||"object"!==Pe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Me(e){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ze=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}}),t&&je(e,t)}(l,e);var t,n,r,i=Re(l);function l(){return Ne(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.limit,n=void 0===t?1:t,r=e.placeholder,i=void 0===r?0:r,l=e.showImage,a=void 0===l||l,u=e.showProductFormat,c=void 0===u||u,s=e.showProductTitle,f=void 0===s||s,p=e.showProductAuthor,d=void 0===p||p,b=e.showProductPrice,h=void 0===b||b,y=e.showProductRating,v=void 0===y||y,g=e.showTimer,w=void 0===g||g,E=e.showTimerTitle,k=void 0===E||E,_=e.showProgressBar,x=void 0===_||_,S=e.showDiscountBadge,O=void 0===S||S;return wp.element.createElement("div",{className:m()(["deal-products-placeholder products"],{})},o(1,(i>0?i:n)+1).map((function(e){return wp.element.createElement("div",{className:"product product__card product__card-v2",key:"product-".concat(e)},wp.element.createElement("div",{className:"px-md-5 py-md-6 p-4 border border-primary border-width-2"},wp.element.createElement("div",{className:"woocommerce-loop-product__thumbnail py-8 position-relative"},O&&wp.element.createElement("div",{className:"progress bg-light rounded-circle position-absolute right-0 top-0",style:{height:"100px",width:"100px"}}),a&&wp.element.createElement("div",{className:"progress bg-light",style:{height:"300px",width:"200px",marginLeft:"auto",marginRight:"auto"}})),wp.element.createElement("div",{className:"woocommerce-loop-product__body"},wp.element.createElement("div",{className:"mb-3"},c&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),f&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),d&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"})),h&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),v&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block mb-2"},wp.element.createElement("div",{className:"progress bg-light"}))),w&&wp.element.createElement(se.Fragment,null,k&&wp.element.createElement("div",{className:"badge badge-shadow w-60 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),wp.element.createElement("div",{className:"d-flex align-items-stretch justify-content-between mt-4"},wp.element.createElement("div",{className:"py-2d75 bg-light rounded-md",style:{width:"65px",height:"51px"}}),wp.element.createElement("div",{className:"border-left pr-3 pr-md-0"}," "),wp.element.createElement("div",{className:"py-2d75 bg-light rounded-md",style:{width:"65px",height:"51px"}}),wp.element.createElement("div",{className:"border-left pr-3 pr-md-0"}," "),wp.element.createElement("div",{className:"py-2d75 bg-light rounded-md",style:{width:"65px",height:"51px"}}),wp.element.createElement("div",{className:"border-left pr-3 pr-md-0"}," "),wp.element.createElement("div",{className:"py-2d75 bg-light rounded-md",style:{width:"65px",height:"51px"}}))),x&&wp.element.createElement(se.Fragment,null,wp.element.createElement("div",{className:"d-flex justify-content-between mb-2d75 mt-5"},wp.element.createElement("span",{className:"badge badge-shadow rounded-pill bg-light d-inline-block",style:{width:"130px",height:"20px"}})),wp.element.createElement("div",{className:"progress bg-light"},wp.element.createElement("div",{className:"progress-bar w-60",role:"progressbar",style:{backgroundColor:"#ececec"}}))))))})))}}])&&Ce(t.prototype,n),r&&Ce(t,r),l}(r.Component);function Ie(e){return(Ie="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})(e)}function Fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ue(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=He(e);if(t){var o=He(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ae(this,n)}}function Ae(e,t){return!t||"object"!==Ie(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var We=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}}),t&&Ve(e,t)}(l,e);var t,n,r,i=Ue(l);function l(){return Fe(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.limit,n=void 0===t?1:t,r=e.placeholder,i=void 0===r?0:r,l=e.showImage,a=void 0===l||l,u=e.showProductFormat,c=void 0===u||u,s=e.showProductTitle,f=void 0===s||s,p=e.showProductAuthor,d=void 0===p||p,b=e.showProductPrice,h=void 0===b||b,y=e.showAddToCart,v=void 0===y||y,g=e.showCompare,w=void 0===g||g,E=e.showWishlist,k=void 0===E||E,_=e.enableContainer,x=void 0===_||_;return wp.element.createElement("div",{className:"bwgb-single-product-carousel bwgb-single-product-carousel-placeholder"},wp.element.createElement("div",{className:m()(["wp-block-bwgb-single-product-carousel__inner"],{container:x})},o(1,(i>0?i:n)+1).map((function(e){return wp.element.createElement("div",{className:"product space-top-lg-2 space-bottom-lg-4 position-relative",key:"product-".concat(e)},wp.element.createElement("div",{className:"media justify-content-center align-items-center"},wp.element.createElement("div",{className:"woocommerce-loop-product__thumbnail mb-6 mb-md-10 mb-lg-0"},a&&wp.element.createElement("div",{className:"progress bg-light mb-2",style:{width:"300px",height:"300px"}})),wp.element.createElement("div",{className:"media-body ml-md-5 ml-lg-10 max-width-410"},c&&wp.element.createElement("div",{className:"badge badge-shadow w-50"},wp.element.createElement("div",{className:"progress bg-light"})),f&&wp.element.createElement("div",{className:"badge badge-shadow w-80"},wp.element.createElement("div",{className:"progress bg-light"})),d&&wp.element.createElement("div",{className:"badge badge-shadow w-50 d-block"},wp.element.createElement("div",{className:"progress bg-light"})),h&&wp.element.createElement("div",{className:"badge badge-shadow w-50 mb-4"},wp.element.createElement("div",{className:"progress bg-light"})),(v||w||k)&&wp.element.createElement("div",{className:"d-flex"},v&&wp.element.createElement("div",{className:"badge badge-shadow w-25"},wp.element.createElement("div",{className:"progress bg-light"})),w&&wp.element.createElement("div",{className:"ml-2 badge badge-shadow w-20"},wp.element.createElement("div",{className:"progress bg-light"})),k&&wp.element.createElement("div",{className:"ml-2 badge badge-shadow w-20"},wp.element.createElement("div",{className:"progress bg-light"}))))))}))))}}])&&Le(t.prototype,n),r&&Le(t,r),l}(r.Component)},function(e,t){e.exports=wp.element},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(19)},function(e,t){e.exports=wp.i18n},function(e,t,n){"use strict";
var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function l(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,t){for(var n,a,u=l(e),c=1;c<arguments.length;c++){for(var s in n=Object(arguments[c]))o.call(n,s)&&(u[s]=n[s]);if(r){a=r(n);for(var f=0;f<a.length;f++)i.call(n,a[f])&&(u[a[f]]=n[a[f]])}}return u}},function(e,t,n){var r;r=function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){e.exports=n(5)()},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=function(e,t,n){var r=e.direction,o=e.value;switch(r){case"top":return n.top+o<t.top&&n.bottom>t.bottom&&n.left<t.left&&n.right>t.right;case"left":return n.left+o<t.left&&n.bottom>t.bottom&&n.top<t.top&&n.right>t.right;case"bottom":return n.bottom-o>t.bottom&&n.left<t.left&&n.right>t.right&&n.top<t.top;case"right":return n.right-o>t.right&&n.left<t.left&&n.top<t.top&&n.bottom>t.bottom}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return y}));var r=n(1),o=n.n(r),i=n(2),l=n.n(i),a=n(0),u=n.n(a),c=n(3),s=n.n(c);function f(e){return(f="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})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=d(t).call(this,e),n=!o||"object"!==f(o)&&"function"!=typeof o?m(r):o,h(m(n),"getContainer",(function(){return n.props.containment||window})),h(m(n),"addEventListener",(function(e,t,r,o){var i;n.debounceCheck||(n.debounceCheck={});var l=function(){i=null,n.check()},a={target:e,fn:o>-1?function(){i||(i=setTimeout(l,o||0))}:function(){clearTimeout(i),i=setTimeout(l,r||0)},getLastTimeout:function(){return i}};e.addEventListener(t,a.fn),n.debounceCheck[t]=a})),h(m(n),"startWatching",(function(){n.debounceCheck||n.interval||(n.props.intervalCheck&&(n.interval=setInterval(n.check,n.props.intervalDelay)),n.props.scrollCheck&&n.addEventListener(n.getContainer(),"scroll",n.props.scrollDelay,n.props.scrollThrottle),n.props.resizeCheck&&n.addEventListener(window,"resize",n.props.resizeDelay,n.props.resizeThrottle),!n.props.delayedCall&&n.check())})),h(m(n),"stopWatching",(function(){if(n.debounceCheck)for(var e in n.debounceCheck)if(n.debounceCheck.hasOwnProperty(e)){var t=n.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),n.debounceCheck[e]=null}n.debounceCheck=null,n.interval&&(n.interval=clearInterval(n.interval))})),h(m(n),"check",(function(){var e,t,r=n.node;if(!r)return n.state;if(e=function(e){return void 0===e.width&&(e.width=e.right-e.left),void 0===e.height&&(e.height=e.bottom-e.top),e}(n.roundRectDown(r.getBoundingClientRect())),n.props.containment){var o=n.props.containment.getBoundingClientRect();t={top:o.top,left:o.left,bottom:o.bottom,right:o.right}}else t={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var i=n.props.offset||{};"object"===f(i)&&(t.top+=i.top||0,t.left+=i.left||0,t.bottom-=i.bottom||0,t.right-=i.right||0);var l={top:e.top>=t.top,left:e.left>=t.left,bottom:e.bottom<=t.bottom,right:e.right<=t.right},a=e.height>0&&e.width>0,u=a&&l.top&&l.left&&l.bottom&&l.right;if(a&&n.props.partialVisibility){var c=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof n.props.partialVisibility&&(c=l[n.props.partialVisibility]),u=n.props.minTopValue?c&&e.top<=t.bottom-n.props.minTopValue:c}"string"==typeof i.direction&&"number"==typeof i.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",i.direction,i.value),u=s()(i,e,t));var p=n.state;return n.state.isVisible!==u&&(p={isVisible:u,visibilityRect:l},n.setState(p),n.props.onChange&&n.props.onChange(u)),p})),n.state={isVisible:null,visibilityRect:{}},n}var n,r,i;return 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}}),t&&b(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.node=l.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(e){this.node=l.a.findDOMNode(this),this.props.active&&!e.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(e){return{top:Math.floor(e.top),left:Math.floor(e.left),bottom:Math.floor(e.bottom),right:Math.floor(e.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):o.a.Children.only(this.props.children)}}])&&p(n.prototype,r),i&&p(n,i),t}(o.a.Component);h(y,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:o.a.createElement("span",null)}),h(y,"propTypes",{onChange:u.a.func,active:u.a.bool,partialVisibility:u.a.oneOfType([u.a.bool,u.a.oneOf(["top","right","bottom","left"])]),delayedCall:u.a.bool,offset:u.a.oneOfType([u.a.shape({top:u.a.number,left:u.a.number,bottom:u.a.number,right:u.a.number}),u.a.shape({direction:u.a.oneOf(["top","right","bottom","left"]),value:u.a.number})]),scrollCheck:u.a.bool,scrollDelay:u.a.number,scrollThrottle:u.a.number,resizeCheck:u.a.bool,resizeDelay:u.a.number,resizeThrottle:u.a.number,intervalCheck:u.a.bool,intervalDelay:u.a.number,containment:"undefined"!=typeof window?u.a.instanceOf(window.Element):u.a.any,children:u.a.oneOfType([u.a.element,u.a.func]),minTopValue:u.a.number})},function(e,t,n){"use strict";var r=n(6);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,l){if(l!==r){var a=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 a.name="Invariant Violation",a}}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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},e.exports=r(n(1),n(9))},function(e,t,n){"use strict";n.r(t);n(14);var r=n(15);r.keys().forEach((function(e){return r(e)}))},function(e,t){window.NodeList&&!window.NodeList.prototype.forEach&&(window.NodeList.prototype.forEach=Array.prototype.forEach)},function(e,t,n){var r={"./author/frontend.js":22,"./blog-post/frontend.js":28,"./deal-product/frontend.js":23,"./nav-menu/frontend.js":29,"./product-categories/frontend.js":24,"./product-featured/frontend.js":30,"./products-carousel/frontend.js":25,"./products-deals-carousel/frontend.js":26,"./products-list/frontend.js":31,"./products-simple/frontend.js":32,"./products/frontend.js":33,"./single-product-carousel/frontend.js":27};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=15},function(e,t,n){"use strict";
var r=n(11),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,l=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,s=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,b=o?Symbol.for("react.lazy"):60116,h="function"==typeof Symbol&&Symbol.iterator;function y(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 v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function w(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||v}function E(){}function k(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||v}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=w.prototype;var _=k.prototype=new E;_.constructor=k,r(_,w.prototype),_.isPureReactComponent=!0;var x={current:null},S=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,n){var r,o={},l=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(l=""+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 c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];o.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:l,ref:a,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var N=/\/+/g,C=[];function j(e,t,n,r){if(C.length){var o=C.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 R(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>C.length&&C.push(e)}function D(e,t,n){return null==e?0:function e(t,n,r,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case l:u=!0}}if(u)return r(o,t,""===n?"."+M(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var s=n+M(a=t[c],c);u+=e(a,s,r,o)}else if(null===t||"object"!=typeof t?s=null:s="function"==typeof(s=h&&t[h]||t["@@iterator"])?s:null,"function"==typeof s)for(t=s.call(t),c=0;!(a=t.next()).done;)u+=e(a=a.value,s=n+M(a,c++),r,o);else if("object"===a)throw r=""+t,Error(y(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function M(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 z(e,t){e.func.call(e.context,t,e.count++)}function I(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?F(e,r,n,(function(e){return e})):null!=e&&(P(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(N,"$&/")+"/")+n)),r.push(e))}function F(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(N,"$&/")+"/"),D(e,I,t=j(t,i,r,o)),R(t)}var L={current:null};function V(){var e=L.current;if(null===e)throw Error(y(321));return e}var U={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return F(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;D(e,z,t=j(null,null,t,n)),R(t)},count:function(e){return D(e,(function(){return null}),null)},toArray:function(e){var t=[];return F(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(y(143));return e}},t.Component=w,t.Fragment=a,t.Profiler=c,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(y(267,e));var o=r({},e.props),l=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=x.current),void 0!==t.key&&(l=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)S.call(t,s)&&!O.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:i,type:e.type,key:l,ref:a,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:s,_context:e},e.Consumer=e},t.createElement=T,t.createFactory=function(e){var t=T.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=P,t.lazy=function(e){return{$$typeof:b,_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.13.1"},function(e,t,n){"use strict";var r=n(18);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,l){if(l!==r){var a=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 a.name="Invariant Violation",a}}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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
var r=n(1),o=n(11),i=n(20);function l(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(l(227));function a(e,t,n,r,o,i,l,a,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var u=!1,c=null,s=!1,f=null,p={onError:function(e){u=!0,c=e}};function d(e,t,n,r,o,i,l,s,f){u=!1,c=null,a.apply(p,arguments)}var m=null,b=null,h=null;function y(e,t,n){var r=e.type||"unknown-event";e.currentTarget=h(n),function(e,t,n,r,o,i,a,p,m){if(d.apply(this,arguments),u){if(!u)throw Error(l(198));var b=c;u=!1,c=null,s||(s=!0,f=b)}}(r,t,void 0,e),e.currentTarget=null}var v=null,g={};function w(){if(v)for(var e in g){var t=g[e],n=v.indexOf(e);if(!(-1<n))throw Error(l(96,e));if(!k[n]){if(!t.extractEvents)throw Error(l(97,e));for(var r in k[n]=t,n=t.eventTypes){var o=void 0,i=n[r],a=t,u=r;if(_.hasOwnProperty(u))throw Error(l(99,u));_[u]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&E(c[o],a,u);o=!0}else i.registrationName?(E(i.registrationName,a,u),o=!0):o=!1;if(!o)throw Error(l(98,r,e))}}}}function E(e,t,n){if(x[e])throw Error(l(100,e));x[e]=t,S[e]=t.eventTypes[n].dependencies}var k=[],_={},x={},S={};function O(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!g.hasOwnProperty(t)||g[t]!==r){if(g[t])throw Error(l(102,t));g[t]=r,n=!0}}n&&w()}var T=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),P=null,N=null,C=null;function j(e){if(e=b(e)){if("function"!=typeof P)throw Error(l(280));var t=e.stateNode;t&&(t=m(t),P(e.stateNode,e.type,t))}}function R(e){N?C?C.push(e):C=[e]:N=e}function D(){if(N){var e=N,t=C;if(C=N=null,j(e),t)for(e=0;e<t.length;e++)j(t[e])}}function M(e,t){return e(t)}function z(e,t,n,r,o){return e(t,n,r,o)}function I(){}var F=M,L=!1,V=!1;function U(){null===N&&null===C||(I(),D())}function A(e,t,n){if(V)return e(t,n);V=!0;try{return F(e,t,n)}finally{V=!1,U()}}var H=/^[: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]*$/,W=Object.prototype.hasOwnProperty,B={},Q={};function $(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 q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){q[e]=new $(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];q[t]=new $(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){q[e]=new $(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){q[e]=new $(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){q[e]=new $(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){q[e]=new $(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){q[e]=new $(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){q[e]=new $(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){q[e]=new $(e,5,!1,e.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function Y(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(K,Y);q[t]=new $(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(K,Y);q[t]=new $(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(K,Y);q[t]=new $(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){q[e]=new $(e,1,!1,e.toLowerCase(),null,!1)})),q.xlinkHref=new $("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){q[e]=new $(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function J(e,t,n,r){var o=q.hasOwnProperty(t)?q[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!!W.call(Q,e)||!W.call(B,e)&&(H.test(e)?Q[e]=!0:(B[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))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var G=/^(.*)[\\\/]/,Z="function"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,ne=Z?Symbol.for("react.fragment"):60107,re=Z?Symbol.for("react.strict_mode"):60108,oe=Z?Symbol.for("react.profiler"):60114,ie=Z?Symbol.for("react.provider"):60109,le=Z?Symbol.for("react.context"):60110,ae=Z?Symbol.for("react.concurrent_mode"):60111,ue=Z?Symbol.for("react.forward_ref"):60112,ce=Z?Symbol.for("react.suspense"):60113,se=Z?Symbol.for("react.suspense_list"):60120,fe=Z?Symbol.for("react.memo"):60115,pe=Z?Symbol.for("react.lazy"):60116,de=Z?Symbol.for("react.block"):60121,me="function"==typeof Symbol&&Symbol.iterator;function be(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=me&&e[me]||e["@@iterator"])?e:null}function he(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 ce:return"Suspense";case se:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case le: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 he(e.type);case de:return he(e.render);case pe:if(e=1===e._status?e._result:null)return he(e)}return null}function ye(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=he(e.type);n=null,r&&(n=he(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(G,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ve(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ge(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=ge(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 Ee(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ge(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(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 _e(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ve(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 xe(e,t){null!=(t=t.checked)&&J(e,"checked",t,!1)}function Se(e,t){xe(e,t);var n=ve(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")?Te(e,t.type,n):t.hasOwnProperty("defaultValue")&&Te(e,t.type,ve(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 Te(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Pe(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 Ne(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=""+ve(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 Ce(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(l(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function je(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(l(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(l(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ve(n)}}function Re(e,t){var n=ve(t.value),r=ve(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 De(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Me="http://www.w3.org/1999/xhtml",ze="http://www.w3.org/2000/svg";function Ie(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 Fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Le,Ve=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==ze||"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)}}));function Ue(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 Ae(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:Ae("Animation","AnimationEnd"),animationiteration:Ae("Animation","AnimationIteration"),animationstart:Ae("Animation","AnimationStart"),transitionend:Ae("Transition","TransitionEnd")},We={},Be={};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 Be)return We[e]=n[t];return e}T&&(Be=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 $e=Qe("animationend"),qe=Qe("animationiteration"),Ke=Qe("animationstart"),Ye=Qe("transitionend"),Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Je=new("function"==typeof WeakMap?WeakMap:Map);function Ge(e){var t=Je.get(e);return void 0===t&&(t=new Map,Je.set(e,t)),t}function Ze(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 et(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 tt(e){if(Ze(e)!==e)throw Error(l(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(l(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 tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(l(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,u=o.child;u;){if(u===n){a=!0,n=o,r=i;break}if(u===r){a=!0,r=o,n=i;break}u=u.sibling}if(!a){for(u=i.child;u;){if(u===n){a=!0,n=i,r=o;break}if(u===r){a=!0,r=i,n=o;break}u=u.sibling}if(!a)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(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 rt(e,t){if(null==t)throw Error(l(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 ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=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++)y(e,t[r],n[r]);else t&&y(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function at(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,lt),it)throw Error(l(95));if(s)throw e=f,s=!1,f=null,e}}function ut(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!T)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 st=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>st.length&&st.push(e)}function pt(e,t,n,r){if(st.length){var o=st.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 dt(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=Tn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=ut(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,l=e.eventSystemFlags;0===n&&(l|=64);for(var a=null,u=0;u<k.length;u++){var c=k[u];c&&(c=c.extractEvents(r,t,i,o,l))&&(a=rt(a,c))}at(a)}}function mt(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===Xe.indexOf(e)&&qt(e,t)}n.set(e,null)}}var bt,ht,yt,vt=!1,gt=[],wt=null,Et=null,kt=null,_t=new Map,xt=new Map,St=[],Ot="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":wt=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":kt=null;break;case"pointerover":case"pointerout":_t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xt.delete(t.pointerId)}}function Ct(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Pt(t,n,r,o,i),null!==t&&(null!==(t=Pn(t))&&ht(t)),e):(e.eventSystemFlags|=r,e)}function jt(e){var t=Tn(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(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 Rt(e){if(null!==e.blockedOn)return!1;var t=Gt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Pn(t);return null!==n&&ht(n),e.blockedOn=t,!1}return!0}function Dt(e,t,n){Rt(e)&&n.delete(t)}function Mt(){for(vt=!1;0<gt.length;){var e=gt[0];if(null!==e.blockedOn){null!==(e=Pn(e.blockedOn))&&bt(e);break}var t=Gt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:gt.shift()}null!==wt&&Rt(wt)&&(wt=null),null!==Et&&Rt(Et)&&(Et=null),null!==kt&&Rt(kt)&&(kt=null),_t.forEach(Dt),xt.forEach(Dt)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Mt)))}function It(e){function t(t){return zt(t,e)}if(0<gt.length){zt(gt[0],e);for(var n=1;n<gt.length;n++){var r=gt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==wt&&zt(wt,e),null!==Et&&zt(Et,e),null!==kt&&zt(kt,e),_t.forEach(t),xt.forEach(t),n=0;n<St.length;n++)(r=St[n]).blockedOn===e&&(r.blockedOn=null);for(;0<St.length&&null===(n=St[0]).blockedOn;)jt(n),null===n.blockedOn&&St.shift()}var Ft={},Lt=new Map,Vt=new Map,Ut=["abort","abort",$e,"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 At(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),Lt.set(r,i),Ft[o]=i}}At("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),At("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),At(Ut,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Wt=0;Wt<Ht.length;Wt++)Vt.set(Ht[Wt],0);var Bt=i.unstable_UserBlockingPriority,Qt=i.unstable_runWithPriority,$t=!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=Xt.bind(null,t,1,e);break;default:r=Jt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){L||I();var o=Jt,i=L;L=!0;try{z(o,e,t,n,r)}finally{(L=i)||U()}}function Xt(e,t,n,r){Qt(Bt,Jt.bind(null,e,t,n,r))}function Jt(e,t,n,r){if($t)if(0<gt.length&&-1<Ot.indexOf(e))e=Pt(null,e,t,n,r),gt.push(e);else{var o=Gt(e,t,n,r);if(null===o)Nt(e,r);else if(-1<Ot.indexOf(e))e=Pt(o,e,t,n,r),gt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return wt=Ct(wt,e,t,n,r,o),!0;case"dragenter":return Et=Ct(Et,e,t,n,r,o),!0;case"mouseover":return kt=Ct(kt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return _t.set(i,Ct(_t.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,xt.set(i,Ct(xt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Nt(e,r),e=pt(e,r,null,t);try{A(dt,e)}finally{ft(e)}}}}function Gt(e,t,n,r){if(null!==(n=Tn(n=ut(r)))){var o=Ze(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(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=pt(e,r,n,t);try{A(dt,e)}finally{ft(e)}return null}var Zt={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},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Zt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var rn=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 on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(l(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(l(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(l(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(l(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 an=Me;function un(e,t){var n=Ge(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)mt(t[r],e,n)}function cn(){}function sn(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 fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(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=fn(r)}}function dn(){for(var e=window,t=sn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=sn((e=t.contentWindow).document)}return t}function mn(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 bn=null,hn=null;function yn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(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 gn="function"==typeof setTimeout?setTimeout:void 0,wn="function"==typeof clearTimeout?clearTimeout:void 0;function En(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function kn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var _n=Math.random().toString(36).slice(2),xn="__reactInternalInstance$"+_n,Sn="__reactEventHandlers$"+_n,On="__reactContainere$"+_n;function Tn(e){var t=e[xn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[On]||n[xn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=kn(e);null!==e;){if(n=e[xn])return n;e=kn(e)}return t}n=(e=n).parentNode}return null}function Pn(e){return!(e=e[xn]||e[On])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Nn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(l(33))}function Cn(e){return e[Sn]||null}function jn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Rn(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(l(231,t,typeof n));return n}function Dn(e,t,n){(t=Rn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Mn(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--;)Dn(n[t],"captured",e);for(t=0;t<n.length;t++)Dn(n[t],"bubbled",e)}}function zn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Rn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function In(e){e&&e.dispatchConfig.registrationName&&zn(e._targetInst,null,e)}function Fn(e){ot(e,Mn)}var Ln=null,Vn=null,Un=null;function An(){if(Un)return Un;var e,t,n=Vn,r=n.length,o="value"in Ln?Ln.value:Ln.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var l=r-e;for(t=1;t<=l&&n[r-t]===o[i-t];t++);return Un=o.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function Wn(){return!1}function Bn(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)?Hn:Wn,this.isPropagationStopped=Wn,this}function Qn(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 $n(e){if(!(e instanceof this))throw Error(l(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function qn(e){e.eventPool=[],e.getPooled=Qn,e.release=$n}o(Bn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:Wn,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=Wn,this._dispatchInstances=this._dispatchListeners=null}}),Bn.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},Bn.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,qn(n),n},qn(Bn);var Kn=Bn.extend({data:null}),Yn=Bn.extend({data:null}),Xn=[9,13,27,32],Jn=T&&"CompositionEvent"in window,Gn=null;T&&"documentMode"in document&&(Gn=document.documentMode);var Zn=T&&"TextEvent"in window&&!Gn,er=T&&(!Jn||Gn&&8<Gn&&11>=Gn),tr=String.fromCharCode(32),nr={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(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var lr=!1;var ar={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Jn)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else lr?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(lr||i!==nr.compositionStart?i===nr.compositionEnd&&lr&&(o=An()):(Vn="value"in(Ln=r)?Ln.value:Ln.textContent,lr=!0)),i=Kn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),Fn(i),o=i):o=null,(e=Zn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(lr)return"compositionend"===e||!Jn&&or(e,t)?(e=An(),Un=Vn=Ln=null,lr=!1,e):null;switch(e){case"paste":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 er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Yn.getPooled(nr.beforeInput,t,n,r)).data=e,Fn(t)):t=null,null===o?t:null===t?o:[o,t]}},ur={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 cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ur[e.type]:"textarea"===t}var sr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=Bn.getPooled(sr.change,e,t,n)).type="change",R(n),Fn(e),e}var pr=null,dr=null;function mr(e){at(e)}function br(e){if(Ee(Nn(e)))return e}function hr(e,t){if("change"===e)return t}var yr=!1;function vr(){pr&&(pr.detachEvent("onpropertychange",gr),dr=pr=null)}function gr(e){if("value"===e.propertyName&&br(dr))if(e=fr(dr,e,ut(e)),L)at(e);else{L=!0;try{M(mr,e)}finally{L=!1,U()}}}function wr(e,t,n){"focus"===e?(vr(),dr=n,(pr=t).attachEvent("onpropertychange",gr)):"blur"===e&&vr()}function Er(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return br(dr)}function kr(e,t){if("click"===e)return br(t)}function _r(e,t){if("input"===e||"change"===e)return br(t)}T&&(yr=ct("input")&&(!document.documentMode||9<document.documentMode));var xr={eventTypes:sr,_isInputEventSupported:yr,extractEvents:function(e,t,n,r){var o=t?Nn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var l=hr;else if(cr(o))if(yr)l=_r;else{l=Er;var a=wr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(l=kr);if(l&&(l=l(e,t)))return fr(l,n,r);a&&a(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Te(o,"number",o.value)}},Sr=Bn.extend({view:null,detail:null}),Or={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Or[e])&&!!t[e]}function Pr(){return Tr}var Nr=0,Cr=0,jr=!1,Rr=!1,Dr=Sr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Pr,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=Nr;return Nr=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=Cr;return Cr=e.screenY,Rr?"mousemove"===e.type?e.screenY-t:0:(Rr=!0,0)}}),Mr=Dr.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"]}},Ir={eventTypes:zr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!l&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,l)?(l=t,null!==(t=(t=n.relatedTarget||n.toElement)?Tn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):l=null;if(l===t)return null;if("mouseout"===e||"mouseover"===e)var a=Dr,u=zr.mouseLeave,c=zr.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(a=Mr,u=zr.pointerLeave,c=zr.pointerEnter,s="pointer");if(e=null==l?i:Nn(l),i=null==t?i:Nn(t),(u=a.getPooled(u,l,n,r)).type=s+"leave",u.target=e,u.relatedTarget=i,(n=a.getPooled(c,t,n,r)).type=s+"enter",n.target=i,n.relatedTarget=e,s=t,(r=l)&&s)e:{for(c=s,l=0,e=a=r;e;e=jn(e))l++;for(e=0,t=c;t;t=jn(t))e++;for(;0<l-e;)a=jn(a),l--;for(;0<e-l;)c=jn(c),e--;for(;l--;){if(a===c||a===c.alternate)break e;a=jn(a),c=jn(c)}a=null}else a=null;for(c=a,a=[];r&&r!==c&&(null===(l=r.alternate)||l!==c);)a.push(r),r=jn(r);for(r=[];s&&s!==c&&(null===(l=s.alternate)||l!==c);)r.push(s),s=jn(s);for(s=0;s<a.length;s++)zn(a[s],"bubbled",u);for(s=r.length;0<s--;)zn(r[s],"captured",n);return 0==(64&o)?[u]:[u,n]}};var Fr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Lr=Object.prototype.hasOwnProperty;function Vr(e,t){if(Fr(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(!Lr.call(t,n[r])||!Fr(e[n[r]],t[n[r]]))return!1;return!0}var Ur=T&&"documentMode"in document&&11>=document.documentMode,Ar={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Hr=null,Wr=null,Br=null,Qr=!1;function $r(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Qr||null==Hr||Hr!==sn(n)?null:("selectionStart"in(n=Hr)&&mn(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},Br&&Vr(Br,n)?null:(Br=n,(e=Bn.getPooled(Ar.select,Wr,e,t)).type="select",e.target=Hr,Fn(e),e))}var qr={eventTypes:Ar,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=Ge(o),i=S.onSelect;for(var l=0;l<i.length;l++)if(!o.has(i[l])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Nn(t):window,e){case"focus":(cr(o)||"true"===o.contentEditable)&&(Hr=o,Wr=t,Br=null);break;case"blur":Br=Wr=Hr=null;break;case"mousedown":Qr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Qr=!1,$r(n,r);case"selectionchange":if(Ur)break;case"keydown":case"keyup":return $r(n,r)}return null}},Kr=Bn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Yr=Bn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xr=Sr.extend({relatedTarget:null});function Jr(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 Gr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zr={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"},eo=Sr.extend({key:function(e){if(e.key){var t=Gr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Jr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Pr,charCode:function(e){return"keypress"===e.type?Jr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Jr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=Dr.extend({dataTransfer:null}),no=Sr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Pr}),ro=Bn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=Dr.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}),io={eventTypes:Ft,extractEvents:function(e,t,n,r){var o=Lt.get(e);if(!o)return null;switch(e){case"keypress":if(0===Jr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Xr;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=Dr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case $e:case qe:case Ke:e=Kr;break;case Ye:e=ro;break;case"scroll":e=Sr;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=Yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Mr;break;default:e=Bn}return Fn(t=e.getPooled(o,t,n,r)),t}};if(v)throw Error(l(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),m=Cn,b=Pn,h=Nn,O({SimpleEventPlugin:io,EnterLeaveEventPlugin:Ir,ChangeEventPlugin:xr,SelectEventPlugin:qr,BeforeInputEventPlugin:ar});var lo=[],ao=-1;function uo(e){0>ao||(e.current=lo[ao],lo[ao]=null,ao--)}function co(e,t){ao++,lo[ao]=e.current,e.current=t}var so={},fo={current:so},po={current:!1},mo=so;function bo(e,t){var n=e.type.contextTypes;if(!n)return so;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 ho(e){return null!=(e=e.childContextTypes)}function yo(){uo(po),uo(fo)}function vo(e,t,n){if(fo.current!==so)throw Error(l(168));co(fo,t),co(po,n)}function go(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(l(108,he(t)||"Unknown",i));return o({},n,{},r)}function wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||so,mo=fo.current,co(fo,e),co(po,po.current),!0}function Eo(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(e=go(e,t,mo),r.__reactInternalMemoizedMergedChildContext=e,uo(po),uo(fo),co(fo,e)):uo(po),co(po,n)}var ko=i.unstable_runWithPriority,_o=i.unstable_scheduleCallback,xo=i.unstable_cancelCallback,So=i.unstable_requestPaint,Oo=i.unstable_now,To=i.unstable_getCurrentPriorityLevel,Po=i.unstable_ImmediatePriority,No=i.unstable_UserBlockingPriority,Co=i.unstable_NormalPriority,jo=i.unstable_LowPriority,Ro=i.unstable_IdlePriority,Do={},Mo=i.unstable_shouldYield,zo=void 0!==So?So:function(){},Io=null,Fo=null,Lo=!1,Vo=Oo(),Uo=1e4>Vo?Oo:function(){return Oo()-Vo};function Ao(){switch(To()){case Po:return 99;case No:return 98;case Co:return 97;case jo:return 96;case Ro:return 95;default:throw Error(l(332))}}function Ho(e){switch(e){case 99:return Po;case 98:return No;case 97:return Co;case 96:return jo;case 95:return Ro;default:throw Error(l(332))}}function Wo(e,t){return e=Ho(e),ko(e,t)}function Bo(e,t,n){return e=Ho(e),_o(e,t,n)}function Qo(e){return null===Io?(Io=[e],Fo=_o(Po,qo)):Io.push(e),Do}function $o(){if(null!==Fo){var e=Fo;Fo=null,xo(e)}qo()}function qo(){if(!Lo&&null!==Io){Lo=!0;var e=0;try{var t=Io;Wo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Io=null}catch(t){throw null!==Io&&(Io=Io.slice(e+1)),_o(Po,$o),t}finally{Lo=!1}}}function Ko(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Yo(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 Xo={current:null},Jo=null,Go=null,Zo=null;function ei(){Zo=Go=Jo=null}function ti(e){var t=Xo.current;uo(Xo),e.type._context._currentValue=t}function ni(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 ri(e,t){Jo=e,Zo=Go=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Cl=!0),e.firstContext=null)}function oi(e,t){if(Zo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Zo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Go){if(null===Jo)throw Error(l(308));Go=t,Jo.dependencies={expirationTime:0,firstContext:t,responders:null}}else Go=Go.next=t;return e._currentValue}var ii=!1;function li(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ai(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ui(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ci(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 si(e,t){var n=e.alternate;null!==n&&ai(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function fi(e,t,n,r){var i=e.updateQueue;ii=!1;var l=i.baseQueue,a=i.shared.pending;if(null!==a){if(null!==l){var u=l.next;l.next=a.next,a.next=u}l=a,i.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=a))}if(null!==l){u=l.next;var c=i.baseState,s=0,f=null,p=null,d=null;if(null!==u)for(var m=u;;){if((a=m.expirationTime)<r){var b={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null};null===d?(p=d=b,f=c):d=d.next=b,a>s&&(s=a)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null}),iu(a,m.suspenseConfig);e:{var h=e,y=m;switch(a=t,b=n,y.tag){case 1:if("function"==typeof(h=y.payload)){c=h.call(b,c,a);break e}c=h;break e;case 3:h.effectTag=-4097&h.effectTag|64;case 0:if(null==(a="function"==typeof(h=y.payload)?h.call(b,c,a):h))break e;c=o({},c,a);break e;case 2:ii=!0}}null!==m.callback&&(e.effectTag|=32,null===(a=i.effects)?i.effects=[m]:a.push(m))}if(null===(m=m.next)||m===u){if(null===(a=i.shared.pending))break;m=l.next=a.next,a.next=u,i.baseQueue=l=a,i.shared.pending=null}}null===d?f=c:d.next=p,i.baseState=f,i.baseQueue=d,lu(s),e.expirationTime=s,e.memoizedState=c}}function pi(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(l(191,r));r.call(o)}}}var di=X.ReactCurrentBatchConfig,mi=(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 hi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=$a(),o=di.suspense;(o=ui(r=qa(r,e,o),o)).payload=t,null!=n&&(o.callback=n),ci(e,o),Ka(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=$a(),o=di.suspense;(o=ui(r=qa(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),ci(e,o),Ka(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=$a(),r=di.suspense;(r=ui(n=qa(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ci(e,r),Ka(e,n)}};function yi(e,t,n,r,o,i,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,l):!t.prototype||!t.prototype.isPureReactComponent||(!Vr(n,r)||!Vr(o,i))}function vi(e,t,n){var r=!1,o=so,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(o=ho(t)?mo:fo.current,i=(r=null!=(r=t.contextTypes))?bo(e,o):so),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=hi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function gi(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&&hi.enqueueReplaceState(t,t.state,null)}function wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=mi,li(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=oi(i):(i=ho(t)?mo:fo.current,o.context=bo(e,i)),fi(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&&hi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var Ei=Array.isArray;function ki(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(l(309));var r=n.stateNode}if(!r)throw Error(l(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===mi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(l(284));if(!n._owner)throw Error(l(290,e))}return e}function _i(e,t){if("textarea"!==e.type)throw Error(l(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function xi(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=Ou(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 a(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Nu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=ki(e,t,n),r.return=e,r):((r=Tu(n.type,n.key,n.props,null,e.mode,r)).ref=ki(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Cu(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=Pu(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=Nu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Tu(t.type,t.key,t.props,null,e.mode,n)).ref=ki(e,null,t),n.return=e,n;case te:return(t=Cu(t,e.mode,n)).return=e,t}if(Ei(t)||be(t))return(t=Pu(t,e.mode,n,null)).return=e,t;_i(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):c(e,t,n,r):null;case te:return n.key===o?s(e,t,n,r):null}if(Ei(n)||be(n))return null!==o?null:f(e,t,n,r,null);_i(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):c(t,e,r,o);case te:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Ei(r)||be(r))return f(t,e=e.get(n)||null,r,o,null);_i(t,r)}return null}function b(o,l,a,u){for(var c=null,s=null,f=l,b=l=0,h=null;null!==f&&b<a.length;b++){f.index>b?(h=f,f=null):h=f.sibling;var y=d(o,f,a[b],u);if(null===y){null===f&&(f=h);break}e&&f&&null===y.alternate&&t(o,f),l=i(y,l,b),null===s?c=y:s.sibling=y,s=y,f=h}if(b===a.length)return n(o,f),c;if(null===f){for(;b<a.length;b++)null!==(f=p(o,a[b],u))&&(l=i(f,l,b),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(o,f);b<a.length;b++)null!==(h=m(f,o,b,a[b],u))&&(e&&null!==h.alternate&&f.delete(null===h.key?b:h.key),l=i(h,l,b),null===s?c=h:s.sibling=h,s=h);return e&&f.forEach((function(e){return t(o,e)})),c}function h(o,a,u,c){var s=be(u);if("function"!=typeof s)throw Error(l(150));if(null==(u=s.call(u)))throw Error(l(151));for(var f=s=null,b=a,h=a=0,y=null,v=u.next();null!==b&&!v.done;h++,v=u.next()){b.index>h?(y=b,b=null):y=b.sibling;var g=d(o,b,v.value,c);if(null===g){null===b&&(b=y);break}e&&b&&null===g.alternate&&t(o,b),a=i(g,a,h),null===f?s=g:f.sibling=g,f=g,b=y}if(v.done)return n(o,b),s;if(null===b){for(;!v.done;h++,v=u.next())null!==(v=p(o,v.value,c))&&(a=i(v,a,h),null===f?s=v:f.sibling=v,f=v);return s}for(b=r(o,b);!v.done;h++,v=u.next())null!==(v=m(b,o,h,v.value,c))&&(e&&null!==v.alternate&&b.delete(null===v.key?h:v.key),a=i(v,a,h),null===f?s=v:f.sibling=v,f=v);return e&&b.forEach((function(e){return t(o,e)})),s}return function(e,r,i,u){var c="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;c&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case ee:e:{for(s=i.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(i.type===ne){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}break;default:if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=ki(e,c,i),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}i.type===ne?((r=Pu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=Tu(i.type,i.key,i.props,null,e.mode,u)).ref=ki(e,r,i),u.return=e,e=u)}return a(e);case te:e:{for(c=i.key;null!==r;){if(r.key===c){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=Cu(i,e.mode,u)).return=e,e=r}return a(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=Nu(i,e.mode,u)).return=e,e=r),a(e);if(Ei(i))return b(e,r,i,u);if(be(i))return h(e,r,i,u);if(s&&_i(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(l(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Si=xi(!0),Oi=xi(!1),Ti={},Pi={current:Ti},Ni={current:Ti},Ci={current:Ti};function ji(e){if(e===Ti)throw Error(l(174));return e}function Ri(e,t){switch(co(Ci,t),co(Ni,e),co(Pi,Ti),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fe(null,"");break;default:t=Fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}uo(Pi),co(Pi,t)}function Di(){uo(Pi),uo(Ni),uo(Ci)}function Mi(e){ji(Ci.current);var t=ji(Pi.current),n=Fe(t,e.type);t!==n&&(co(Ni,e),co(Pi,n))}function zi(e){Ni.current===e&&(uo(Pi),uo(Ni))}var Ii={current:0};function Fi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))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 Li(e,t){return{responder:e,props:t}}var Vi=X.ReactCurrentDispatcher,Ui=X.ReactCurrentBatchConfig,Ai=0,Hi=null,Wi=null,Bi=null,Qi=!1;function $i(){throw Error(l(321))}function qi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Fr(e[n],t[n]))return!1;return!0}function Ki(e,t,n,r,o,i){if(Ai=i,Hi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Vi.current=null===e||null===e.memoizedState?yl:vl,e=n(r,o),t.expirationTime===Ai){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(l(301));i+=1,Bi=Wi=null,t.updateQueue=null,Vi.current=gl,e=n(r,o)}while(t.expirationTime===Ai)}if(Vi.current=hl,t=null!==Wi&&null!==Wi.next,Ai=0,Bi=Wi=Hi=null,Qi=!1,t)throw Error(l(300));return e}function Yi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Bi?Hi.memoizedState=Bi=e:Bi=Bi.next=e,Bi}function Xi(){if(null===Wi){var e=Hi.alternate;e=null!==e?e.memoizedState:null}else e=Wi.next;var t=null===Bi?Hi.memoizedState:Bi.next;if(null!==t)Bi=t,Wi=e;else{if(null===e)throw Error(l(310));e={memoizedState:(Wi=e).memoizedState,baseState:Wi.baseState,baseQueue:Wi.baseQueue,queue:Wi.queue,next:null},null===Bi?Hi.memoizedState=Bi=e:Bi=Bi.next=e}return Bi}function Ji(e,t){return"function"==typeof t?t(e):t}function Gi(e){var t=Xi(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=Wi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=a=i=null,c=o;do{var s=c.expirationTime;if(s<Ai){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(a=u=f,i=r):u=u.next=f,s>Hi.expirationTime&&(Hi.expirationTime=s,lu(s))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),iu(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==o);null===u?i=r:u.next=a,Fr(r,t.memoizedState)||(Cl=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zi(e){var t=Xi(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);Fr(i,t.memoizedState)||(Cl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function el(e){var t=Yi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Ji,lastRenderedState:e}).dispatch=bl.bind(null,Hi,e),[t.memoizedState,e]}function tl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Hi.updateQueue)?(t={lastEffect:null},Hi.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 nl(){return Xi().memoizedState}function rl(e,t,n,r){var o=Yi();Hi.effectTag|=e,o.memoizedState=tl(1|t,n,void 0,void 0===r?null:r)}function ol(e,t,n,r){var o=Xi();r=void 0===r?null:r;var i=void 0;if(null!==Wi){var l=Wi.memoizedState;if(i=l.destroy,null!==r&&qi(r,l.deps))return void tl(t,n,i,r)}Hi.effectTag|=e,o.memoizedState=tl(1|t,n,i,r)}function il(e,t){return rl(516,4,e,t)}function ll(e,t){return ol(516,4,e,t)}function al(e,t){return ol(4,2,e,t)}function ul(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 cl(e,t,n){return n=null!=n?n.concat([e]):null,ol(4,2,ul.bind(null,t,e),n)}function sl(){}function fl(e,t){return Yi().memoizedState=[e,void 0===t?null:t],e}function pl(e,t){var n=Xi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function dl(e,t){var n=Xi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ml(e,t,n){var r=Ao();Wo(98>r?98:r,(function(){e(!0)})),Wo(97<r?97:r,(function(){var r=Ui.suspense;Ui.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ui.suspense=r}}))}function bl(e,t,n){var r=$a(),o=di.suspense;o={expirationTime:r=qa(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===Hi||null!==i&&i===Hi)Qi=!0,o.expirationTime=Ai,Hi.expirationTime=Ai;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,a=i(l,n);if(o.eagerReducer=i,o.eagerState=a,Fr(a,l))return}catch(e){}Ka(e,r)}}var hl={readContext:oi,useCallback:$i,useContext:$i,useEffect:$i,useImperativeHandle:$i,useLayoutEffect:$i,useMemo:$i,useReducer:$i,useRef:$i,useState:$i,useDebugValue:$i,useResponder:$i,useDeferredValue:$i,useTransition:$i},yl={readContext:oi,useCallback:fl,useContext:oi,useEffect:il,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,rl(4,2,ul.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rl(4,2,e,t)},useMemo:function(e,t){var n=Yi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yi();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=bl.bind(null,Hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Yi().memoizedState=e},useState:el,useDebugValue:sl,useResponder:Li,useDeferredValue:function(e,t){var n=el(e),r=n[0],o=n[1];return il((function(){var n=Ui.suspense;Ui.suspense=void 0===t?null:t;try{o(e)}finally{Ui.suspense=n}}),[e,t]),r},useTransition:function(e){var t=el(!1),n=t[0];return t=t[1],[fl(ml.bind(null,t,e),[t,e]),n]}},vl={readContext:oi,useCallback:pl,useContext:oi,useEffect:ll,useImperativeHandle:cl,useLayoutEffect:al,useMemo:dl,useReducer:Gi,useRef:nl,useState:function(){return Gi(Ji)},useDebugValue:sl,useResponder:Li,useDeferredValue:function(e,t){var n=Gi(Ji),r=n[0],o=n[1];return ll((function(){var n=Ui.suspense;Ui.suspense=void 0===t?null:t;try{o(e)}finally{Ui.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Gi(Ji),n=t[0];return t=t[1],[pl(ml.bind(null,t,e),[t,e]),n]}},gl={readContext:oi,useCallback:pl,useContext:oi,useEffect:ll,useImperativeHandle:cl,useLayoutEffect:al,useMemo:dl,useReducer:Zi,useRef:nl,useState:function(){return Zi(Ji)},useDebugValue:sl,useResponder:Li,useDeferredValue:function(e,t){var n=Zi(Ji),r=n[0],o=n[1];return ll((function(){var n=Ui.suspense;Ui.suspense=void 0===t?null:t;try{o(e)}finally{Ui.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zi(Ji),n=t[0];return t=t[1],[pl(ml.bind(null,t,e),[t,e]),n]}},wl=null,El=null,kl=!1;function _l(e,t){var n=xu(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 xl(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);case 13:default:return!1}}function Sl(e){if(kl){var t=El;if(t){var n=t;if(!xl(e,t)){if(!(t=En(n.nextSibling))||!xl(e,t))return e.effectTag=-1025&e.effectTag|2,kl=!1,void(wl=e);_l(wl,n)}wl=e,El=En(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,kl=!1,wl=e}}function Ol(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;wl=e}function Tl(e){if(e!==wl)return!1;if(!kl)return Ol(e),kl=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=El;t;)_l(e,t),t=En(t.nextSibling);if(Ol(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){El=En(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}El=null}}else El=wl?En(e.stateNode.nextSibling):null;return!0}function Pl(){El=wl=null,kl=!1}var Nl=X.ReactCurrentOwner,Cl=!1;function jl(e,t,n,r){t.child=null===e?Oi(t,null,n,r):Si(t,e.child,n,r)}function Rl(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Ki(e,t,n,r,i,o),null===e||Cl?(t.effectTag|=1,jl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Kl(e,t,o))}function Dl(e,t,n,r,o,i){if(null===e){var l=n.type;return"function"!=typeof l||Su(l)||void 0!==l.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Tu(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,Ml(e,t,l,r,o,i))}return l=e.child,o<i&&(o=l.memoizedProps,(n=null!==(n=n.compare)?n:Vr)(o,r)&&e.ref===t.ref)?Kl(e,t,i):(t.effectTag|=1,(e=Ou(l,r)).ref=t.ref,e.return=t,t.child=e)}function Ml(e,t,n,r,o,i){return null!==e&&Vr(e.memoizedProps,r)&&e.ref===t.ref&&(Cl=!1,o<i)?(t.expirationTime=e.expirationTime,Kl(e,t,i)):Il(e,t,n,r,i)}function zl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Il(e,t,n,r,o){var i=ho(n)?mo:fo.current;return i=bo(t,i),ri(t,o),n=Ki(e,t,n,r,i,o),null===e||Cl?(t.effectTag|=1,jl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Kl(e,t,o))}function Fl(e,t,n,r,o){if(ho(n)){var i=!0;wo(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),vi(t,n,r),wi(t,n,r,o),r=!0;else if(null===e){var l=t.stateNode,a=t.memoizedProps;l.props=a;var u=l.context,c=n.contextType;"object"==typeof c&&null!==c?c=oi(c):c=bo(t,c=ho(n)?mo:fo.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof l.getSnapshotBeforeUpdate;f||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(a!==r||u!==c)&&gi(t,l,r,c),ii=!1;var p=t.memoizedState;l.state=p,fi(t,r,l,o),u=t.memoizedState,a!==r||p!==u||po.current||ii?("function"==typeof s&&(bi(t,n,s,r),u=t.memoizedState),(a=ii||yi(t,n,a,r,p,u,c))?(f||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.effectTag|=4)):("function"==typeof l.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=c,r=a):("function"==typeof l.componentDidMount&&(t.effectTag|=4),r=!1)}else l=t.stateNode,ai(e,t),a=t.memoizedProps,l.props=t.type===t.elementType?a:Yo(t.type,a),u=l.context,"object"==typeof(c=n.contextType)&&null!==c?c=oi(c):c=bo(t,c=ho(n)?mo:fo.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(a!==r||u!==c)&&gi(t,l,r,c),ii=!1,u=t.memoizedState,l.state=u,fi(t,r,l,o),p=t.memoizedState,a!==r||u!==p||po.current||ii?("function"==typeof s&&(bi(t,n,s,r),p=t.memoizedState),(s=ii||yi(t,n,a,r,u,p,c))?(f||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(r,p,c),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,p,c)),"function"==typeof l.componentDidUpdate&&(t.effectTag|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof l.componentDidUpdate||a===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof l.getSnapshotBeforeUpdate||a===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),l.props=r,l.state=p,l.context=c,r=s):("function"!=typeof l.componentDidUpdate||a===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof l.getSnapshotBeforeUpdate||a===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Ll(e,t,n,r,i,o)}function Ll(e,t,n,r,o,i){zl(e,t);var l=0!=(64&t.effectTag);if(!r&&!l)return o&&Eo(t,n,!1),Kl(e,t,i);r=t.stateNode,Nl.current=t;var a=l&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&l?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,a,i)):jl(e,t,a,i),t.memoizedState=r.state,o&&Eo(t,n,!0),t.child}function Vl(e){var t=e.stateNode;t.pendingContext?vo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vo(0,t.context,!1),Ri(e,t.containerInfo)}var Ul,Al,Hl,Wl={dehydrated:null,retryTime:0};function Bl(e,t,n){var r,o=t.mode,i=t.pendingProps,l=Ii.current,a=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&l)&&(null===e||null!==e.memoizedState)),r?(a=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(l|=1),co(Ii,1&l),null===e){if(void 0!==i.fallback&&Sl(t),a){if(a=i.fallback,(i=Pu(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=Pu(a,o,n,null)).return=t,i.sibling=n,t.memoizedState=Wl,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Oi(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,a){if(i=i.fallback,(n=Ou(e,e.pendingProps)).return=t,0==(2&t.mode)&&(a=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=a;null!==a;)a.return=n,a=a.sibling;return(o=Ou(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Wl,t.child=n,o}return n=Si(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,a){if(a=i.fallback,(i=Pu(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=Pu(a,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Wl,t.child=i,n}return t.memoizedState=null,t.child=Si(t,e,i.children,n)}function Ql(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function $l(e,t,n,r,o,i){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailExpiration=0,l.tailMode=o,l.lastEffect=i)}function ql(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(jl(e,t,r.children,n),0!=(2&(r=Ii.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&&Ql(e,n);else if(19===e.tag)Ql(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(co(Ii,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===Fi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$l(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===Fi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$l(t,!0,n,null,i,t.lastEffect);break;case"together":$l(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Kl(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&lu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=Ou(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ou(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Yl(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 Xl(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:return ho(t.type)&&yo(),null;case 3:return Di(),uo(po),uo(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Tl(t)||(t.effectTag|=4),null;case 5:zi(t),n=ji(Ci.current);var i=t.type;if(null!==e&&null!=t.stateNode)Al(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(l(166));return null}if(e=ji(Pi.current),Tl(t)){r=t.stateNode,i=t.type;var a=t.memoizedProps;switch(r[xn]=t,r[Sn]=a,i){case"iframe":case"object":case"embed":qt("load",r);break;case"video":case"audio":for(e=0;e<Xe.length;e++)qt(Xe[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":_e(r,a),qt("invalid",r),un(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!a.multiple},qt("invalid",r),un(n,"onChange");break;case"textarea":je(r,a),qt("invalid",r),un(n,"onChange")}for(var u in on(i,a),e=null,a)if(a.hasOwnProperty(u)){var c=a[u];"children"===u?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):x.hasOwnProperty(u)&&null!=c&&un(n,u)}switch(i){case"input":we(r),Oe(r,a,!0);break;case"textarea":we(r),De(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===an&&(e=Ie(i)),e===an?"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[xn]=t,e[Sn]=r,Ul(e,t),t.stateNode=e,u=ln(i,r),i){case"iframe":case"object":case"embed":qt("load",e),c=r;break;case"video":case"audio":for(c=0;c<Xe.length;c++)qt(Xe[c],e);c=r;break;case"source":qt("error",e),c=r;break;case"img":case"image":case"link":qt("error",e),qt("load",e),c=r;break;case"form":qt("reset",e),qt("submit",e),c=r;break;case"details":qt("toggle",e),c=r;break;case"input":_e(e,r),c=ke(e,r),qt("invalid",e),un(n,"onChange");break;case"option":c=Pe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=o({},r,{value:void 0}),qt("invalid",e),un(n,"onChange");break;case"textarea":je(e,r),c=Ce(e,r),qt("invalid",e),un(n,"onChange");break;default:c=r}on(i,c);var s=c;for(a in s)if(s.hasOwnProperty(a)){var f=s[a];"style"===a?nn(e,f):"dangerouslySetInnerHTML"===a?null!=(f=f?f.__html:void 0)&&Ve(e,f):"children"===a?"string"==typeof f?("textarea"!==i||""!==f)&&Ue(e,f):"number"==typeof f&&Ue(e,""+f):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(x.hasOwnProperty(a)?null!=f&&un(n,a):null!=f&&J(e,a,f,u))}switch(i){case"input":we(e),Oe(e,r,!1);break;case"textarea":we(e),De(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ve(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Ne(e,!!r.multiple,n,!1):null!=r.defaultValue&&Ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=cn)}yn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Hl(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));n=ji(Ci.current),ji(Pi.current),Tl(t)?(n=t.stateNode,r=t.memoizedProps,n[xn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[xn]=t,t.stateNode=n)}return null;case 13:return uo(Ii),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Tl(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(a=t.firstEffect)?(t.firstEffect=i,i.nextEffect=a):(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&Ii.current)?Ta===wa&&(Ta=Ea):(Ta!==wa&&Ta!==Ea||(Ta=ka),0!==Ra&&null!==xa&&(Du(xa,Oa),Mu(xa,Ra)))),(n||r)&&(t.effectTag|=4),null);case 4:return Di(),null;case 10:return ti(t),null;case 17:return ho(t.type)&&yo(),null;case 19:if(uo(Ii),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(a=r.rendering)){if(i)Yl(r,!1);else if(Ta!==wa||null!==e&&0!=(64&e.effectTag))for(a=t.child;null!==a;){if(null!==(e=Fi(a))){for(t.effectTag|=64,Yl(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;)a=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=a,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,a=e.dependencies,i.dependencies=null===a?null:{expirationTime:a.expirationTime,firstContext:a.firstContext,responders:a.responders}),r=r.sibling;return co(Ii,1&Ii.current|2),t.child}a=a.sibling}}else{if(!i)if(null!==(e=Fi(a))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Yl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Uo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Yl(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=r.last)?n.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Uo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Uo(),n.sibling=null,t=Ii.current,co(Ii,i?1&t|2:1&t),n):null}throw Error(l(156,t.tag))}function Jl(e){switch(e.tag){case 1:ho(e.type)&&yo();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Di(),uo(po),uo(fo),0!=(64&(t=e.effectTag)))throw Error(l(285));return e.effectTag=-4097&t|64,e;case 5:return zi(e),null;case 13:return uo(Ii),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return uo(Ii),null;case 4:return Di(),null;case 10:return ti(e),null;default:return null}}function Gl(e,t){return{value:e,source:t,stack:ye(t)}}Ul=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}},Al=function(e,t,n,r,i){var l=e.memoizedProps;if(l!==r){var a,u,c=t.stateNode;switch(ji(Pi.current),e=null,n){case"input":l=ke(c,l),r=ke(c,r),e=[];break;case"option":l=Pe(c,l),r=Pe(c,r),e=[];break;case"select":l=o({},l,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":l=Ce(c,l),r=Ce(c,r),e=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(c.onclick=cn)}for(a in on(n,r),n=null,l)if(!r.hasOwnProperty(a)&&l.hasOwnProperty(a)&&null!=l[a])if("style"===a)for(u in c=l[a])c.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==a&&"children"!==a&&"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(x.hasOwnProperty(a)?e||(e=[]):(e=e||[]).push(a,null));for(a in r){var s=r[a];if(c=null!=l?l[a]:void 0,r.hasOwnProperty(a)&&s!==c&&(null!=s||null!=c))if("style"===a)if(c){for(u in c)!c.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in s)s.hasOwnProperty(u)&&c[u]!==s[u]&&(n||(n={}),n[u]=s[u])}else n||(e||(e=[]),e.push(a,n)),n=s;else"dangerouslySetInnerHTML"===a?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(a,s)):"children"===a?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(a,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&(x.hasOwnProperty(a)?(null!=s&&un(i,a),e||c===s||(e=[])):(e=e||[]).push(a,s))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Hl=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Zl="function"==typeof WeakSet?WeakSet:Set;function ea(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ye(n)),null!==n&&he(n.type),t=t.value,null!==e&&1===e.tag&&he(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function ta(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){vu(e,t)}else t.current=null}function na(e,t){switch(t.tag){case 0:case 11:case 15:case 22: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:Yo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(l(163))}function ra(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 oa(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 ia(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void oa(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:Yo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&pi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&yn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&It(n)))));case 19:case 17:case 20:case 21:return}throw Error(l(163))}function la(e,t,n){switch("function"==typeof ku&&ku(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;Wo(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){vu(o,e)}}e=e.next}while(e!==r)}))}break;case 1:ta(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){vu(e,t)}}(t,n);break;case 5:ta(t);break;case 4:sa(e,t,n)}}function aa(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&&aa(t)}function ua(e){return 5===e.tag||3===e.tag||4===e.tag}function ca(e){e:{for(var t=e.return;null!==t;){if(ua(t)){var n=t;break e}t=t.return}throw Error(l(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(l(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ua(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?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function sa(e,t,n){for(var r,o,i=t,a=!1;;){if(!a){a=i.return;e:for(;;){if(null===a)throw Error(l(160));switch(r=a.stateNode,a.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}a=a.return}a=!0}if(5===i.tag||6===i.tag){e:for(var u=e,c=i,s=n,f=c;;)if(la(u,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(u=r,c=i.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):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(la(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&&(a=!1)}i.sibling.return=i.return,i=i.sibling}}function fa(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ra(3,t);case 1: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[Sn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&xe(n,r),ln(e,o),t=ln(e,r),o=0;o<i.length;o+=2){var a=i[o],u=i[o+1];"style"===a?nn(n,u):"dangerouslySetInnerHTML"===a?Ve(n,u):"children"===a?Ue(n,u):J(n,a,u,t)}switch(e){case"input":Se(n,r);break;case"textarea":Re(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ne(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ne(n,!!r.multiple,r.defaultValue,!0):Ne(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(l(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,It(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ma=Uo()),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=tn("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 pa(t);case 19:return void pa(t);case 17:return}throw Error(l(163))}function pa(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zl),t.forEach((function(t){var r=wu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var da="function"==typeof WeakMap?WeakMap:Map;function ma(e,t,n){(n=ui(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ia||(Ia=!0,Fa=r),ea(e,t)},n}function ba(e,t,n){(n=ui(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ea(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===La?La=new Set([this]):La.add(this),ea(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var ha,ya=Math.ceil,va=X.ReactCurrentDispatcher,ga=X.ReactCurrentOwner,wa=0,Ea=3,ka=4,_a=0,xa=null,Sa=null,Oa=0,Ta=wa,Pa=null,Na=1073741823,Ca=1073741823,ja=null,Ra=0,Da=!1,Ma=0,za=null,Ia=!1,Fa=null,La=null,Va=!1,Ua=null,Aa=90,Ha=null,Wa=0,Ba=null,Qa=0;function $a(){return 0!=(48&_a)?1073741821-(Uo()/10|0):0!==Qa?Qa:Qa=1073741821-(Uo()/10|0)}function qa(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ao();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&_a))return Oa;if(null!==n)e=Ko(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ko(e,150,100);break;case 97:case 96:e=Ko(e,5e3,250);break;case 95:e=2;break;default:throw Error(l(326))}return null!==xa&&e===Oa&&--e,e}function Ka(e,t){if(50<Wa)throw Wa=0,Ba=null,Error(l(185));if(null!==(e=Ya(e,t))){var n=Ao();1073741823===t?0!=(8&_a)&&0==(48&_a)?Za(e):(Ja(e),0===_a&&$o()):Ja(e),0==(4&_a)||98!==n&&99!==n||(null===Ha?Ha=new Map([[e,t]]):(void 0===(n=Ha.get(e))||n>t)&&Ha.set(e,t))}}function Ya(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&&(xa===o&&(lu(t),Ta===ka&&Du(o,Oa)),Mu(o,t)),o}function Xa(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Ru(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Ja(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Qo(Za.bind(null,e));else{var t=Xa(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=$a();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!==Do&&xo(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Qo(Za.bind(null,e)):Bo(r,Ga.bind(null,e),{timeout:10*(1073741821-t)-Uo()}),e.callbackNode=t}}}function Ga(e,t){if(Qa=0,t)return zu(e,t=$a()),Ja(e),null;var n=Xa(e);if(0!==n){if(t=e.callbackNode,0!=(48&_a))throw Error(l(327));if(bu(),e===xa&&n===Oa||nu(e,n),null!==Sa){var r=_a;_a|=16;for(var o=ou();;)try{uu();break}catch(t){ru(e,t)}if(ei(),_a=r,va.current=o,1===Ta)throw t=Pa,nu(e,n),Du(e,n),Ja(e),t;if(null===Sa)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Ta,xa=null,r){case wa:case 1:throw Error(l(345));case 2:zu(e,2<n?2:n);break;case Ea:if(Du(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fu(o)),1073741823===Na&&10<(o=Ma+500-Uo())){if(Da){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nu(e,n);break}}if(0!==(i=Xa(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=gn(pu.bind(null,e),o);break}pu(e);break;case ka:if(Du(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fu(o)),Da&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nu(e,n);break}if(0!==(o=Xa(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ca?r=10*(1073741821-Ca)-Uo():1073741823===Na?r=0:(r=10*(1073741821-Na)-5e3,0>(r=(o=Uo())-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*ya(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=gn(pu.bind(null,e),r);break}pu(e);break;case 5:if(1073741823!==Na&&null!==ja){i=Na;var a=ja;if(0>=(r=0|a.busyMinDurationMs)?r=0:(o=0|a.busyDelayMs,r=(i=Uo()-(10*(1073741821-i)-(0|a.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Du(e,n),e.timeoutHandle=gn(pu.bind(null,e),r);break}}pu(e);break;default:throw Error(l(329))}if(Ja(e),e.callbackNode===t)return Ga.bind(null,e)}}return null}function Za(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&_a))throw Error(l(327));if(bu(),e===xa&&t===Oa||nu(e,t),null!==Sa){var n=_a;_a|=16;for(var r=ou();;)try{au();break}catch(t){ru(e,t)}if(ei(),_a=n,va.current=r,1===Ta)throw n=Pa,nu(e,t),Du(e,t),Ja(e),n;if(null!==Sa)throw Error(l(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,xa=null,pu(e),Ja(e)}return null}function eu(e,t){var n=_a;_a|=1;try{return e(t)}finally{0===(_a=n)&&$o()}}function tu(e,t){var n=_a;_a&=-2,_a|=8;try{return e(t)}finally{0===(_a=n)&&$o()}}function nu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,wn(n)),null!==Sa)for(n=Sa.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&yo();break;case 3:Di(),uo(po),uo(fo);break;case 5:zi(r);break;case 4:Di();break;case 13:case 19:uo(Ii);break;case 10:ti(r)}n=n.return}xa=e,Sa=Ou(e.current,null),Oa=t,Ta=wa,Pa=null,Ca=Na=1073741823,ja=null,Ra=0,Da=!1}function ru(e,t){for(;;){try{if(ei(),Vi.current=hl,Qi)for(var n=Hi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ai=0,Bi=Wi=Hi=null,Qi=!1,null===Sa||null===Sa.return)return Ta=1,Pa=t,Sa=null;e:{var o=e,i=Sa.return,l=Sa,a=t;if(t=Oa,l.effectTag|=2048,l.firstEffect=l.lastEffect=null,null!==a&&"object"==typeof a&&"function"==typeof a.then){var u=a;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.expirationTime=c.expirationTime):(l.updateQueue=null,l.memoizedState=null)}var s=0!=(1&Ii.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||!s)}}if(p){var b=f.updateQueue;if(null===b){var h=new Set;h.add(u),f.updateQueue=h}else b.add(u);if(0==(2&f.mode)){if(f.effectTag|=64,l.effectTag&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var y=ui(1073741823,null);y.tag=2,ci(l,y)}l.expirationTime=1073741823;break e}a=void 0,l=t;var v=o.pingCache;if(null===v?(v=o.pingCache=new da,a=new Set,v.set(u,a)):void 0===(a=v.get(u))&&(a=new Set,v.set(u,a)),!a.has(l)){a.add(l);var g=gu.bind(null,o,u,l);u.then(g,g)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);a=Error((he(l.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."+ye(l))}5!==Ta&&(Ta=2),a=Gl(a,l),f=i;do{switch(f.tag){case 3:u=a,f.effectTag|=4096,f.expirationTime=t,si(f,ma(f,u,t));break e;case 1:u=a;var w=f.type,E=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===La||!La.has(E)))){f.effectTag|=4096,f.expirationTime=t,si(f,ba(f,u,t));break e}}f=f.return}while(null!==f)}Sa=su(Sa)}catch(e){t=e;continue}break}}function ou(){var e=va.current;return va.current=hl,null===e?hl:e}function iu(e,t){e<Na&&2<e&&(Na=e),null!==t&&e<Ca&&2<e&&(Ca=e,ja=t)}function lu(e){e>Ra&&(Ra=e)}function au(){for(;null!==Sa;)Sa=cu(Sa)}function uu(){for(;null!==Sa&&!Mo();)Sa=cu(Sa)}function cu(e){var t=ha(e.alternate,e,Oa);return e.memoizedProps=e.pendingProps,null===t&&(t=su(e)),ga.current=null,t}function su(e){Sa=e;do{var t=Sa.alternate;if(e=Sa.return,0==(2048&Sa.effectTag)){if(t=Xl(t,Sa,Oa),1===Oa||1!==Sa.childExpirationTime){for(var n=0,r=Sa.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Sa.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Sa.firstEffect),null!==Sa.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Sa.firstEffect),e.lastEffect=Sa.lastEffect),1<Sa.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Sa:e.firstEffect=Sa,e.lastEffect=Sa))}else{if(null!==(t=Jl(Sa)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Sa.sibling))return t;Sa=e}while(null!==Sa);return Ta===wa&&(Ta=5),null}function fu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pu(e){var t=Ao();return Wo(99,du.bind(null,e,t)),null}function du(e,t){do{bu()}while(null!==Ua);if(0!=(48&_a))throw Error(l(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(l(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=fu(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===xa&&(Sa=xa=null,Oa=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=_a;_a|=32,ga.current=null,bn=$t;var a=dn();if(mn(a)){if("selectionStart"in a)var u={start:a.selectionStart,end:a.selectionEnd};else e:{var c=(u=(u=a.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(c&&0!==c.rangeCount){u=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var p=0,d=-1,m=-1,b=0,h=0,y=a,v=null;t:for(;;){for(var g;y!==u||0!==s&&3!==y.nodeType||(d=p+s),y!==f||0!==c&&3!==y.nodeType||(m=p+c),3===y.nodeType&&(p+=y.nodeValue.length),null!==(g=y.firstChild);)v=y,y=g;for(;;){if(y===a)break t;if(v===u&&++b===s&&(d=p),v===f&&++h===c&&(m=p),null!==(g=y.nextSibling))break;v=(y=v).parentNode}y=g}u=-1===d||-1===m?null:{start:d,end:m}}else u=null}u=u||{start:0,end:0}}else u=null;hn={activeElementDetached:null,focusedElem:a,selectionRange:u},$t=!1,za=o;do{try{mu()}catch(e){if(null===za)throw Error(l(330));vu(za,e),za=za.nextEffect}}while(null!==za);za=o;do{try{for(a=e,u=t;null!==za;){var w=za.effectTag;if(16&w&&Ue(za.stateNode,""),128&w){var E=za.alternate;if(null!==E){var k=E.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&w){case 2:ca(za),za.effectTag&=-3;break;case 6:ca(za),za.effectTag&=-3,fa(za.alternate,za);break;case 1024:za.effectTag&=-1025;break;case 1028:za.effectTag&=-1025,fa(za.alternate,za);break;case 4:fa(za.alternate,za);break;case 8:sa(a,s=za,u),aa(s)}za=za.nextEffect}}catch(e){if(null===za)throw Error(l(330));vu(za,e),za=za.nextEffect}}while(null!==za);if(k=hn,E=dn(),w=k.focusedElem,u=k.selectionRange,E!==w&&w&&w.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(w.ownerDocument.documentElement,w)){null!==u&&mn(w)&&(E=u.start,void 0===(k=u.end)&&(k=E),"selectionStart"in w?(w.selectionStart=E,w.selectionEnd=Math.min(k,w.value.length)):(k=(E=w.ownerDocument||document)&&E.defaultView||window).getSelection&&(k=k.getSelection(),s=w.textContent.length,a=Math.min(u.start,s),u=void 0===u.end?a:Math.min(u.end,s),!k.extend&&a>u&&(s=u,u=a,a=s),s=pn(w,a),f=pn(w,u),s&&f&&(1!==k.rangeCount||k.anchorNode!==s.node||k.anchorOffset!==s.offset||k.focusNode!==f.node||k.focusOffset!==f.offset)&&((E=E.createRange()).setStart(s.node,s.offset),k.removeAllRanges(),a>u?(k.addRange(E),k.extend(f.node,f.offset)):(E.setEnd(f.node,f.offset),k.addRange(E))))),E=[];for(k=w;k=k.parentNode;)1===k.nodeType&&E.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<E.length;w++)(k=E[w]).element.scrollLeft=k.left,k.element.scrollTop=k.top}$t=!!bn,hn=bn=null,e.current=n,za=o;do{try{for(w=e;null!==za;){var _=za.effectTag;if(36&_&&ia(w,za.alternate,za),128&_){E=void 0;var x=za.ref;if(null!==x){var S=za.stateNode;switch(za.tag){case 5:E=S;break;default:E=S}"function"==typeof x?x(E):x.current=E}}za=za.nextEffect}}catch(e){if(null===za)throw Error(l(330));vu(za,e),za=za.nextEffect}}while(null!==za);za=null,zo(),_a=i}else e.current=n;if(Va)Va=!1,Ua=e,Aa=t;else for(za=o;null!==za;)t=za.nextEffect,za.nextEffect=null,za=t;if(0===(t=e.firstPendingTime)&&(La=null),1073741823===t?e===Ba?Wa++:(Wa=0,Ba=e):Wa=0,"function"==typeof Eu&&Eu(n.stateNode,r),Ja(e),Ia)throw Ia=!1,e=Fa,Fa=null,e;return 0!=(8&_a)||$o(),null}function mu(){for(;null!==za;){var e=za.effectTag;0!=(256&e)&&na(za.alternate,za),0==(512&e)||Va||(Va=!0,Bo(97,(function(){return bu(),null}))),za=za.nextEffect}}function bu(){if(90!==Aa){var e=97<Aa?97:Aa;return Aa=90,Wo(e,hu)}}function hu(){if(null===Ua)return!1;var e=Ua;if(Ua=null,0!=(48&_a))throw Error(l(331));var t=_a;for(_a|=32,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:ra(5,n),oa(5,n)}}catch(t){if(null===e)throw Error(l(330));vu(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return _a=t,$o(),!0}function yu(e,t,n){ci(e,t=ma(e,t=Gl(n,t),1073741823)),null!==(e=Ya(e,1073741823))&&Ja(e)}function vu(e,t){if(3===e.tag)yu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){yu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===La||!La.has(r))){ci(n,e=ba(n,e=Gl(t,e),1073741823)),null!==(n=Ya(n,1073741823))&&Ja(n);break}}n=n.return}}function gu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),xa===e&&Oa===n?Ta===ka||Ta===Ea&&1073741823===Na&&Uo()-Ma<500?nu(e,Oa):Da=!0:Ru(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Ja(e)))}function wu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=qa(t=$a(),e,null)),null!==(e=Ya(e,t))&&Ja(e)}ha=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)Cl=!0;else{if(r<n){switch(Cl=!1,t.tag){case 3:Vl(t),Pl();break;case 5:if(Mi(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:ho(t.type)&&wo(t);break;case 4:Ri(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,co(Xo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Bl(e,t,n):(co(Ii,1&Ii.current),null!==(t=Kl(e,t,n))?t.sibling:null);co(Ii,1&Ii.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return ql(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),co(Ii,Ii.current),!r)return null}return Kl(e,t,n)}Cl=!1}}else Cl=!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,fo.current),ri(t,n),o=Ki(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,ho(r)){var i=!0;wo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,li(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&bi(t,r,a,e),o.updater=hi,t.stateNode=o,o._reactInternalFiber=t,wi(t,r,e,n),t=Ll(null,t,r,!0,i,n)}else t.tag=0,jl(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 Su(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===fe)return 14}return 2}(o),e=Yo(o,e),i){case 0:t=Il(null,t,o,e,n);break e;case 1:t=Fl(null,t,o,e,n);break e;case 11:t=Rl(null,t,o,e,n);break e;case 14:t=Dl(null,t,o,Yo(o.type,e),r,n);break e}throw Error(l(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Il(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Fl(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 3:if(Vl(t),r=t.updateQueue,null===e||null===r)throw Error(l(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ai(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)Pl(),t=Kl(e,t,n);else{if((o=t.stateNode.hydrate)&&(El=En(t.stateNode.containerInfo.firstChild),wl=t,o=kl=!0),o)for(n=Oi(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else jl(e,t,r,n),Pl();t=t.child}return t;case 5:return Mi(t),null===e&&Sl(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,vn(r,o)?a=null:null!==i&&vn(r,i)&&(t.effectTag|=16),zl(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(jl(e,t,a,n),t=t.child),t;case 6:return null===e&&Sl(t),null;case 13:return Bl(e,t,n);case 4:return Ri(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Si(t,null,r,n):jl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Rl(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 7:return jl(e,t,t.pendingProps,n),t.child;case 8:case 12:return jl(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value;var u=t.type._context;if(co(Xo,u._currentValue),u._currentValue=i,null!==a)if(u=a.value,0===(i=Fr(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(a.children===o.children&&!po.current){t=Kl(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){a=u.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&i)){1===u.tag&&((s=ui(n,null)).tag=2,ci(u,s)),u.expirationTime<n&&(u.expirationTime=n),null!==(s=u.alternate)&&s.expirationTime<n&&(s.expirationTime=n),ni(u.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else a=10===u.tag&&u.type===t.type?null:u.child;if(null!==a)a.return=u;else for(a=u;null!==a;){if(a===t){a=null;break}if(null!==(u=a.sibling)){u.return=a.return,a=u;break}a=a.return}u=a}jl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,jl(e,t,r,n),t.child;case 14:return i=Yo(o=t.type,t.pendingProps),Dl(e,t,o,i=Yo(o.type,i),r,n);case 15:return Ml(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Yo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,ho(r)?(e=!0,wo(t)):e=!1,ri(t,n),vi(t,r,o),wi(t,r,o,n),Ll(null,t,r,!0,e,n);case 19:return ql(e,t,n)}throw Error(l(156,t.tag))};var Eu=null,ku=null;function _u(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 xu(e,t,n,r){return new _u(e,t,n,r)}function Su(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ou(e,t){var n=e.alternate;return null===n?((n=xu(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 Tu(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Su(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case ne:return Pu(n.children,o,i,t);case ae:a=8,o|=7;break;case re:a=8,o|=1;break;case oe:return(e=xu(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case ce:return(e=xu(13,n,t,o)).type=ce,e.elementType=ce,e.expirationTime=i,e;case se:return(e=xu(19,n,t,o)).elementType=se,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:a=10;break e;case le:a=9;break e;case ue:a=11;break e;case fe:a=14;break e;case pe:a=16,r=null;break e;case de:a=22;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=xu(a,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Pu(e,t,n,r){return(e=xu(7,e,r,t)).expirationTime=n,e}function Nu(e,t,n){return(e=xu(6,e,null,t)).expirationTime=n,e}function Cu(e,t,n){return(t=xu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ju(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 Ru(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Du(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 Mu(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 zu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Iu(e,t,n,r){var o=t.current,i=$a(),a=di.suspense;i=qa(i,o,a);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(l(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(ho(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(l(171))}if(1===n.tag){var c=n.type;if(ho(c)){n=go(n,c,u);break e}}n=u}else n=so;return null===t.context?t.context=n:t.pendingContext=n,(t=ui(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ci(o,t),Ka(o,i),i}function Fu(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Lu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Vu(e,t){Lu(e,t),(e=e.alternate)&&Lu(e,t)}function Uu(e,t,n){var r=new ju(e,t,n=null!=n&&!0===n.hydrate),o=xu(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,li(o),e[On]=r.current,n&&0!==t&&function(e,t){var n=Ge(t);Ot.forEach((function(e){mt(e,t,n)})),Tt.forEach((function(e){mt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Au(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var l=i._internalRoot;if("function"==typeof o){var a=o;o=function(){var e=Fu(l);a.call(e)}}Iu(t,l,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 Uu(e,0,t?{hydrate:!0}:void 0)}(n,r),l=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Fu(l);u.call(e)}}tu((function(){Iu(t,l,e,o)}))}return Fu(l)}function Wu(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 Bu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Au(t))throw Error(l(200));return Wu(e,t,null,n)}Uu.prototype.render=function(e){Iu(e,this._internalRoot,null,null)},Uu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Iu(null,e,null,(function(){t[On]=null}))},bt=function(e){if(13===e.tag){var t=Ko($a(),150,100);Ka(e,t),Vu(e,t)}},ht=function(e){13===e.tag&&(Ka(e,3),Vu(e,3))},yt=function(e){if(13===e.tag){var t=$a();Ka(e,t=qa(t,e,null)),Vu(e,t)}},P=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=Cn(r);if(!o)throw Error(l(90));Ee(r),Se(r,o)}}}break;case"textarea":Re(e,n);break;case"select":null!=(t=n.value)&&Ne(e,!!n.multiple,t,!1)}},M=eu,z=function(e,t,n,r,o){var i=_a;_a|=4;try{return Wo(98,e.bind(null,t,n,r,o))}finally{0===(_a=i)&&$o()}},I=function(){0==(49&_a)&&(function(){if(null!==Ha){var e=Ha;Ha=null,e.forEach((function(e,t){zu(t,e),Ja(t)})),$o()}}(),bu())},F=function(e,t){var n=_a;_a|=2;try{return e(t)}finally{0===(_a=n)&&$o()}};var Qu,$u,qu={Events:[Pn,Nn,Cn,O,_,Fn,function(e){ot(e,In)},R,D,Jt,at,bu,{current:!1}]};$u=(Qu={findFiberByHostInstance:Tn,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}).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);Eu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},ku=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(o({},Qu,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return $u?$u(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qu,t.createPortal=Bu,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(l(188));throw Error(l(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&_a))throw Error(l(187));var n=_a;_a|=1;try{return Wo(99,e.bind(null,t))}finally{_a=n,$o()}},t.hydrate=function(e,t,n){if(!Au(t))throw Error(l(200));return Hu(null,e,t,!0,n)},t.render=function(e,t,n){if(!Au(t))throw Error(l(200));return Hu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Au(e))throw Error(l(40));return!!e._reactRootContainer&&(tu((function(){Hu(null,null,e,!1,(function(){e._reactRootContainer=null,e[On]=null}))})),!0)},t.unstable_batchedUpdates=eu,t.unstable_createPortal=function(e,t){return Bu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Au(n))throw Error(l(200));if(null==e||void 0===e._reactInternalFiber)throw Error(l(38));return Hu(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(21)},function(e,t,n){"use strict";
var r,o,i,l,a;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,s=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(s,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},l=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,m=window.setTimeout,b=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 p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var y=d.now();t.unstable_now=function(){return d.now()-y}}var v=!1,g=null,w=-1,E=5,k=0;l=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"):E=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,x=_.port2;_.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();k=e+E;try{g(!0,e)?x.postMessage(null):(v=!1,g=null)}catch(e){throw x.postMessage(null),e}}else v=!1},r=function(e){g=e,v||(v=!0,x.postMessage(null))},o=function(e,n){w=m((function(){e(t.unstable_now())}),n)},i=function(){b(w),w=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<P(o,t)))break e;e[r]=t,e[n]=o,n=r}}function O(e){return void 0===(e=e[0])?null:e}function T(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,l=e[i],a=i+1,u=e[a];if(void 0!==l&&0>P(l,n))void 0!==u&&0>P(u,l)?(e[r]=u,e[a]=n,r=a):(e[r]=l,e[i]=n,r=i);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[a]=n,r=a}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var N=[],C=[],j=1,R=null,D=3,M=!1,z=!1,I=!1;function F(e){for(var t=O(C);null!==t;){if(null===t.callback)T(C);else{if(!(t.startTime<=e))break;T(C),t.sortIndex=t.expirationTime,S(N,t)}t=O(C)}}function L(e){if(I=!1,F(e),!z)if(null!==O(N))z=!0,r(V);else{var t=O(C);null!==t&&o(L,t.startTime-e)}}function V(e,n){z=!1,I&&(I=!1,i()),M=!0;var r=D;try{for(F(n),R=O(N);null!==R&&(!(R.expirationTime>n)||e&&!l());){var a=R.callback;if(null!==a){R.callback=null,D=R.priorityLevel;var u=a(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?R.callback=u:R===O(N)&&T(N),F(n)}else T(N);R=O(N)}if(null!==R)var c=!0;else{var s=O(C);null!==s&&o(L,s.startTime-n),c=!1}return c}finally{R=null,D=r,M=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var A=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(){z||M||(z=!0,r(V))},t.unstable_getCurrentPriorityLevel=function(){return D},t.unstable_getFirstCallbackNode=function(){return O(N)},t.unstable_next=function(e){switch(D){case 1:case 2:case 3:var t=3;break;default:t=D}var n=D;D=t;try{return e()}finally{D=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=A,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=D;D=e;try{return t()}finally{D=n}},t.unstable_scheduleCallback=function(e,n,l){var a=t.unstable_now();if("object"==typeof l&&null!==l){var u=l.delay;u="number"==typeof u&&0<u?a+u:a,l="number"==typeof l.timeout?l.timeout:U(e)}else l=U(e),u=a;return e={id:j++,callback:n,priorityLevel:e,startTime:u,expirationTime:l=u+l,sortIndex:-1},u>a?(e.sortIndex=u,S(C,e),null===O(N)&&e===O(C)&&(I?i():I=!0,o(L,u-a))):(e.sortIndex=l,S(N,e),z||M||(z=!0,r(V))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();F(e);var n=O(N);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||l()},t.unstable_wrapCallback=function(e){var t=D;return function(){var n=D;D=t;try{return e.apply(this,arguments)}finally{D=n}}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(4);o()(document).on("bookwormgb_authors_block_output_author_success",(function(e,t){o()(t).each((function(){o()(this).find(".js-slick-carousel").length&&o.a.HSCore.components.hasOwnProperty("HSSlickCarousel")&&o.a.HSCore.components.HSSlickCarousel.init(o()(this).find(".js-slick-carousel"))}))}));var l=n(1),a=n(5),u=n.n(a),c=n(3),s=n.n(c),f=n(7);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(a,e);var t,n,r,l=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=l.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=a,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,i=void 0!==o&&o;u()(this.props.attributes,e.attributes)?r&&i&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;o.a.ajax({type:"POST",url:i.ajaxUrl,data:{action:"bookwormgb_authors_block_output_author",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),o()(this.el).trigger("bookwormgb_authors_block_output_author_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(f.a,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),a}(l.Component);g=k,w="propTypes",E={attributes:s.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);function S(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 O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(x.a)(".wp-block-bwgb-authors__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}})),o()(".wp-block-bwgb-author").ready((function(){o()(".wp-block-bwgb-author").on("click",".author-pagination a",(function(e){e.preventDefault();var t=o()(this),n=t.closest(".wp-block-bwgb-author .wp-block-bwgb-authors__content"),r=n.data("attributes"),l=t.data("page"),a=O(O({},r),{},{paged:l});o.a.ajax({type:"POST",url:i.ajaxUrl,data:{action:"bookwormgb_authors_block_output_author",attributes:O({},a)},dataType:"json",beforeSend:function(){n.find(".author-content").addClass("author-pagination-ajax-loader")},success:function(e){n.html(e.output)}})})),o()(".wp-block-bwgb-author").on("click",".author-button",(function(e){e.preventDefault();var t=o()(this).closest(".wp-block-bwgb-author .wp-block-bwgb-authors__content"),n=t.data("attributes"),r=O(O({},n),{},{limit:n.limit+=n.loadMoreCount});o.a.ajax({type:"POST",url:i.ajaxUrl,data:{action:"bookwormgb_authors_block_output_author",attributes:O({},r)},dataType:"json",beforeSend:function(){t.addClass("author-pagination-ajax-loader")},success:function(e){t.removeClass("author-pagination-ajax-loader"),t.html(e.output)}})}))}))},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r);o()(document).on("bookwormgb_deal_product_block_output_success",(function(e,t){o()(t).each((function(){o()(this).find(".js-countdown").length&&o.a.HSCore.components.hasOwnProperty("HSCountdown")&&o.a.HSCore.components.HSCountdown.init(o()(this).find(".js-countdown"),{yearsElSelector:".js-cd-years",monthElSelector:".js-cd-months",daysElSelector:".js-cd-days",hoursElSelector:".js-cd-hours",minutesElSelector:".js-cd-minutes",secondsElSelector:".js-cd-seconds"})}))}));var i=n(1),l=n(5),a=n.n(l),u=n(3),c=n.n(u),s=n(7),f=n(4);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,i=b(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=i.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,i=void 0!==o&&o;a()(this.props.attributes,e.attributes)?r&&i&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;o.a.ajax({type:"POST",url:f.ajaxUrl,data:{action:"bookwormgb_deal_product_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),o()(this.el).trigger("bookwormgb_deal_product_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(s.c,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(i.Component);g=k,w="propTypes",E={attributes:c.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-deal-product__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r);o()(document).on("bookwormgb_product_categories_block_output_success",(function(e,t){o()(t).each((function(){o()(this).find(".js-slick-carousel").length&&o.a.HSCore.components.hasOwnProperty("HSSlickCarousel")&&o.a.HSCore.components.HSSlickCarousel.init(o()(this).find(".js-slick-carousel"))}))}));var i=n(1),l=n(5),a=n.n(l),u=n(3),c=n.n(u),s=n(7),f=n(4);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,i=b(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=i.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,i=void 0!==o&&o;a()(this.props.attributes,e.attributes)?r&&i&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;o.a.ajax({type:"POST",url:f.ajaxUrl,data:{action:"bookwormgb_product_categories_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),o()(this.el).trigger("bookwormgb_product_categories_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(s.f,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(i.Component);g=k,w="propTypes",E={attributes:c.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-product-categories__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r);o()(document).on("bookwormgb_products_carousel_block_output_success",(function(e,t){o()(t).each((function(){o()(this).find(".js-slick-carousel").length&&o.a.HSCore.components.hasOwnProperty("HSSlickCarousel")&&o.a.HSCore.components.HSSlickCarousel.init(o()(this).find(".js-slick-carousel"))}))}));var i=n(1),l=n(5),a=n.n(l),u=n(3),c=n.n(u),s=n(7),f=n(4);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,i=b(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=i.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,i=void 0!==o&&o;a()(this.props.attributes,e.attributes)?r&&i&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;o.a.ajax({type:"POST",url:f.ajaxUrl,data:{action:"bookwormgb_products_carousel_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),o()(this.el).trigger("bookwormgb_products_carousel_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(s.e,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(i.Component);g=k,w="propTypes",E={attributes:c.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-products-carousel__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r);o()(document).on("bookwormgb_products_deals_carousel_block_output_success",(function(e,t){o()(t).each((function(){o()(this).find(".js-slick-carousel").length&&o.a.HSCore.components.hasOwnProperty("HSSlickCarousel")&&o.a.HSCore.components.HSSlickCarousel.init(o()(this).find(".js-slick-carousel")),o()(this).find(".js-countdown").length&&o.a.HSCore.components.hasOwnProperty("HSCountdown")&&o.a.HSCore.components.HSCountdown.init(o()(this).find(".js-countdown"),{yearsElSelector:".js-cd-years",monthElSelector:".js-cd-months",daysElSelector:".js-cd-days",hoursElSelector:".js-cd-hours",minutesElSelector:".js-cd-minutes",secondsElSelector:".js-cd-seconds"})}))}));var i=n(1),l=n(5),a=n.n(l),u=n(3),c=n.n(u),s=n(7),f=n(4);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,i=b(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=i.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,i=void 0!==o&&o;a()(this.props.attributes,e.attributes)?r&&i&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;o.a.ajax({type:"POST",url:f.ajaxUrl,data:{action:"bookwormgb_products_deals_carousel_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),o()(this.el).trigger("bookwormgb_products_deals_carousel_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(s.g,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(i.Component);g=k,w="propTypes",E={attributes:c.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-products-deals-carousel__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r);o()(document).on("bookwormgb_single_product_carousel_block_output_success",(function(e,t){o()(t).each((function(){o()(this).find(".js-slick-carousel").length&&o.a.HSCore.components.hasOwnProperty("HSSlickCarousel")&&o.a.HSCore.components.HSSlickCarousel.init(o()(this).find(".js-slick-carousel"))}))}));var i=n(1),l=n(5),a=n.n(l),u=n(3),c=n.n(u),s=n(7),f=n(4);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,i=b(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=i.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,i=void 0!==o&&o;a()(this.props.attributes,e.attributes)?r&&i&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;o.a.ajax({type:"POST",url:f.ajaxUrl,data:{action:"bookwormgb_single_product_carousel_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),o()(this.el).trigger("bookwormgb_single_product_carousel_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(s.k,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(i.Component);g=k,w="propTypes",E={attributes:c.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-single-product-carousel__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(5),i=n.n(o),l=n(3),a=n.n(l),u=n(7),c=n(4),s=n(0),f=n.n(s);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,o=b(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=o.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,l=void 0!==o&&o;i()(this.props.attributes,e.attributes)?r&&l&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;f.a.ajax({type:"POST",url:c.ajaxUrl,data:{action:"bookwormgb_blog_post_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),f()(this.el).trigger("bookwormgb_blog_post_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(u.b,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(r.Component);g=k,w="propTypes",E={attributes:a.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-blog-post .wp-block-bwgb-blog-post__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(5),i=n.n(o),l=n(3),a=n.n(l),u=n(4),c=n(0),s=n.n(c);function f(e){return(f="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})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v,g,w,E=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}}),t&&d(e,t)}(l,e);var t,n,r,o=m(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=o.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(h(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,l=void 0!==o&&o;i()(this.props.attributes,e.attributes)?r&&l&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;s.a.ajax({type:"POST",url:u.ajaxUrl,data:{action:"bookwormgb_nav_menu_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),s()(this.el).trigger("bookwormgb_nav_menu_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this;return this.props.attributes.isPreview||!this.state.output?wp.element.createElement("ul",{className:"list-unstyled m-0"},wp.element.createElement("li",{className:"nav-link rounded-pill bg-light",style:{height:"24px",marginBottom:"5px"}})):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&p(t.prototype,n),r&&p(t,r),l}(r.Component);v=E,g="propTypes",w={attributes:a.a.object.isRequired},g in v?Object.defineProperty(v,g,{value:w,enumerable:!0,configurable:!0,writable:!0}):v[g]=w;var k=E,_=n(6);Object(_.a)(".wp-block-bwgb-nav-menu__content",k,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!1}}))},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(5),i=n.n(o),l=n(3),a=n.n(l),u=n(7),c=n(4),s=n(0),f=n.n(s);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,o=b(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=o.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,l=void 0!==o&&o;i()(this.props.attributes,e.attributes)?r&&l&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;f.a.ajax({type:"POST",url:c.ajaxUrl,data:{action:"bookwormgb_product_featured_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),f()(this.el).trigger("bookwormgb_product_featured_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(u.d,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(r.Component);g=k,w="propTypes",E={attributes:a.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-product-featured__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(5),i=n.n(o),l=n(3),a=n.n(l),u=n(7),c=n(4),s=n(0),f=n.n(s);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,o=b(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=o.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,l=void 0!==o&&o;i()(this.props.attributes,e.attributes)?r&&l&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;f.a.ajax({type:"POST",url:c.ajaxUrl,data:{action:"bookwormgb_products_list_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),f()(this.el).trigger("bookwormgb_products_list_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(u.h,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(r.Component);g=k,w="propTypes",E={attributes:a.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-products-list__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(5),i=n.n(o),l=n(3),a=n.n(l),u=n(7),c=n(4),s=n(0),f=n.n(s);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,o=b(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=o.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,l=void 0!==o&&o;i()(this.props.attributes,e.attributes)?r&&l&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;f.a.ajax({type:"POST",url:c.ajaxUrl,data:{action:"bookwormgb_products_simple_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),f()(this.el).trigger("bookwormgb_products_simple_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(u.j,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(r.Component);g=k,w="propTypes",E={attributes:a.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-products-simple__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(5),i=n.n(o),l=n(3),a=n.n(l),u=n(7),c=n(4),s=n(0),f=n.n(s);function p(e){return(p="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})(e)}function d(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,w,E,k=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}}),t&&m(e,t)}(l,e);var t,n,r,o=b(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=o.call(this,e)).state={output:!1},t.setOutput=t.setOutput.bind(y(t)),t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this.props.hasVisibilitySensor;void 0!==e&&e||this.setOutput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasVisibilitySensor,r=void 0!==n&&n,o=t.isVisible,l=void 0!==o&&o;i()(this.props.attributes,e.attributes)?r&&l&&!this.state.output&&this.setOutput():this.setOutput()}},{key:"setOutput",value:function(){var e=this.props.attributes;f.a.ajax({type:"POST",url:c.ajaxUrl,data:{action:"bookwormgb_products_block_output",attributes:e},dataType:"json",success:function(t){t.success&&this.setState({output:t.output}),f()(this.el).trigger("bookwormgb_products_block_output_success",[this.el,t,e])}.bind(this),error:function(e,t,n){this.setState({output:n.toString()})}.bind(this)})}},{key:"render",value:function(){var e=this,t=this.props.attributes;return t.isPreview||!this.state.output?wp.element.createElement(u.i,t):wp.element.createElement("div",{ref:function(t){return e.el=t},dangerouslySetInnerHTML:{__html:this.state.output}})}}])&&d(t.prototype,n),r&&d(t,r),l}(r.Component);g=k,w="propTypes",E={attributes:a.a.object.isRequired},w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E;var _=k,x=n(6);Object(x.a)(".wp-block-bwgb-products__content",_,(function(e){return{attributes:JSON.parse(e.dataset.attributes),hasVisibilitySensor:!0}}))}]);
!function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,"function"==typeof document.createElement("div").style.setExpression&&document.createElement("div").style.setExpression);e.blockUI=function(e){d(window,e)},e.unblockUI=function(e){a(window,e)},e.growlUI=function(t,o,n,i){var s=e('<div class="growlUI"></div>');t&&s.append("<h1>"+t+"</h1>"),o&&s.append("<h2>"+o+"</h2>"),n===undefined&&(n=3e3);var l=function(t){t=t||{},e.blockUI({message:s,fadeIn:"undefined"!=typeof t.fadeIn?t.fadeIn:700,fadeOut:"undefined"!=typeof t.fadeOut?t.fadeOut:1e3,timeout:"undefined"!=typeof t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};l();s.css("opacity");s.on("mouseover",function(){l({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).on("mouseout",function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,d(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){a(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var s=null,l=[];function d(d,c){var u,b,h=d==window,k=c&&c.message!==undefined?c.message:undefined;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(d).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),b=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),k=k===undefined?c.message:k,h&&s&&a(window,{fadeOut:0}),k&&"string"!=typeof k&&(k.parentNode||k.jquery)){var y=k.jquery?k[0]:k,m={};e(d).data("blockUI.history",m),m.el=y,m.parent=y.parentNode,m.display=y.style.display,m.position=y.style.position,m.parent&&m.parent.removeChild(y)}e(d).data("blockUI.onUnblock",c.onUnblock);var g,v,I,w,U=c.baseZ;g=o||c.forceIframe?e('<iframe class="blockUI" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):e('<div class="blockUI" style="display:none"></div>'),v=c.theme?e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+U+++';display:none"></div>'):e('<div class="blockUI blockOverlay" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&h?(w='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:fixed">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):c.theme?(w='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:absolute">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):w=h?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+(U+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+(U+10)+';display:none;position:absolute"></div>',I=e(w),k&&(c.theme?(I.css(b),I.addClass("ui-widget-content")):I.css(u)),c.theme||v.css(c.overlayCSS),v.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&g.css("opacity",0);var x=[g,v,I],C=e(h?"body":d);e.each(x,function(){this.appendTo(C)}),c.theme&&c.draggable&&e.fn.draggable&&I.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=i&&(!e.support.boxModel||e("object,embed",h?null:d).length>0);if(n||S){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var E=p(d,"borderTopWidth"),O=p(d,"borderLeftWidth"),T=E?"(0 - "+E+")":0,M=O?"(0 - "+O+")":0;e.each(x,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel&&document.documentElement.clientWidth||document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),M&&o.setExpression("left",M),T&&o.setExpression("top",T);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight||document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah=document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(k&&(c.theme?I.find(".ui-widget-content").append(k):I.append(k),(k.jquery||k.nodeType)&&e(k).show()),(o||c.forceIframe)&&c.showOverlay&&g.show(),c.fadeIn){var B=c.onBlock?c.onBlock:t,j=c.showOverlay&&!k?B:t,H=k?B:t;c.showOverlay&&v._fadeIn(c.fadeIn,j),k&&I._fadeIn(c.fadeIn,H)}else c.showOverlay&&v.show(),k&&I.show(),c.onBlock&&c.onBlock.bind(I)();if(r(1,d,c),h?(s=I[0],l=e(c.focusableElements,s),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),l=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=s>0?s+"px":"0");o&&(i.top=l>0?l+"px":"0")}(I[0],c.centerX,c.centerY),c.timeout){var z=setTimeout(function(){h?e.unblockUI(c):e(d).unblock(c)},c.timeout);e(d).data("blockUI.timeout",z)}}}function a(t,o){var n,i,d=t==window,a=e(t),u=a.data("blockUI.history"),f=a.data("blockUI.timeout");f&&(clearTimeout(f),a.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),r(0,t,o),null===o.onUnblock&&(o.onUnblock=a.data("blockUI.onUnblock"),a.removeData("blockUI.onUnblock")),i=d?e(document.body).children().filter(".blockUI").add("body > .blockUI"):a.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),d&&(s=l=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,u,o,t)})):c(i,u,o,t)}function c(t,o,n,i){var s=e(i);if(!s.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var l=e(document.body),d=l.width(),a=l[0].style.width;l.width(d-1).width(d),l[0].style.width=a}}function r(t,o,n){var i=o==window,l=e(o);if((t||(!i||s)&&(i||l.data("blockUI.isBlocked")))&&(l.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var d="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).on(d,n,u):e(document).off(d,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&s&&t.data.constrainTabKey){var o=l,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var d=t.data,a=e(t.target);return a.hasClass("blockOverlay")&&d.onOverlayClick&&d.onOverlayClick(t),a.parents("div."+d.blockMsgClass).length>0||0===a.parents().children().filter("div.blockUI").length}function f(e){if(l){var t=l[!0===e?l.length-1:0];t&&t.trigger("focus")}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();