File: /mnt/home/lcipakco/public_html/wp-content/plugins/wp-smushit/app/assets/js/smush-ui-settings.min.js
!function(){"use strict";var e,t,n,r={2197:function(e,t,n){var r={};n.r(r),n.d(r,{Accessibility:function(){return ot},AccessibilityContrast:function(){return xe},AccessibilityDefault:function(){return Pe},ActivityLog:function(){return Yt},AmazonS3:function(){return Be},ArrowDown:function(){return Xt},ArrowLeft:function(){return Se},ArrowRight:function(){return Oe},ArrowRotateLeft:function(){return Q},ArrowUp:function(){return $t},Avif:function(){return wt},Backup:function(){return he},BasicCompression:function(){return fe},Bell:function(){return z},Box:function(){return H},Bulb:function(){return T},Cdn:function(){return $e},Chatbot:function(){return Dt},Check:function(){return Te},Chevron:function(){return ee},ChevronDown:function(){return G},ChevronLeft:function(){return K},ChevronRight:function(){return $},ChevronUp:function(){return W},Clear:function(){return L},Clock:function(){return Pt},Close:function(){return X},Code:function(){return lt},Compress:function(){return ve},Configs:function(){return ft},Content:function(){return xt},Copy:function(){return le},Dashboard:function(){return Xe},DataSettings:function(){return Ye},Deactivate:function(){return rt},Default:function(){return Ot},Delete:function(){return ut},Diamond:function(){return Ve},DirFolder:function(){return Je},Directory:function(){return Ye},DocumentAvif:function(){return jt},DocumentWebp:function(){return Nt},Dot:function(){return oe},Dot2px:function(){return Wt},Dot2x:function(){return ae},Download:function(){return kt},DummyImg:function(){return Me},ErrorIcon:function(){return _e},Facebook:function(){return At},File:function(){return Qe},Folder:function(){return Ye},Gauge:function(){return Ke},General:function(){return tt},Gif:function(){return pt},Global:function(){return $e},GraduationCap:function(){return D},Gravatars:function(){return Lt},GravityForms:function(){return ze},Grid:function(){return I},Gutenberg:function(){return Ie},Heart:function(){return Tt},Help:function(){return F},HideNotification:function(){return tn},HorizontalLine:function(){return M},Iframe:function(){return dt},Image:function(){return Fe},ImageDoubleLarge:function(){return Ge},ImageExtraLarge:function(){return Ue},ImageLarge:function(){return Re},ImagePlaceholder:function(){return Gt},Infinity:function(){return cn},Info:function(){return Rt},InfoNoBorder:function(){return Ut},Instagram:function(){return Mt},Integrations:function(){return De},Jpeg:function(){return vt},JpegFile:function(){return je},Lazyload:function(){return Ze},LifeRing:function(){return B},Lock:function(){return et},Logout:function(){return R},Merge:function(){return De},Minus:function(){return nn},More:function(){return Zt},MoreStraight:function(){return Ft},New:function(){return Et},NextGen:function(){return we},NextGenFormats:function(){return Fe},OnboardingWizard:function(){return ct},Opacity:function(){return Ae},OpenNewWindow:function(){return Qt},OptIn:function(){return an},Play:function(){return Jt},Plus:function(){return Ct},Png:function(){return gt},PngFile:function(){return Ne},PopoverArrow:function(){return Vt},PostThumbnail:function(){return It},PowerOff:function(){return rt},Preload:function(){return qe},PresetConfigs:function(){return tt},Preview:function(){return te},PreviewExpand:function(){return ne},PreviewPro:function(){return re},Pro:function(){return _t},QuestionCircle:function(){return F},Refresh:function(){return zt},Restore:function(){return mt},Roadmap:function(){return en},Scan:function(){return ce},ScanSite:function(){return me},ScanSiteV2:function(){return Ee},Settings:function(){return nt},Smush:function(){return at},SmushCdn:function(){return ye},SmushSettings:function(){return se},Spinner:function(){return J},SpinnerWhite:function(){return Y},Stack:function(){return be},SuperCompression:function(){return pe},Svg:function(){return bt},Time:function(){return ge},Tools:function(){return tt},Trash:function(){return qt},UltraCompression:function(){return de},Undo:function(){return We},Update:function(){return ke},Upload:function(){return Ce},User:function(){return V},UserDisconnected:function(){return Z},UserSettings:function(){return nt},WandMagic:function(){return ct},WarningTriangle:function(){return rn},WarningTriangleWhite:function(){return on},Webp:function(){return yt},Widgets:function(){return Ht},Wpbakery:function(){return He},Wpmudev:function(){return it},WpmudevV2:function(){return ue},X:function(){return Bt}});var o={};n.r(o),n.d(o,{cancel:function(){return Lo},pause:function(){return To},resume:function(){return Mo},start:function(){return No},syncStats:function(){return ko},syncStatus:function(){return Po}});var a=n(6540),i=n(5556),l=n.n(i),c=["children","columns","rows","gap","rowGap","columnGap","align","justify","className","responsive","breakpoint"],s=["children","span","rowSpan","column","row","align","justify","className"],u=["children","gap","align","justify","className"],m=["children","gap","align","justify","className"];function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(null,arguments)}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){var t=e.children,n=e.columns,r=void 0===n?"1fr":n,o=e.rows,i=e.gap,l=void 0===i?4:i,s=e.rowGap,u=e.columnGap,m=e.align,d=e.justify,v=e.className,h=void 0===v?"":v,C=e.responsive,g=void 0===C||C,b=e.breakpoint,y=void 0===b?"1024px":b,w=p(e,c),_=["wpmudev-grid",g&&"wpmudev-grid--responsive",h].filter(Boolean).join(" "),E={"--grid-columns":r,"--grid-rows":o,"--grid-gap":"var(--wpmudev-space-".concat(l,")"),"--grid-row-gap":s?"var(--wpmudev-space-".concat(s,")"):void 0,"--grid-column-gap":u?"var(--wpmudev-space-".concat(u,")"):void 0,"--grid-breakpoint":y,alignItems:m,justifyContent:d};return a.createElement("div",f({className:_,style:E},w),t)};d.displayName="Grid";var v=function(e){var t=e.children,n=e.span,r=e.rowSpan,o=e.column,i=e.row,l=e.align,c=e.justify,u=e.className,m=void 0===u?"":u,d=p(e,s),v=["wpmudev-grid__item",m].filter(Boolean).join(" "),h={gridColumn:n?"span ".concat(n):o,gridRow:r?"span ".concat(r):i,alignSelf:l,justifySelf:c};return a.createElement("div",f({className:v,style:h},d),t)};v.displayName="Grid.Item";var h=function(e){var t=e.children,n=e.gap,r=void 0===n?4:n,o=e.align,i=e.justify,l=e.className,c=void 0===l?"":l,s=p(e,u);return a.createElement(d,f({columns:"auto",gap:r,align:o,justify:i,responsive:!1,className:"wpmudev-grid-row ".concat(c)},s),t)};h.displayName="Grid.Row";var C=function(e){var t=e.children,n=e.gap,r=void 0===n?4:n,o=e.align,i=e.justify,l=e.className,c=void 0===l?"":l,s=p(e,m),u=["wpmudev-grid-column",c].filter(Boolean).join(" "),d={"--column-gap":"var(--wpmudev-space-".concat(r,")"),alignItems:o,justifyContent:i};return a.createElement("div",f({className:u,style:d},s),t)};C.displayName="Grid.Column",d.Item=v,d.Row=h,d.Column=C,d.propTypes={children:l().node.isRequired,columns:l().string,rows:l().string,gap:l().number,rowGap:l().number,columnGap:l().number,align:l().oneOf(["start","center","end","stretch"]),justify:l().oneOf(["start","center","end","space-between","space-around"]),className:l().string,responsive:l().bool,breakpoint:l().string},v.propTypes={children:l().node.isRequired,span:l().number,rowSpan:l().number,column:l().string,row:l().string,align:l().oneOf(["start","center","end","stretch"]),justify:l().oneOf(["start","center","end","stretch"]),className:l().string},h.propTypes={children:l().node.isRequired,gap:l().number,align:l().oneOf(["start","center","end","stretch"]),justify:l().oneOf(["start","center","end","space-between","space-around"]),className:l().string},C.propTypes={children:l().node.isRequired,gap:l().number,align:l().oneOf(["start","center","end","stretch"]),justify:l().oneOf(["start","center","end","space-between","space-around"]),className:l().string};var g=d,b=["children","direction","align","justify","gap","fullWidth","className","style","as"];function y(e){return y="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},y(e)}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(null,arguments)}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function O(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 S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=y(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==y(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return S(S({},Object.fromEntries(Object.entries(e).filter(function(e){var t=_(e,2)[1];return null!=t}))),t||{})}var P=function(e){var t=e.children,n=e.direction,r=e.align,o=e.justify,i=e.gap,l=e.fullWidth,c=e.className,s=void 0===c?"":c,u=e.style,m=e.as,f=void 0===m?"div":m,p=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,b),d=["wpmudev-flex",l&&"wpmudev-flex--full-width",s].filter(Boolean).join(" "),v=N({"--wpmudev-flex-direction":n,"--wpmudev-flex-align":r,"--wpmudev-flex-justify":o,"--wpmudev-flex-gap":i},u);return a.createElement(f,w({className:d},p,{style:v}),t)};P.propTypes={children:l().node.isRequired,direction:l().oneOf(["row","column"]),align:l().oneOf(["start","center","end","stretch"]),justify:l().oneOf(["start","center","end","space-between","space-around"]),gap:l().string,fullWidth:l().bool,className:l().string,style:l().object,as:l().elementType},P.displayName="Flex",(P.Column=function(e){return a.createElement(P,w({},e,{direction:"column"}))}).displayName="Flex.Column",(P.Row=function(e){return a.createElement(P,w({},e,{direction:"row"}))}).displayName="Flex.Row";var x=["children","className"];function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(null,arguments)}var A=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,x),i=["wpmudev-ui-root",r].filter(Boolean).join(" ");return a.createElement("div",k({id:"wpmudev-ui-root",className:i},o),t)};A.propTypes={children:l().node,className:l().string};var L=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M7.32108 14.2194L8.66608 12.8811H10.7338C10.9211 12.8811 11.0795 12.9458 11.2089 13.0752C11.3427 13.209 11.4096 13.3674 11.4096 13.5503C11.4096 13.7376 11.3427 13.896 11.2089 14.0254C11.0795 14.1547 10.9211 14.2194 10.7338 14.2194H7.32108ZM12.9687 14.2194C12.7858 14.2194 12.6275 14.1547 12.4936 14.0254C12.3643 13.896 12.2996 13.7376 12.2996 13.5503C12.2996 13.3674 12.3643 13.209 12.4936 13.0752C12.6275 12.9458 12.7858 12.8811 12.9687 12.8811H15.3308C15.5182 12.8811 15.6766 12.9458 15.8059 13.0752C15.9353 13.209 16 13.3674 16 13.5503C16 13.7376 15.9353 13.896 15.8059 14.0254C15.6766 14.1547 15.5182 14.2194 15.3308 14.2194H12.9687ZM0.77676 11.2082C0.277126 10.6997 0.0183866 10.1688 0.000542557 9.61563C-0.0128405 9.06247 0.221363 8.54499 0.703154 8.0632L6.89282 1.88022C7.20955 1.55903 7.56867 1.40066 7.97016 1.40512C8.37165 1.40958 8.73522 1.57687 9.06088 1.90699L12.7011 5.5338C13.0267 5.86391 13.1918 6.22972 13.1962 6.63121C13.2007 7.0327 13.0423 7.39181 12.7211 7.70855L6.53817 13.9049C6.05638 14.3822 5.5389 14.612 4.98573 14.5941C4.43257 14.5808 3.90171 14.322 3.39315 13.8179L0.77676 11.2082ZM1.75372 10.2915L4.30989 12.841C4.53294 13.0595 4.76045 13.1733 4.99243 13.1822C5.2244 13.1956 5.44076 13.0997 5.64151 12.8945L11.6572 6.88549C11.7286 6.80965 11.7643 6.72712 11.7643 6.6379C11.7687 6.54868 11.7353 6.46838 11.6639 6.397L8.21105 2.94417C8.13968 2.8728 8.05715 2.83711 7.96347 2.83711C7.86979 2.83711 7.78503 2.8728 7.70919 2.94417L1.70019 8.95317C1.49945 9.15838 1.40353 9.3792 1.41246 9.61563C1.42584 9.84761 1.5396 10.0729 1.75372 10.2915ZM1.9344 7.83568L2.75745 7.03939L7.57536 11.8573L6.76568 12.667L1.9344 7.83568Z",fill:"#1A1A1A"}))},T=function(){return a.createElement("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M1.74825 7.79623H0.661499C0.480374 7.79623 0.324843 7.73127 0.194906 7.60133C0.0649686 7.46745 0 7.31192 0 7.13474C0 6.95361 0.0649686 6.79808 0.194906 6.66814C0.324843 6.53427 0.480374 6.46733 0.661499 6.46733H1.74825C1.93331 6.46733 2.09081 6.53427 2.22075 6.66814C2.35462 6.79808 2.42156 6.95361 2.42156 7.13474C2.42156 7.31586 2.35462 7.47139 2.22075 7.60133C2.09081 7.73127 1.93331 7.79623 1.74825 7.79623ZM2.82909 3.76818L2.06128 2.99446C1.93134 2.86846 1.86637 2.7149 1.86637 2.53378C1.86637 2.34871 1.93134 2.19121 2.06128 2.06128C2.19121 1.93528 2.34675 1.87228 2.52787 1.87228C2.71293 1.87228 2.86846 1.93528 2.99446 2.06128L3.76818 2.83499C3.89418 2.96493 3.95718 3.12243 3.95718 3.30749C3.96112 3.48862 3.89812 3.64218 3.76818 3.76818C3.63824 3.89812 3.48074 3.96309 3.29568 3.96309C3.11456 3.96309 2.95903 3.89812 2.82909 3.76818ZM6.46733 1.76006V0.667405C6.46733 0.48628 6.5323 0.330749 6.66224 0.200812C6.79611 0.0669374 6.95164 0 7.12883 0C7.30602 0 7.45958 0.0669374 7.58952 0.200812C7.72339 0.330749 7.79033 0.48628 7.79033 0.667405V1.76006C7.79033 1.93725 7.72536 2.09278 7.59542 2.22665C7.46549 2.35659 7.30996 2.42156 7.12883 2.42156C6.94771 2.42156 6.79217 2.35659 6.66224 2.22665C6.5323 2.09278 6.46733 1.93725 6.46733 1.76006ZM10.4895 2.83499L11.2632 2.06128C11.3931 1.93528 11.5487 1.87228 11.7298 1.87228C11.9109 1.87228 12.0684 1.93528 12.2023 2.06128C12.3283 2.19121 12.3913 2.34871 12.3913 2.53378C12.3913 2.7149 12.3283 2.86846 12.2023 2.99446L11.4227 3.76818C11.2967 3.89812 11.1431 3.96505 10.962 3.96899C10.7809 3.96899 10.6234 3.90205 10.4895 3.76818C10.3595 3.64218 10.2946 3.48862 10.2946 3.30749C10.2985 3.12243 10.3635 2.96493 10.4895 2.83499ZM13.5962 7.79623H12.5035C12.3263 7.79623 12.1708 7.73127 12.0369 7.60133C11.903 7.47139 11.8361 7.31586 11.8361 7.13474C11.8361 6.95361 11.903 6.79808 12.0369 6.66814C12.1708 6.53427 12.3263 6.46733 12.5035 6.46733H13.5962C13.7733 6.46733 13.9269 6.53427 14.0568 6.66814C14.1907 6.79808 14.2577 6.95361 14.2577 7.13474C14.2577 7.31192 14.1907 7.46745 14.0568 7.60133C13.9269 7.73127 13.7733 7.79623 13.5962 7.79623ZM7.12883 3.30159C7.63283 3.30159 8.10336 3.38821 8.54042 3.56146C8.98142 3.73077 9.3673 3.96899 9.69804 4.27612C10.0327 4.5793 10.2946 4.93565 10.4836 5.34515C10.6726 5.75464 10.7671 6.19958 10.7671 6.67996C10.7671 7.06977 10.7277 7.4202 10.6489 7.73127C10.5702 8.04233 10.4698 8.34945 10.3477 8.65264C10.2257 8.95189 10.0977 9.27673 9.96383 9.62717C9.82995 9.9776 9.70592 10.3871 9.59173 10.8557C9.48148 11.3242 9.39683 11.8834 9.33776 12.533C9.32201 12.7063 9.26295 12.8421 9.16058 12.9406C9.0582 13.0351 8.92236 13.0823 8.75305 13.0823H5.50461C5.3353 13.0823 5.19946 13.0351 5.09708 12.9406C4.99471 12.8421 4.93762 12.7063 4.9258 12.533C4.86674 11.8834 4.78012 11.3242 4.66593 10.8557C4.55568 10.3871 4.43362 9.9776 4.29974 9.62717C4.16587 9.27673 4.03593 8.95189 3.90993 8.65264C3.78787 8.34945 3.68746 8.04233 3.60871 7.73127C3.5339 7.4202 3.49649 7.0678 3.49649 6.67405C3.49649 6.19761 3.58902 5.75464 3.77409 5.34515C3.96309 4.93171 4.22296 4.5734 4.55371 4.27021C4.8884 3.96702 5.27624 3.73077 5.71724 3.56146C6.15824 3.38821 6.62877 3.30159 7.12883 3.30159ZM7.12883 4.4533C6.67996 4.4533 6.26652 4.5478 5.88852 4.7368C5.51052 4.92186 5.20733 5.18174 4.97896 5.51643C4.75058 5.85111 4.6364 6.23699 4.6364 6.67405C4.6364 6.93786 4.6679 7.17608 4.7309 7.3887C4.79783 7.60133 4.88249 7.82577 4.98487 8.06202C5.08724 8.29826 5.19749 8.58176 5.31562 8.91251C5.43768 9.23933 5.5558 9.64686 5.66999 10.1351C5.78418 10.6194 5.88458 11.2219 5.97121 11.9424H8.28645C8.37702 11.2219 8.47939 10.6194 8.59358 10.1351C8.70776 9.64686 8.82392 9.23933 8.94205 8.91251C9.06411 8.58176 9.17633 8.29826 9.2787 8.06202C9.38501 7.82577 9.46967 7.60133 9.53267 7.3887C9.59567 7.17608 9.62717 6.93786 9.62717 6.67405C9.62717 6.23699 9.51298 5.85111 9.28461 5.51643C9.05623 5.18174 8.75305 4.92186 8.37505 4.7368C7.99705 4.5478 7.58164 4.4533 7.12883 4.4533ZM5.43965 14.3994C5.32546 14.3994 5.22899 14.36 5.15024 14.2813C5.07543 14.2065 5.03802 14.1139 5.03802 14.0037C5.03802 13.8974 5.07543 13.8048 5.15024 13.7261C5.22899 13.6473 5.32546 13.608 5.43965 13.608H8.81802C8.9322 13.608 9.0267 13.6473 9.10151 13.7261C9.18026 13.8048 9.21964 13.8974 9.21964 14.0037C9.21964 14.1139 9.18026 14.2065 9.10151 14.2813C9.0267 14.36 8.9322 14.3994 8.81802 14.3994H5.43965ZM7.12883 16C6.69571 16 6.32558 15.9016 6.01846 15.7047C5.71527 15.5118 5.5558 15.2538 5.54005 14.931H8.7117C8.69201 15.2538 8.53255 15.5118 8.2333 15.7047C7.93405 15.9016 7.56589 16 7.12883 16Z",fill:"white"}))},M=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1",height:"20",viewBox:"0 0 1 20",stroke:"#0000001A"},a.createElement("rect",{width:"1",height:"20",fill:"#0000001A"}))},I=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 13 13",fill:"none"},a.createElement("g",{clipPath:"url(#clip0_88_18941)"},a.createElement("path",{d:"M4.6 1.4V4.6H1.4V1.4H4.6ZM6 0H0V6H6V0Z",fill:"#1A1A1A"}),a.createElement("path",{d:"M11.6 1.4V4.6H8.4V1.4H11.6ZM13 0H7V6H13V0Z",fill:"#1A1A1A"}),a.createElement("path",{d:"M4.6 8.4V11.6H1.4V8.4H4.6ZM6 7H0V13H6V7Z",fill:"#1A1A1A"}),a.createElement("path",{d:"M11.6 8.4V11.6H8.4V8.4H11.6ZM13 7H7V13H13V7Z",fill:"#1A1A1A"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_88_18941"},a.createElement("rect",{width:"13",height:"13",fill:"white"}))))},z=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8.87501 1.875V2.36719C9.89585 2.54948 10.7253 3.01432 11.3633 3.76172C12.0195 4.50911 12.3568 5.41146 12.375 6.46875V7.37109C12.3932 8.64714 12.7943 9.78646 13.5781 10.7891L13.9883 11.3086C14.1524 11.5273 14.1797 11.7552 14.0703 11.9922C13.9427 12.2292 13.7422 12.3568 13.4688 12.375H2.53126C2.25782 12.3568 2.0573 12.2292 1.9297 11.9922C1.82032 11.7552 1.84767 11.5273 2.01173 11.3086L2.42189 10.7891C3.20574 9.78646 3.60678 8.64714 3.62501 7.37109V6.46875C3.64324 5.41146 3.98048 4.50911 4.63673 3.76172C5.27475 3.01432 6.10418 2.54948 7.12501 2.36719V1.875C7.12501 1.61979 7.20704 1.41016 7.37111 1.24609C7.53517 1.08203 7.7448 1 8.00001 1C8.25522 1 8.46486 1.08203 8.62892 1.24609C8.79298 1.41016 8.87501 1.61979 8.87501 1.875ZM7.78126 3.625C6.97918 3.64323 6.3047 3.91667 5.75782 4.44531C5.22918 4.99219 4.95574 5.66667 4.93751 6.46875V7.37109C4.93751 8.72005 4.57293 9.95052 3.84376 11.0625H12.1563C11.4271 9.95052 11.0625 8.72005 11.0625 7.37109V6.46875C11.0443 5.66667 10.7708 4.99219 10.2422 4.44531C9.69532 3.91667 9.02085 3.64323 8.21876 3.625H7.78126ZM9.75001 13.25C9.75001 13.724 9.57684 14.1341 9.23048 14.4805C8.88413 14.8268 8.47397 15 8.00001 15C7.52605 15 7.1159 14.8268 6.76954 14.4805C6.42319 14.1341 6.25001 13.724 6.25001 13.25H9.75001Z",fill:"#1A1A1A"}))},H=function(){return a.createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M5.5 0.5625C6.125 0.1875 6.5 0 6.625 0C6.79167 0 7.125 0.145833 7.625 0.4375C9.08333 1.3125 10.375 2.10417 11.5 2.8125C12.625 3.52083 13.2083 3.9375 13.25 4.0625C13.2917 4.14583 13.3125 5.22917 13.3125 7.3125C13.3125 9.39583 13.2708 10.5 13.1875 10.625C13.1458 10.75 12.3958 11.25 10.9375 12.125L7.4375 14.25C7.02083 14.5 6.75 14.625 6.625 14.625C6.54167 14.625 6.29167 14.5 5.875 14.25L2.375 12.125C0.916667 11.25 0.145833 10.75 0.0625 10.625C0.0208333 10.5 0 9.39583 0 7.3125C0 5.22917 0.0208333 4.125 0.0625 4C0.145833 3.875 1.95833 2.72917 5.5 0.5625ZM7.5 1.9375C6.95833 1.60417 6.66667 1.4375 6.625 1.4375C6.58333 1.4375 5.8125 1.91667 4.3125 2.875C2.8125 3.79167 2.0625 4.27083 2.0625 4.3125C2.0625 4.35417 2.33333 4.54167 2.875 4.875L3.6875 5.4375L8.375 2.4375L7.5 1.9375ZM11.3125 4.3125C11.3125 4.27083 11.0417 4.08333 10.5 3.75L9.625 3.1875L4.9375 6.1875L5.8125 6.6875C6.35417 7.02083 6.64583 7.1875 6.6875 7.1875C6.77083 7.14583 7.5625 6.66667 9.0625 5.75C10.5625 4.79167 11.3125 4.3125 11.3125 4.3125ZM2.8125 6.4375L1.3125 5.5L1.375 9.9375L3.625 11.375C5.125 12.2917 5.89583 12.75 5.9375 12.75C5.97917 12.75 6 12.0208 6 10.5625V8.3125L4.625 7.5625C3.70833 7.02083 3.10417 6.64583 2.8125 6.4375ZM12 7.6875C12 6.22917 12 5.5 12 5.5L7.3125 8.3125V10.5625C7.3125 12.0208 7.3125 12.75 7.3125 12.75C7.35417 12.75 8.14583 12.2708 9.6875 11.3125L12 9.9375V7.6875Z",fill:"#1A1A1A"}))},B=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_19460_2804)"},a.createElement("path",{d:"M8.00195 11.6743C7.32812 11.6743 6.71289 11.5083 6.15625 11.1763C5.59961 10.8442 5.15527 10.4023 4.82324 9.85059C4.49121 9.29395 4.3252 8.67627 4.3252 7.99756C4.3252 7.31885 4.49121 6.70361 4.82324 6.15186C5.15527 5.59521 5.59961 5.15088 6.15625 4.81885C6.71289 4.48682 7.32812 4.3208 8.00195 4.3208C8.67578 4.3208 9.29102 4.48682 9.84766 4.81885C10.4043 5.15088 10.8486 5.59521 11.1807 6.15186C11.5127 6.70361 11.6787 7.31885 11.6787 7.99756C11.6787 8.67627 11.5127 9.29395 11.1807 9.85059C10.8486 10.4023 10.4043 10.8442 9.84766 11.1763C9.29102 11.5083 8.67578 11.6743 8.00195 11.6743ZM8.00195 10.4585C8.45605 10.4585 8.86865 10.3486 9.23975 10.1289C9.61572 9.90918 9.91357 9.61377 10.1333 9.24268C10.353 8.8667 10.4629 8.45166 10.4629 7.99756C10.4629 7.54346 10.353 7.13086 10.1333 6.75977C9.91357 6.38379 9.61572 6.08594 9.23975 5.86621C8.86865 5.64648 8.45605 5.53662 8.00195 5.53662C7.54785 5.53662 7.13525 5.64648 6.76416 5.86621C6.39307 6.08594 6.09521 6.38379 5.87061 6.75977C5.646 7.13086 5.53369 7.54346 5.53369 7.99756C5.53369 8.45166 5.646 8.8667 5.87061 9.24268C6.09521 9.61377 6.39307 9.90918 6.76416 10.1289C7.13525 10.3486 7.54785 10.4585 8.00195 10.4585ZM2.51611 12.0186L5.25537 9.28662L6.75684 10.7954L4.0249 13.52L2.51611 12.0186ZM2.4502 3.96924L3.96631 2.46045L6.75684 5.2583L5.25537 6.76709L2.4502 3.96924ZM13.5684 3.98389L10.7778 6.76709L9.26904 5.2583L12.0596 2.4751L13.5684 3.98389ZM13.5024 12.0112L11.9937 13.5127L9.26904 10.8027L10.7778 9.28662L13.5024 12.0112ZM8.00195 15.1167C7.01562 15.1167 6.09277 14.9312 5.2334 14.5601C4.37891 14.1938 3.62451 13.6836 2.97021 13.0293C2.31592 12.375 1.80322 11.6182 1.43213 10.7588C1.06592 9.89941 0.882812 8.979 0.882812 7.99756C0.882812 7.01611 1.06592 6.0957 1.43213 5.23633C1.80322 4.37207 2.31592 3.61523 2.97021 2.96582C3.62451 2.31152 4.37891 1.80127 5.2334 1.43506C6.09277 1.06396 7.01562 0.878418 8.00195 0.878418C8.9834 0.878418 9.90381 1.06396 10.7632 1.43506C11.6226 1.80127 12.377 2.31152 13.0264 2.96582C13.6807 3.61523 14.1909 4.37207 14.5571 5.23633C14.9282 6.0957 15.1138 7.01611 15.1138 7.99756C15.1138 8.979 14.9282 9.89941 14.5571 10.7588C14.1909 11.6182 13.6807 12.375 13.0264 13.0293C12.377 13.6836 11.6226 14.1938 10.7632 14.5601C9.90381 14.9312 8.9834 15.1167 8.00195 15.1167ZM8.00195 13.813C8.80273 13.813 9.55469 13.6616 10.2578 13.3589C10.9609 13.0562 11.5786 12.6387 12.1108 12.1064C12.6479 11.5742 13.0654 10.959 13.3633 10.2607C13.6611 9.55762 13.8101 8.80322 13.8101 7.99756C13.8101 7.19189 13.6611 6.43994 13.3633 5.7417C13.0654 5.03857 12.6479 4.4209 12.1108 3.88867C11.5786 3.35645 10.9609 2.93896 10.2578 2.63623C9.55469 2.3335 8.80273 2.18213 8.00195 2.18213C7.19629 2.18213 6.44189 2.3335 5.73877 2.63623C5.04053 2.93896 4.42285 3.35645 3.88574 3.88867C3.35352 4.4209 2.93604 5.03857 2.6333 5.7417C2.33545 6.43994 2.18652 7.19189 2.18652 7.99756C2.18652 8.80322 2.33545 9.55762 2.6333 10.2607C2.93604 10.959 3.35352 11.5742 3.88574 12.1064C4.42285 12.6387 5.04053 13.0562 5.73877 13.3589C6.44189 13.6616 7.19629 13.813 8.00195 13.813Z",fill:"#1A1A1A"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_19460_2804"},a.createElement("rect",{width:"16",height:"16",fill:"white"}))))},D=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M7.82227 9.35773C7.57227 9.36164 7.31445 9.33039 7.04883 9.26398C6.78711 9.19757 6.5 9.09406 6.1875 8.95343L0.679688 6.43976C0.464844 6.3382 0.296875 6.19757 0.175781 6.01789C0.0585938 5.8382 0 5.64289 0 5.43195C0 5.22101 0.0585938 5.0257 0.175781 4.84601C0.296875 4.66242 0.464844 4.52179 0.679688 4.42414L6.1875 1.90461C6.5 1.76789 6.78711 1.66632 7.04883 1.59992C7.31445 1.52961 7.57227 1.4964 7.82227 1.50031C8.06836 1.4964 8.32227 1.52961 8.58398 1.59992C8.84961 1.66632 9.13867 1.76789 9.45117 1.90461L14.9531 4.42414C15.1719 4.52179 15.3398 4.66242 15.457 4.84601C15.5781 5.0257 15.6387 5.22101 15.6387 5.43195C15.6387 5.64289 15.5781 5.8382 15.457 6.01789C15.3398 6.19757 15.1719 6.3382 14.9531 6.43976L9.45117 8.95343C9.13867 9.09406 8.84961 9.19757 8.58398 9.26398C8.32227 9.33039 8.06836 9.36164 7.82227 9.35773ZM7.82227 8.02765C7.98633 8.02765 8.1543 8.00421 8.32617 7.95734C8.49805 7.91046 8.69922 7.83625 8.92969 7.73468L13.6699 5.57843C13.7441 5.54328 13.7812 5.49445 13.7812 5.43195C13.7812 5.36554 13.7441 5.31671 13.6699 5.28546L8.92969 3.12921C8.69922 3.02375 8.49805 2.94953 8.32617 2.90656C8.1543 2.85968 7.98633 2.83625 7.82227 2.83625C7.6543 2.83625 7.48242 2.85968 7.30664 2.90656C7.13477 2.94953 6.93555 3.02375 6.70898 3.12921L1.96875 5.28546C1.89453 5.31671 1.85742 5.36554 1.85742 5.43195C1.85742 5.49445 1.89453 5.54328 1.96875 5.57843L6.70898 7.73468C6.93555 7.83625 7.13477 7.91046 7.30664 7.95734C7.48242 8.00421 7.6543 8.02765 7.82227 8.02765ZM2.20312 9.48078V6.6214H3.47461V9.48078C3.47461 9.75422 3.57812 10.0159 3.78516 10.2659C3.99609 10.5159 4.29297 10.7386 4.67578 10.9339C5.0625 11.1292 5.52148 11.2835 6.05273 11.3968C6.58398 11.5101 7.17383 11.5667 7.82227 11.5667C8.4668 11.5667 9.05469 11.5101 9.58594 11.3968C10.1172 11.2835 10.5742 11.1292 10.957 10.9339C11.3438 10.7386 11.6406 10.5159 11.8477 10.2659C12.0586 10.0159 12.1641 9.75422 12.1641 9.48078V6.6214H13.4355V9.48078C13.4355 9.95343 13.2969 10.3909 13.0195 10.7933C12.7422 11.1956 12.3496 11.5452 11.8418 11.8421C11.3379 12.139 10.7441 12.3694 10.0605 12.5335C9.37695 12.6976 8.63086 12.7796 7.82227 12.7796C7.00977 12.7796 6.26172 12.6976 5.57812 12.5335C4.89453 12.3694 4.29883 12.139 3.79102 11.8421C3.28711 11.5452 2.89648 11.1956 2.61914 10.7933C2.3418 10.3909 2.20312 9.95343 2.20312 9.48078ZM7.83398 6.22882C7.60742 6.22882 7.39258 6.19562 7.18945 6.12921C6.98633 6.0589 6.82031 5.9632 6.69141 5.84211C6.56641 5.72101 6.50391 5.58429 6.50391 5.43195C6.50391 5.2757 6.56836 5.13898 6.69727 5.02179C6.82617 4.9007 6.99023 4.8089 7.18945 4.7464C7.39258 4.68 7.60742 4.64679 7.83398 4.64679C8.06055 4.64679 8.27344 4.68 8.47266 4.7464C8.67188 4.8089 8.83594 4.9007 8.96484 5.02179C9.09375 5.13898 9.1582 5.2757 9.1582 5.43195C9.1582 5.58429 9.09375 5.72101 8.96484 5.84211C8.83984 5.9632 8.67578 6.0589 8.47266 6.12921C8.27344 6.19562 8.06055 6.22882 7.83398 6.22882ZM4.78711 7.41242L3.84961 6.92023L7.23633 5.18586L7.67578 5.93L4.78711 7.41242ZM3.84961 12.8089V6.93195L4.78711 7.41242V12.8148L3.84961 12.8089ZM3.30469 12.9671C3.30469 12.7132 3.38086 12.5062 3.5332 12.346C3.68945 12.1898 3.89648 12.1116 4.1543 12.1116H4.47656C4.73047 12.1116 4.93555 12.1898 5.0918 12.346C5.25195 12.5062 5.33203 12.7132 5.33203 12.9671V14.4964C5.33203 14.7542 5.25195 14.9593 5.0918 15.1116C4.93555 15.2679 4.73047 15.346 4.47656 15.346H4.1543C3.89648 15.346 3.68945 15.2679 3.5332 15.1116C3.38086 14.9593 3.30469 14.7542 3.30469 14.4964V12.9671Z",fill:"#1A1A1A"}))},V=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M3.69238 14.4966C2.49121 14.4966 1.89062 14.0889 1.89062 13.2734C1.89062 12.79 2.03223 12.2896 2.31543 11.772C2.60352 11.2544 3.01611 10.7734 3.55322 10.3291C4.09033 9.87988 4.73486 9.51855 5.48682 9.24512C6.23877 8.9668 7.07861 8.82764 8.00635 8.82764C8.9292 8.82764 9.76416 8.9668 10.5112 9.24512C11.2632 9.51855 11.9077 9.87988 12.4448 10.3291C12.9819 10.7734 13.3921 11.2544 13.6753 11.772C13.9634 12.2896 14.1074 12.79 14.1074 13.2734C14.1074 14.0889 13.5068 14.4966 12.3057 14.4966H3.69238ZM3.50928 13.2295H12.4888C12.5718 13.2295 12.6279 13.2148 12.6572 13.1855C12.6914 13.1611 12.7085 13.1196 12.7085 13.061C12.7085 12.7974 12.6035 12.4995 12.3936 12.1675C12.1836 11.8306 11.8784 11.5034 11.478 11.186C11.0776 10.8687 10.5845 10.6074 9.99854 10.4023C9.41748 10.1924 8.75342 10.0874 8.00635 10.0874C7.24951 10.0874 6.57812 10.1924 5.99219 10.4023C5.41113 10.6074 4.92041 10.8687 4.52002 11.186C4.11963 11.5034 3.81445 11.8306 3.60449 12.1675C3.39941 12.4995 3.29688 12.7974 3.29688 13.061C3.29688 13.1196 3.31152 13.1611 3.34082 13.1855C3.375 13.2148 3.43115 13.2295 3.50928 13.2295ZM8.00635 8.03662C7.44482 8.03662 6.93213 7.89014 6.46826 7.59717C6.00928 7.29932 5.64307 6.90137 5.36963 6.40332C5.09619 5.90527 4.95947 5.35107 4.95947 4.74072C4.95947 4.1499 5.09619 3.61035 5.36963 3.12207C5.64307 2.62891 6.00928 2.23584 6.46826 1.94287C6.93213 1.6499 7.44482 1.50342 8.00635 1.50342C8.56299 1.50342 9.07324 1.64746 9.53711 1.93555C10.001 2.22363 10.3696 2.61182 10.6431 3.1001C10.9165 3.58838 11.0532 4.13281 11.0532 4.7334C11.0532 5.33887 10.9141 5.89307 10.6357 6.396C10.3623 6.89404 9.99365 7.29199 9.52979 7.58984C9.0708 7.8877 8.56299 8.03662 8.00635 8.03662ZM8.00635 6.77686C8.31885 6.77686 8.60449 6.68896 8.86328 6.51318C9.12695 6.33252 9.33691 6.08838 9.49316 5.78076C9.6543 5.46826 9.73486 5.11914 9.73486 4.7334C9.73486 4.35742 9.6543 4.02295 9.49316 3.72998C9.33691 3.43213 9.12939 3.19775 8.87061 3.02686C8.61182 2.85596 8.32373 2.77051 8.00635 2.77051C7.68896 2.77051 7.39844 2.85596 7.13477 3.02686C6.87598 3.19775 6.66602 3.43213 6.50488 3.72998C6.34863 4.02783 6.27051 4.36475 6.27051 4.74072C6.27051 5.12646 6.34863 5.47314 6.50488 5.78076C6.66602 6.08838 6.87842 6.33252 7.14209 6.51318C7.40576 6.68896 7.69385 6.77686 8.00635 6.77686Z",fill:"#1A1A1A"}))},Z=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",null,a.createElement("path",{d:"M14.062 14.8519L1.14941 1.93927C1.04199 1.83185 0.988281 1.70001 0.988281 1.54376C0.988281 1.38263 1.04199 1.25079 1.14941 1.14825C1.25684 1.03595 1.38867 0.982239 1.54492 0.987122C1.70605 0.987122 1.84033 1.04083 1.94775 1.14825L14.853 14.0535C14.9653 14.1658 15.019 14.2977 15.0142 14.449C15.0142 14.6053 14.9604 14.7371 14.853 14.8445C14.7505 14.9568 14.6211 15.013 14.4648 15.013C14.3086 15.013 14.1743 14.9593 14.062 14.8519ZM7.75586 2.89142C7.4043 2.89142 7.08447 2.99884 6.79639 3.21368C6.5083 3.42365 6.29834 3.70685 6.1665 4.06329L5.20703 3.0965C5.48047 2.65704 5.83936 2.30304 6.28369 2.03448C6.73291 1.76105 7.22363 1.62433 7.75586 1.62433C8.31738 1.62433 8.82764 1.76837 9.28662 2.05646C9.75049 2.34454 10.1191 2.73273 10.3926 3.22101C10.666 3.70929 10.8027 4.25372 10.8027 4.85431C10.8027 5.39142 10.6929 5.88947 10.4731 6.34845C10.2534 6.80743 9.95801 7.18585 9.58691 7.4837L8.67871 6.5755C8.92285 6.39972 9.11816 6.1629 9.26465 5.86505C9.41113 5.56232 9.48438 5.2254 9.48438 4.85431C9.48438 4.47833 9.40625 4.14386 9.25 3.85089C9.09375 3.55304 8.88379 3.31866 8.62012 3.14777C8.36133 2.97687 8.07324 2.89142 7.75586 2.89142ZM11.2495 13.3504L12.4946 14.5955C12.4263 14.6004 12.3555 14.6053 12.2822 14.6102C12.209 14.6151 12.1333 14.6175 12.0552 14.6175H3.44922C2.24316 14.6175 1.64014 14.2098 1.64014 13.3943C1.64014 12.95 1.76221 12.4886 2.00635 12.0101C2.25537 11.5316 2.60693 11.0799 3.06104 10.6551C3.52002 10.2303 4.07178 9.86896 4.71631 9.57111C5.36572 9.27325 6.09326 9.08282 6.89893 8.99982L8.12207 10.223C8.05859 10.2181 7.99512 10.2156 7.93164 10.2156C7.87305 10.2108 7.81445 10.2083 7.75586 10.2083C6.99902 10.2083 6.32764 10.3133 5.7417 10.5233C5.16064 10.7283 4.66992 10.9896 4.26953 11.3069C3.86914 11.6243 3.56396 11.9515 3.354 12.2884C3.14893 12.6204 3.04639 12.9183 3.04639 13.1819C3.04639 13.2405 3.06104 13.282 3.09033 13.3065C3.12451 13.3358 3.18066 13.3504 3.25879 13.3504H11.2495Z",fill:"#1A1A1A"})))},F=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8 1C9.3125 1.01823 10.4883 1.33724 11.5273 1.95703C12.5846 2.57682 13.4232 3.41536 14.043 4.47266C14.6628 5.51172 14.9818 6.6875 15 8C14.9818 9.3125 14.6628 10.4883 14.043 11.5273C13.4232 12.5846 12.5846 13.4232 11.5273 14.043C10.4883 14.6628 9.3125 14.9818 8 15C6.6875 14.9818 5.51172 14.6628 4.47266 14.043C3.41536 13.4232 2.57682 12.5846 1.95703 11.5273C1.33724 10.4883 1.01823 9.3125 1 8C1.01823 6.6875 1.33724 5.51172 1.95703 4.47266C2.57682 3.41536 3.41536 2.57682 4.47266 1.95703C5.51172 1.33724 6.6875 1.01823 8 1ZM8 13.6875C9.60417 13.651 10.944 13.0951 12.0195 12.0195C13.0951 10.944 13.651 9.60417 13.6875 8C13.651 6.39583 13.0951 5.05599 12.0195 3.98047C10.944 2.90495 9.60417 2.34896 8 2.3125C6.39583 2.34896 5.05599 2.90495 3.98047 3.98047C2.90495 5.05599 2.34896 6.39583 2.3125 8C2.34896 9.60417 2.90495 10.944 3.98047 12.0195C5.05599 13.0951 6.39583 13.651 8 13.6875ZM8 10.1875C8.23698 10.1875 8.4375 10.2695 8.60156 10.4336C8.78385 10.5977 8.875 10.8073 8.875 11.0625C8.875 11.3177 8.78385 11.5273 8.60156 11.6914C8.4375 11.8555 8.23698 11.9375 8 11.9375C7.45312 11.901 7.16146 11.6094 7.125 11.0625C7.125 10.8073 7.20703 10.5977 7.37109 10.4336C7.53516 10.2695 7.74479 10.1875 8 10.1875ZM8.90234 4.5C9.46745 4.51823 9.92318 4.70052 10.2695 5.04688C10.6341 5.41146 10.8164 5.86719 10.8164 6.41406C10.7982 7.10677 10.4883 7.65365 9.88672 8.05469L8.65625 8.82031V8.875C8.61979 9.27604 8.40104 9.49479 8 9.53125C7.59896 9.49479 7.38021 9.27604 7.34375 8.875V8.4375C7.34375 8.20052 7.45312 8.00911 7.67188 7.86328L9.23047 6.90625C9.43099 6.79688 9.53125 6.63281 9.53125 6.41406C9.49479 6.04948 9.27604 5.84896 8.875 5.8125H7.48047C7.13411 5.84896 6.94271 6.04948 6.90625 6.41406C6.86979 6.8151 6.65104 7.03385 6.25 7.07031C5.84896 7.03385 5.63021 6.8151 5.59375 6.41406C5.61198 5.86719 5.79427 5.41146 6.14062 5.04688C6.50521 4.70052 6.96094 4.51823 7.50781 4.5H8.90234Z",fill:"#1A1A1A"}))},R=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",null,a.createElement("path",{d:"M3.0752 15.0273C2.17285 15.0273 1.47786 14.7858 0.990234 14.3027C0.507161 13.8197 0.265625 13.127 0.265625 12.2246L0.265625 3.78223C0.265625 2.87988 0.507161 2.18717 0.990234 1.7041C1.47786 1.21647 2.17285 0.972656 3.0752 0.972656L8.64648 0.972656C9.54427 0.972656 10.2347 1.21647 10.7178 1.7041C11.2054 2.18717 11.4492 2.87988 11.4492 3.78223V6.14062L10.082 6.14062V3.83008C10.082 3.35156 9.95215 2.9847 9.69238 2.72949C9.43717 2.47428 9.07259 2.34668 8.59863 2.34668L3.12305 2.34668C2.64453 2.34668 2.27767 2.47428 2.02246 2.72949C1.76725 2.9847 1.63965 3.35156 1.63965 3.83008L1.63965 12.1768C1.63965 12.6553 1.76725 13.0221 2.02246 13.2773C2.27767 13.5326 2.64453 13.6602 3.12305 13.6602L8.59863 13.6602C9.07259 13.6602 9.43717 13.5326 9.69238 13.2773C9.95215 13.0221 10.082 12.6553 10.082 12.1768V9.85937H11.4492V12.2246C11.4492 13.127 11.2054 13.8197 10.7178 14.3027C10.2347 14.7858 9.54427 15.0273 8.64648 15.0273L3.0752 15.0273ZM6.04883 8C6.04883 7.82227 6.11035 7.67187 6.2334 7.54883C6.361 7.42578 6.50684 7.36426 6.6709 7.36426L13.1309 7.36426L15.0381 7.48047C15.1794 7.49414 15.3001 7.54883 15.4004 7.64453C15.5052 7.74023 15.5576 7.85872 15.5576 8C15.5576 8.14128 15.5052 8.25977 15.4004 8.35547C15.3001 8.45117 15.1794 8.50358 15.0381 8.5127L13.1309 8.63574L6.6709 8.63574C6.50684 8.63574 6.361 8.57422 6.2334 8.45117C6.11035 8.32357 6.04883 8.17318 6.04883 8ZM12.5225 5.77148C12.5225 5.61654 12.5726 5.48437 12.6729 5.375C12.7777 5.26562 12.9076 5.21094 13.0625 5.21094C13.2129 5.21094 13.3473 5.27018 13.4658 5.38867L15.5098 7.51465C15.5918 7.59212 15.6488 7.67187 15.6807 7.75391C15.7171 7.83138 15.7354 7.91341 15.7354 8C15.7354 8.08203 15.7171 8.16406 15.6807 8.24609C15.6488 8.32357 15.5918 8.40332 15.5098 8.48535L13.4658 10.6113C13.3473 10.7298 13.2129 10.7891 13.0625 10.7891C12.9076 10.7891 12.7777 10.7344 12.6729 10.625C12.5726 10.5111 12.5225 10.3789 12.5225 10.2285C12.5225 10.0553 12.5863 9.91406 12.7139 9.80469L13.6641 8.90918L14.8193 8L13.6641 7.08398L12.7139 6.19531C12.5863 6.08138 12.5225 5.9401 12.5225 5.77148Z",fill:"#1A1A1A"})))},U=function(e){var t=e.style;return a.createElement("svg",{style:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8 10.4731C7.79492 10.4731 7.60775 10.3885 7.43848 10.2192L4.00098 6.70361C3.93587 6.63525 3.88542 6.56201 3.84961 6.48389C3.81706 6.40251 3.80078 6.31624 3.80078 6.2251C3.80078 6.09489 3.83171 5.9777 3.89355 5.87354C3.9554 5.76611 4.03841 5.68148 4.14258 5.61963C4.24674 5.55778 4.36393 5.52686 4.49414 5.52686C4.68294 5.52686 4.85059 5.6001 4.99707 5.74658L8.20508 9.04248H7.80957L11.0029 5.74658C11.1494 5.6001 11.3187 5.52686 11.5107 5.52686C11.6377 5.52686 11.7533 5.55778 11.8574 5.61963C11.9616 5.68148 12.0446 5.76611 12.1064 5.87354C12.1683 5.9777 12.1992 6.09489 12.1992 6.2251C12.1992 6.41064 12.1341 6.57015 12.0039 6.70361L8.56152 10.2192C8.47689 10.3071 8.389 10.3722 8.29785 10.4146C8.20671 10.4536 8.10742 10.4731 8 10.4731Z",fill:"#1A1A1A"}))};U.propTypes={style:l().object};var G=U,W=function(){return a.createElement(G,{style:{transform:"scale(1, -1)"}})},q=function(e){var t=e.style;return a.createElement("svg",{style:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M10.4736 7.99756C10.4736 8.10498 10.4541 8.20426 10.415 8.29541C10.376 8.3833 10.3125 8.46956 10.2246 8.5542L6.7041 12.0015C6.57715 12.1317 6.41764 12.1968 6.22559 12.1968C6.09863 12.1968 5.98145 12.1659 5.87402 12.104C5.76986 12.0422 5.68522 11.9591 5.62012 11.855C5.55827 11.7508 5.52734 11.6353 5.52734 11.5083C5.52734 11.3162 5.60221 11.147 5.75195 11.0005L8.84277 7.99756L5.75195 4.98975C5.60221 4.84652 5.52734 4.6805 5.52734 4.4917C5.52734 4.36149 5.55827 4.2443 5.62012 4.14014C5.68522 4.03597 5.76986 3.95459 5.87402 3.896C5.98145 3.83415 6.09863 3.80322 6.22559 3.80322C6.41764 3.80322 6.57715 3.86833 6.7041 3.99854L10.2246 7.44092C10.3125 7.52555 10.376 7.61344 10.415 7.70459C10.4541 7.79248 10.4736 7.89014 10.4736 7.99756Z",fill:"#1A1A1A"}))};q.propTypes={style:l().object};var $=q,K=function(){return a.createElement($,{style:{transform:"scale(-1,1)"}})},X=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.5774 3.41016C11.7149 3.27266 11.8837 3.206 12.0837 3.21016C12.2837 3.21016 12.4524 3.27891 12.5899 3.41641C12.7316 3.55391 12.8004 3.72475 12.7962 3.92891C12.7962 4.12891 12.7295 4.29558 12.5962 4.42891L4.4337 12.5914C4.3462 12.6789 4.23995 12.7372 4.11495 12.7664C3.99411 12.7997 3.8712 12.7997 3.7462 12.7664C3.6212 12.7372 3.51286 12.6768 3.4212 12.5852C3.32536 12.4977 3.26078 12.3914 3.22745 12.2664C3.19828 12.1414 3.20036 12.0164 3.2337 11.8914C3.26703 11.7664 3.32745 11.6602 3.41495 11.5727L11.5774 3.41016ZM12.5962 11.5727C12.7295 11.706 12.7962 11.8727 12.7962 12.0727C12.7962 12.2727 12.7274 12.4435 12.5899 12.5852C12.4524 12.7268 12.2816 12.7956 12.0774 12.7914C11.8774 12.7914 11.7108 12.7247 11.5774 12.5914L3.41495 4.42891C3.32745 4.34141 3.26703 4.23725 3.2337 4.11641C3.20453 3.99141 3.20453 3.86641 3.2337 3.74141C3.26703 3.61641 3.32953 3.50808 3.4212 3.41641C3.51286 3.32058 3.6212 3.25808 3.7462 3.22891C3.8712 3.19975 3.99411 3.20183 4.11495 3.23516C4.23578 3.26433 4.34203 3.32266 4.4337 3.41016L12.5962 11.5727Z",fill:"#1A1A1A"}))},J=function(){return a.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none"},a.createElement("g",{clipPath:"url(#clip0_18694_3661)"},a.createElement("g",{clipPath:"url(#paint0_angular_18694_3661_clip_path)"},a.createElement("g",{transform:"matrix(0.0015 0.007 -0.007 0.0015 8 8)"},a.createElement("foreignObject",{x:-1409.76,y:-1409.76,width:2819.51,height:2819.51},a.createElement("div",{style:{background:"conic-gradient(from 90deg, rgba(26, 26, 26, 0) 0deg, rgba(26, 26, 26, 1) 180deg, rgba(26, 26, 26, 1) 360deg)",height:"100%",width:"100%",opacity:1}})))),a.createElement("path",{d:"M8 15.5C8.55228 15.5 9 15.0523 9 14.5C9 13.9477 8.55228 13.5 8 13.5V14.5V15.5ZM13.5 8C13.5 8.55228 13.9477 9 14.5 9C15.0523 9 15.5 8.55228 15.5 8H14.5H13.5ZM8 14.5V13.5C4.96428 13.5 2.5 11.0357 2.5 8H1.5H0.5C0.5 12.1403 3.85972 15.5 8 15.5V14.5ZM1.5 8H2.5C2.5 4.96428 4.96428 2.5 8 2.5V1.5V0.5C3.85972 0.5 0.5 3.85972 0.5 8H1.5ZM8 1.5V2.5C11.0357 2.5 13.5 4.96428 13.5 8H14.5H15.5C15.5 3.85972 12.1403 0.5 8 0.5V1.5Z"})),a.createElement("defs",null,a.createElement("clipPath",{id:"paint0_angular_18694_3661_clip_path"},a.createElement("path",{d:"M8 15.5C8.55228 15.5 9 15.0523 9 14.5C9 13.9477 8.55228 13.5 8 13.5V14.5V15.5ZM13.5 8C13.5 8.55228 13.9477 9 14.5 9C15.0523 9 15.5 8.55228 15.5 8H14.5H13.5ZM8 14.5V13.5C4.96428 13.5 2.5 11.0357 2.5 8H1.5H0.5C0.5 12.1403 3.85972 15.5 8 15.5V14.5ZM1.5 8H2.5C2.5 4.96428 4.96428 2.5 8 2.5V1.5V0.5C3.85972 0.5 0.5 3.85972 0.5 8H1.5ZM8 1.5V2.5C11.0357 2.5 13.5 4.96428 13.5 8H14.5H15.5C15.5 3.85972 12.1403 0.5 8 0.5V1.5Z"})),a.createElement("clipPath",{id:"clip0_18694_3661"},a.createElement("rect",{width:16,height:16,fill:"white"}))))},Y=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#paint0_angular_12683_1903_clip_path)","data-figma-skip-parse":"true"},a.createElement("g",{transform:"matrix(0.0015 0.007 -0.007 0.0015 8 8)"},a.createElement("foreignObject",{x:"-1409.76",y:"-1409.76",width:"2819.51",height:"2819.51"},a.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",style:{background:"conic-gradient(from 90deg,rgba(255, 255, 255, 0) 0deg,rgba(255, 255, 255, 1) 180deg,rgba(255, 255, 255, 1) 360deg)",height:"100%",width:"100%",opacity:1}})))),a.createElement("path",{d:"M8 15.5C8.55228 15.5 9 15.0523 9 14.5C9 13.9477 8.55228 13.5 8 13.5V14.5V15.5ZM13.5 8C13.5 8.55228 13.9477 9 14.5 9C15.0523 9 15.5 8.55228 15.5 8H14.5H13.5ZM8 14.5V13.5C4.96428 13.5 2.5 11.0357 2.5 8H1.5H0.5C0.5 12.1403 3.85972 15.5 8 15.5V14.5ZM1.5 8H2.5C2.5 4.96428 4.96428 2.5 8 2.5V1.5V0.5C3.85972 0.5 0.5 3.85972 0.5 8H1.5ZM8 1.5V2.5C11.0357 2.5 13.5 4.96428 13.5 8H14.5H15.5C15.5 3.85972 12.1403 0.5 8 0.5V1.5Z","data-figma-gradient-fill":'{"type":"GRADIENT_ANGULAR","stops":[{"color":{"r":1.0,"g":1.0,"b":1.0,"a":0.0},"position":0.0},{"color":{"r":1.0,"g":1.0,"b":1.0,"a":1.0},"position":0.50},{"color":{"r":1.0,"g":1.0,"b":1.0,"a":1.0},"position":1.0}],"stopsVar":[{"color":{"r":1.0,"g":1.0,"b":1.0,"a":0.0},"position":0.0},{"color":{"r":1.0,"g":1.0,"b":1.0,"a":1.0},"position":0.50},{"color":{"r":1.0,"g":1.0,"b":1.0,"a":1.0},"position":1.0}],"transform":{"m00":3.0,"m01":-14.0,"m02":13.500000953674316,"m10":14.0,"m11":3.0,"m12":-0.50000011920928955},"opacity":1.0,"blendMode":"NORMAL","visible":true}'}),a.createElement("defs",null,a.createElement("clipPath",{id:"paint0_angular_12683_1903_clip_path"},a.createElement("path",{d:"M8 15.5C8.55228 15.5 9 15.0523 9 14.5C9 13.9477 8.55228 13.5 8 13.5V14.5V15.5ZM13.5 8C13.5 8.55228 13.9477 9 14.5 9C15.0523 9 15.5 8.55228 15.5 8H14.5H13.5ZM8 14.5V13.5C4.96428 13.5 2.5 11.0357 2.5 8H1.5H0.5C0.5 12.1403 3.85972 15.5 8 15.5V14.5ZM1.5 8H2.5C2.5 4.96428 4.96428 2.5 8 2.5V1.5V0.5C3.85972 0.5 0.5 3.85972 0.5 8H1.5ZM8 1.5V2.5C11.0357 2.5 13.5 4.96428 13.5 8H14.5H15.5C15.5 3.85972 12.1403 0.5 8 0.5V1.5Z"}))))},Q=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"14",viewBox:"0 0 15 14",fill:"none"},a.createElement("path",{d:"M0.496495 5.52281H3.66739C3.91471 5.52281 4.06871 5.60448 4.12937 5.7678C4.19004 5.92646 4.15504 6.09679 4.02437 6.27879L2.46343 8.43471C2.36076 8.58404 2.23477 8.6587 2.08544 8.6587C1.93611 8.6587 1.81012 8.58404 1.70745 8.43471L0.146507 6.28579C0.00651141 6.09913 -0.0331539 5.92646 0.0275107 5.7678C0.0881753 5.60448 0.244503 5.52281 0.496495 5.52281ZM15 6.88077C15 7.83273 14.8203 8.72404 14.461 9.55467C14.1064 10.3806 13.6117 11.1086 12.9771 11.7386C12.3471 12.3732 11.6168 12.8679 10.7861 13.2225C9.95551 13.5819 9.06654 13.7615 8.11924 13.7615C7.40526 13.7615 6.71928 13.6542 6.06131 13.4395C5.40799 13.2295 4.80135 12.9286 4.24137 12.5366C3.68605 12.1493 3.19374 11.6873 2.76442 11.1506C2.60576 10.9686 2.53576 10.7726 2.55442 10.5626C2.57776 10.3526 2.66875 10.1893 2.82742 10.0727C3.00008 9.94199 3.18207 9.89766 3.3734 9.93966C3.56472 9.97699 3.73272 10.0773 3.87738 10.2407C4.2087 10.6606 4.59369 11.027 5.03234 11.3396C5.47099 11.6476 5.94931 11.8856 6.46729 12.0536C6.98994 12.2262 7.54059 12.3126 8.11924 12.3126C8.87054 12.3126 9.57285 12.1703 10.2262 11.8856C10.8841 11.6056 11.4605 11.2183 11.9551 10.7236C12.4544 10.2243 12.8441 9.648 13.1241 8.99469C13.4087 8.33672 13.551 7.63207 13.551 6.88077C13.551 6.12946 13.4087 5.42715 13.1241 4.77384C12.8441 4.11586 12.4544 3.53955 11.9551 3.0449C11.4605 2.54558 10.8841 2.15593 10.2262 1.87594C9.57285 1.59128 8.87054 1.44895 8.11924 1.44895C7.36793 1.44895 6.66328 1.59128 6.00531 1.87594C5.352 2.15593 4.77568 2.54558 4.27637 3.0449C3.77705 3.53955 3.3874 4.11586 3.10741 4.77384C2.82742 5.42715 2.68742 6.13179 2.68742 6.88777C2.68742 7.08376 2.61509 7.25175 2.47043 7.39175C2.32577 7.53174 2.15544 7.60174 1.95944 7.60174C1.76345 7.60174 1.59546 7.53408 1.45546 7.39875C1.31547 7.25875 1.24314 7.08843 1.23847 6.88777C1.23847 5.9358 1.4158 5.04449 1.77045 4.21386C2.12977 3.37855 2.62442 2.64591 3.2544 2.01593C3.88905 1.38595 4.61935 0.893636 5.44533 0.538982C6.27596 0.179661 7.16727 0 8.11924 0C9.06654 0 9.95551 0.179661 10.7861 0.538982C11.6168 0.893636 12.3471 1.38595 12.9771 2.01593C13.6117 2.64591 14.1064 3.37622 14.461 4.20686C14.8203 5.0375 15 5.9288 15 6.88077Z",fill:"#D70015"}))},ee=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},a.createElement("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},te=function(){return a.createElement("svg",{width:"43",height:"43",viewBox:"0 0 43 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"3.5",y:"0.5",width:"39",height:"39",rx:"1.5",stroke:"#1A1A1A"}),a.createElement("path",{d:"M36.5 6.5V41.5H1.5V6.5H36.5Z",fill:"#F8F8F8"}),a.createElement("path",{d:"M36.5 6.5V41.5H1.5V6.5H36.5Z",stroke:"#F8F8F8","stroke-width":"3"}),a.createElement("rect",{x:"3.66667",y:"8.66667",width:"30.6667",height:"30.6667",stroke:"#1A1A1A","stroke-width":"1.33333"}),a.createElement("path",{d:"M36.0566 6.66797C36.0566 6.94411 36.2805 7.16797 36.5566 7.16797L41.0566 7.16797C41.3328 7.16797 41.5566 6.94411 41.5566 6.66797C41.5566 6.39183 41.3328 6.16797 41.0566 6.16797L37.0566 6.16797L37.0566 2.16797C37.0566 1.89183 36.8328 1.66797 36.5566 1.66797C36.2805 1.66797 36.0566 1.89183 36.0566 2.16797L36.0566 6.66797ZM40.5566 2.66797L40.2031 2.31442L36.2031 6.31442L36.5566 6.66797L36.9102 7.02152L40.9102 3.02152L40.5566 2.66797Z",fill:"url(#paint0_linear_88_20090)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_88_20090",x1:"36.2031",y1:"6.31442",x2:"40.2031",y2:"2.31442",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{"stop-color":"#1A1A1A"}),a.createElement("stop",{offset:"0.850962","stop-color":"#F2F2F2"}))))},ne=function(){return a.createElement("svg",{width:"43",height:"43",viewBox:"0 0 43 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"3.5",y:"0.5",width:"39",height:"39",rx:"1.5",stroke:"#1A1A1A"}),a.createElement("path",{d:"M33.833 9.16666V41.4997H1.5V9.16666H33.833Z",fill:"#F8F8F8"}),a.createElement("path",{d:"M33.833 9.16666V41.4997H1.5V9.16666H33.833Z",stroke:"#F8F8F8","stroke-width":"3"}),a.createElement("rect",{x:"3.66667",y:"11.3333",width:"28",height:"28",stroke:"#1A1A1A","stroke-width":"1.33333"}),a.createElement("path",{d:"M33.832 8.66797C33.832 8.94411 34.0559 9.16797 34.332 9.16797L38.832 9.16797C39.1082 9.16797 39.332 8.94411 39.332 8.66797C39.332 8.39183 39.1082 8.16797 38.832 8.16797L34.832 8.16797L34.832 4.16797C34.832 3.89183 34.6082 3.66797 34.332 3.66797C34.0559 3.66797 33.832 3.89183 33.832 4.16797L33.832 8.66797ZM40.332 2.66797L39.9785 2.31442L33.9785 8.31442L34.332 8.66797L34.6856 9.02152L40.6856 3.02152L40.332 2.66797Z",fill:"url(#paint0_linear_88_20099)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_88_20099",x1:"33.9785",y1:"8.31442",x2:"39.9785",y2:"2.31442",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{"stop-color":"#1A1A1A"}),a.createElement("stop",{offset:"0.850962","stop-color":"#F2F2F2"}))))},re=function(){return a.createElement("svg",{width:"43",height:"43",viewBox:"0 0 43 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"3.1665",y:"0.5",width:"39",height:"39",rx:"1.5",stroke:"#1A1A1A"}),a.createElement("path",{d:"M17.3335 25.3336V41.3336H1.3335V25.3336H17.3335Z",stroke:"#F8F8F8","stroke-width":"2.66667"}),a.createElement("rect",{width:"13.3333",height:"13.3333",transform:"translate(2.6665 26.6666)",fill:"#571EE7"}),a.createElement("path",{d:"M17.9445 24.0013C17.9445 24.2774 18.1684 24.5013 18.4445 24.5013L22.9445 24.5013C23.2206 24.5013 23.4445 24.2774 23.4445 24.0013C23.4445 23.7252 23.2206 23.5013 22.9445 23.5013L18.9445 23.5013L18.9445 19.5013C18.9445 19.2252 18.7206 19.0013 18.4445 19.0013C18.1684 19.0013 17.9445 19.2252 17.9445 19.5013L17.9445 24.0013ZM39.7778 2.66797L39.4243 2.31442L18.0909 23.6477L18.4445 24.0013L18.7981 24.3549L40.1314 3.02152L39.7778 2.66797Z",fill:"url(#paint0_linear_88_20110)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_88_20110",x1:"18.0909",y1:"23.6477",x2:"39.4243",y2:"2.31442",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{"stop-color":"#571EE7"}),a.createElement("stop",{offset:"0.850962","stop-color":"#F2F2F2"}))))},oe=function(){return a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",fill:"white"}),a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",stroke:"#F2F2F2"}),a.createElement("g",{clipPath:"url(#clip0_15521_7401)"},a.createElement("g",{clipPath:"url(#clip1_15521_7401)"},a.createElement("path",{d:"M10.2502 11.1824C10.3027 11.2145 10.361 11.2291 10.4252 11.2291C10.4894 11.2291 10.5448 11.2145 10.5973 11.1824C10.6498 11.1503 10.6906 11.1095 10.7227 11.057C10.7548 11.0045 10.7694 10.9462 10.7694 10.882C10.7694 10.8178 10.7548 10.7624 10.7227 10.7099C10.6906 10.6574 10.6498 10.6137 10.5973 10.5816C10.5448 10.5495 10.4865 10.5349 10.4252 10.5349C10.364 10.5349 10.2998 10.5495 10.2502 10.5816C10.1977 10.6137 10.1569 10.6574 10.1248 10.7099C10.0927 10.7624 10.0781 10.8207 10.0781 10.882C10.0781 10.9462 10.0927 11.0045 10.1248 11.057C10.1569 11.1095 10.1977 11.1503 10.2502 11.1824Z",fill:"black"}),a.createElement("path",{d:"M12.4788 9.5198C12.3008 9.34188 12.0471 9.25146 11.7175 9.25146H10.2796C10.1163 9.25146 9.9675 9.2748 9.83917 9.32146C9.71083 9.36813 9.60292 9.43521 9.51833 9.5198C9.3375 9.69771 9.25 9.95146 9.25 10.284V11.7219C9.25 12.0544 9.34042 12.3081 9.51833 12.4831C9.60292 12.5706 9.71083 12.6348 9.83917 12.6815C9.9675 12.7281 10.1133 12.7515 10.2796 12.7515H11.7204C11.8867 12.7515 12.0325 12.7281 12.1638 12.6815C12.2921 12.6348 12.3971 12.5706 12.4846 12.4831C12.6654 12.3081 12.7529 12.0544 12.7529 11.7219V10.281C12.7529 9.94855 12.6625 9.6948 12.4846 9.51688L12.4788 9.5198ZM9.59125 10.2869C9.59125 10.0565 9.64958 9.88146 9.76625 9.76771C9.88292 9.64813 10.0579 9.5898 10.2854 9.5898H11.7117C11.8283 9.5898 11.9275 9.60438 12.015 9.63355C12.1025 9.66271 12.1725 9.70646 12.2308 9.7648C12.3504 9.88146 12.4088 10.0535 12.4088 10.284V11.7102C12.4088 11.754 12.4058 11.7948 12.4 11.8356L11.7058 11.1852C11.6738 11.156 11.6388 11.1327 11.6037 11.1181C11.5658 11.1035 11.5308 11.0948 11.4929 11.0948C11.4521 11.0948 11.4142 11.1006 11.3792 11.1152C11.3442 11.1298 11.3092 11.1502 11.2771 11.1794L10.6267 11.7627L10.3613 11.5206C10.3321 11.4944 10.3 11.474 10.265 11.4594C10.2329 11.4448 10.1979 11.439 10.1658 11.439C10.1338 11.439 10.1017 11.4448 10.0696 11.4594C10.0404 11.474 10.0113 11.4915 9.97917 11.5177L9.60292 11.856C9.59708 11.8094 9.59417 11.7598 9.59417 11.7044V10.2869H9.59125Z",fill:"black"}))),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_15521_7401"},a.createElement("rect",{width:"4",height:"4",fill:"white",transform:"translate(9 9)"})),a.createElement("clipPath",{id:"clip1_15521_7401"},a.createElement("rect",{width:"3.5",height:"3.49708",fill:"white",transform:"translate(9.25 9.25146)"}))))},ae=function(){return a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",fill:"white"}),a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",stroke:"#F2F2F2"}),a.createElement("g",{clipPath:"url(#clip0_7509_17643)"},a.createElement("g",{clipPath:"url(#clip1_7509_17643)"},a.createElement("path",{d:"M9.12552 11.4557C9.25677 11.5359 9.4026 11.5723 9.56302 11.5723C9.72344 11.5723 9.86198 11.5359 9.99323 11.4557C10.1245 11.3755 10.2266 11.2734 10.3068 11.1421C10.387 11.0109 10.4234 10.865 10.4234 10.7046C10.4234 10.5442 10.387 10.4057 10.3068 10.2744C10.2266 10.1432 10.1245 10.0338 9.99323 9.95358C9.86198 9.87337 9.71615 9.83691 9.56302 9.83691C9.4099 9.83691 9.24948 9.87337 9.12552 9.95358C8.99427 10.0338 8.89219 10.1432 8.81198 10.2744C8.73177 10.4057 8.69531 10.5515 8.69531 10.7046C8.69531 10.865 8.73177 11.0109 8.81198 11.1421C8.89219 11.2734 8.99427 11.3755 9.12552 11.4557Z",fill:"black"}),a.createElement("path",{d:"M14.6969 7.2995C14.2521 6.8547 13.6177 6.62866 12.7938 6.62866H9.19896C8.79063 6.62866 8.41875 6.687 8.09792 6.80366C7.77708 6.92033 7.50729 7.08804 7.29583 7.2995C6.84375 7.74429 6.625 8.37866 6.625 9.20991V12.8047C6.625 13.636 6.85104 14.2703 7.29583 14.7078C7.50729 14.9266 7.77708 15.087 8.09792 15.2037C8.41875 15.3203 8.78333 15.3787 9.19896 15.3787H12.801C13.2167 15.3787 13.5813 15.3203 13.9094 15.2037C14.2302 15.087 14.4927 14.9266 14.7115 14.7078C15.1635 14.2703 15.3823 13.636 15.3823 12.8047V9.20262C15.3823 8.37137 15.1562 7.737 14.7115 7.2922L14.6969 7.2995ZM7.47812 9.2172C7.47812 8.64116 7.62396 8.20366 7.91562 7.91929C8.20729 7.62033 8.64479 7.4745 9.21354 7.4745H12.7792C13.0708 7.4745 13.3187 7.51095 13.5375 7.58387C13.7562 7.65679 13.9313 7.76616 14.0771 7.912C14.376 8.20366 14.5219 8.63387 14.5219 9.20991V12.7755C14.5219 12.8849 14.5146 12.987 14.5 13.0891L12.7646 11.463C12.6844 11.3901 12.5969 11.3318 12.5094 11.2953C12.4146 11.2589 12.3271 11.237 12.2323 11.237C12.1302 11.237 12.0354 11.2516 11.9479 11.288C11.8604 11.3245 11.7729 11.3755 11.6927 11.4485L10.0667 12.9068L9.40313 12.3016C9.33021 12.236 9.25 12.1849 9.1625 12.1485C9.08229 12.112 8.99479 12.0974 8.91458 12.0974C8.83438 12.0974 8.75417 12.112 8.67396 12.1485C8.60104 12.1849 8.52813 12.2287 8.44792 12.2943L7.50729 13.1401C7.49271 13.0235 7.48542 12.8995 7.48542 12.761V9.2172H7.47812Z",fill:"black"}))),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_7509_17643"},a.createElement("rect",{width:"10",height:"10",fill:"white",transform:"translate(6 6)"})),a.createElement("clipPath",{id:"clip1_7509_17643"},a.createElement("rect",{width:"8.75",height:"8.74271",fill:"white",transform:"translate(6.625 6.62866)"}))))},ie=["className"];var le=function(e){e.className,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}}(e,ie);return a.createElement("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M6.125 6.125C6.61719 6.14323 7.02734 6.31641 7.35547 6.64453C7.68359 6.97266 7.85677 7.38281 7.875 7.875C7.85677 8.36719 7.68359 8.77734 7.35547 9.10547C7.02734 9.43359 6.61719 9.60677 6.125 9.625C5.63281 9.60677 5.22266 9.43359 4.89453 9.10547C4.56641 8.77734 4.39323 8.36719 4.375 7.875C4.39323 7.38281 4.56641 6.97266 4.89453 6.64453C5.22266 6.31641 5.63281 6.14323 6.125 6.125ZM11.8398 2.65234C12.1133 2.92578 12.25 3.24479 12.25 3.60938V10.5C12.2318 10.9922 12.0586 11.4023 11.7305 11.7305C11.4023 12.0586 10.9922 12.2318 10.5 12.25H1.75C1.25781 12.2318 0.847656 12.0586 0.519531 11.7305C0.191406 11.4023 0.0182292 10.9922 0 10.5V1.75C0.0182292 1.25781 0.191406 0.847656 0.519531 0.519531C0.847656 0.191406 1.25781 0.0182292 1.75 0H8.64062C9.00521 0 9.30599 0.11849 9.54297 0.355469L11.8398 2.65234ZM3.5 1.3125V3.5H7.4375V1.3125H3.5ZM10.9375 10.5V3.66406C10.9375 3.6276 10.9193 3.59115 10.8828 3.55469L8.75 1.42188V4.15625C8.71354 4.55729 8.49479 4.77604 8.09375 4.8125H2.84375C2.44271 4.77604 2.22396 4.55729 2.1875 4.15625V1.3125H1.75C1.47656 1.33073 1.33073 1.47656 1.3125 1.75V10.5C1.33073 10.7734 1.47656 10.9193 1.75 10.9375H10.5C10.7734 10.9193 10.9193 10.7734 10.9375 10.5Z",fill:"#1A1A1A"}))},ce=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M0.5253 6.80371H3.62198C3.86352 6.80371 4.01391 6.88346 4.07315 7.04297C4.13695 7.19792 4.1005 7.36654 3.96378 7.54883L2.4462 9.64746C2.34138 9.79329 2.21605 9.86621 2.07022 9.86621C1.92895 9.86621 1.8059 9.79329 1.70108 9.64746L0.176667 7.54883C0.0445055 7.36654 0.0103258 7.19792 0.0741279 7.04297C0.133373 6.88346 0.283763 6.80371 0.5253 6.80371ZM7.99698 2.69531C7.26326 2.69531 6.5751 2.83431 5.93253 3.1123C5.29451 3.38574 4.73168 3.76628 4.24405 4.25391C3.75642 4.73698 3.37589 5.2998 3.10245 5.94238C2.82901 6.5804 2.69229 7.26855 2.69229 8.00684C2.69229 8.19824 2.62165 8.3623 2.48038 8.49902C2.34366 8.63574 2.17732 8.7041 1.98135 8.7041C1.78995 8.7041 1.62589 8.63574 1.48917 8.49902C1.35245 8.3623 1.28181 8.19824 1.27725 8.00684C1.28181 7.07715 1.45727 6.20671 1.80362 5.39551C2.14997 4.57975 2.63077 3.86426 3.246 3.24902C3.86124 2.63379 4.57445 2.15299 5.38565 1.80664C6.19685 1.45573 7.06729 1.28027 7.99698 1.28027C8.89932 1.28027 9.74926 1.45345 10.5468 1.7998C11.3443 2.14616 12.037 2.61328 12.6249 3.20117C12.8118 3.36979 12.8983 3.55664 12.8847 3.76172C12.871 3.9668 12.7958 4.13314 12.6591 4.26074C12.5406 4.37467 12.3948 4.43848 12.2216 4.45215C12.0484 4.46582 11.8638 4.39062 11.6679 4.22656C11.203 3.7526 10.6539 3.37891 10.0204 3.10547C9.38695 2.83203 8.71247 2.69531 7.99698 2.69531ZM15.4687 9.19629H12.372C12.1304 9.19629 11.9778 9.11881 11.914 8.96387C11.8547 8.80436 11.8912 8.63346 12.0233 8.45117L13.5478 6.3457C13.648 6.20443 13.7688 6.13379 13.9101 6.13379C14.0559 6.13379 14.1812 6.20443 14.286 6.3457L15.8173 8.45117C15.9495 8.63346 15.9859 8.80436 15.9267 8.96387C15.8674 9.11881 15.7148 9.19629 15.4687 9.19629ZM7.99698 13.3047C8.7307 13.3047 9.41658 13.1657 10.0546 12.8877C10.6972 12.6143 11.26 12.236 11.7431 11.7529C12.2307 11.2653 12.6112 10.7025 12.8847 10.0645C13.1627 9.42188 13.3017 8.73145 13.3017 7.99316C13.3017 7.80176 13.37 7.6377 13.5067 7.50098C13.648 7.3597 13.8144 7.28906 14.0058 7.28906C14.2017 7.28906 14.3681 7.35742 14.5048 7.49414C14.6415 7.63086 14.7099 7.7972 14.7099 7.99316C14.7099 8.91829 14.5367 9.78874 14.1903 10.6045C13.844 11.4202 13.3609 12.1357 12.7411 12.751C12.1259 13.3662 11.4127 13.847 10.6015 14.1934C9.79027 14.5443 8.92211 14.7197 7.99698 14.7197C7.09008 14.7197 6.23786 14.5465 5.44034 14.2002C4.64737 13.8538 3.95466 13.3844 3.36221 12.792C3.17992 12.6279 3.09561 12.4434 3.10928 12.2383C3.12296 12.0332 3.19587 11.8669 3.32803 11.7393C3.44652 11.6253 3.59236 11.5615 3.76553 11.5479C3.94327 11.5296 4.12784 11.6025 4.31924 11.7666C4.78865 12.2406 5.3378 12.6143 5.96671 12.8877C6.60017 13.1657 7.27693 13.3047 7.99698 13.3047Z",fill:"#1A1A1A"}))},se=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M10.6069 14.1816C10.2749 14.1816 9.96729 14.0986 9.68408 13.9326C9.40576 13.7715 9.18359 13.5493 9.01758 13.2661C8.85645 12.9878 8.77588 12.6826 8.77588 12.3506C8.77588 12.0137 8.85645 11.7061 9.01758 11.4277C9.18359 11.1494 9.40576 10.9297 9.68408 10.7686C9.96729 10.6025 10.2749 10.5195 10.6069 10.5195C10.9487 10.5195 11.2563 10.6025 11.5298 10.7686C11.8081 10.9297 12.0278 11.1494 12.189 11.4277C12.355 11.7061 12.438 12.0137 12.438 12.3506C12.438 12.6826 12.355 12.9878 12.189 13.2661C12.0278 13.5493 11.8081 13.7715 11.5298 13.9326C11.2515 14.0986 10.9438 14.1816 10.6069 14.1816ZM10.6069 13.2148C10.856 13.2148 11.0635 13.1318 11.2295 12.9658C11.3955 12.7949 11.4785 12.5898 11.4785 12.3506C11.4785 12.1064 11.3955 11.9014 11.2295 11.7354C11.0635 11.5693 10.856 11.4863 10.6069 11.4863C10.3677 11.4863 10.1626 11.5693 9.9917 11.7354C9.82568 11.9014 9.74268 12.1064 9.74268 12.3506C9.74268 12.5898 9.82568 12.7949 9.9917 12.9658C10.1626 13.1318 10.3677 13.2148 10.6069 13.2148ZM9.39844 11.6475V13.0464H1.47363C1.2832 13.0464 1.11963 12.978 0.98291 12.8413C0.851074 12.6997 0.785156 12.5361 0.785156 12.3506C0.785156 12.1602 0.851074 11.9966 0.98291 11.8599C1.11963 11.7183 1.2832 11.6475 1.47363 11.6475H9.39844ZM14.5474 11.6475C14.7329 11.6475 14.8892 11.7158 15.0161 11.8525C15.1479 11.9893 15.2139 12.1553 15.2139 12.3506C15.2139 12.5361 15.1479 12.6997 15.0161 12.8413C14.8892 12.978 14.7329 13.0464 14.5474 13.0464H11.8887V11.6475H14.5474ZM5.47266 9.83105C5.13574 9.83105 4.82812 9.75049 4.5498 9.58936C4.27637 9.42334 4.05664 9.20117 3.89062 8.92285C3.72461 8.64453 3.6416 8.33691 3.6416 8C3.6416 7.66797 3.72461 7.36279 3.89062 7.08447C4.05664 6.80127 4.27637 6.5791 4.5498 6.41797C4.82812 6.25195 5.13574 6.16895 5.47266 6.16895C5.80957 6.16895 6.11475 6.25195 6.38818 6.41797C6.6665 6.5791 6.88867 6.80127 7.05469 7.08447C7.2207 7.36279 7.30371 7.66797 7.30371 8C7.30371 8.33691 7.2207 8.64453 7.05469 8.92285C6.88867 9.20117 6.6665 9.42334 6.38818 9.58936C6.11475 9.75049 5.80957 9.83105 5.47266 9.83105ZM5.47266 8.86426C5.72168 8.86426 5.92676 8.78125 6.08789 8.61523C6.25391 8.44434 6.33691 8.23926 6.33691 8C6.33691 7.75586 6.25391 7.55078 6.08789 7.38477C5.92676 7.21875 5.72168 7.13574 5.47266 7.13574C5.2334 7.13574 5.02832 7.21875 4.85742 7.38477C4.69141 7.55078 4.6084 7.75586 4.6084 8C4.6084 8.23926 4.69141 8.44434 4.85742 8.61523C5.02832 8.78125 5.2334 8.86426 5.47266 8.86426ZM1.45898 7.3042H4.22754V8.70312H1.45898C1.27344 8.70312 1.11475 8.63477 0.98291 8.49805C0.851074 8.35645 0.785156 8.19043 0.785156 8C0.785156 7.80957 0.851074 7.646 0.98291 7.50928C1.11475 7.37256 1.27344 7.3042 1.45898 7.3042ZM14.5254 7.3042C14.7207 7.3042 14.8843 7.37256 15.0161 7.50928C15.1479 7.64111 15.2139 7.80469 15.2139 8C15.2139 8.19043 15.1479 8.35645 15.0161 8.49805C14.8843 8.63477 14.7207 8.70312 14.5254 8.70312H6.6665V7.3042H14.5254ZM10.6069 5.48047C10.2749 5.48047 9.96729 5.39746 9.68408 5.23145C9.40576 5.06543 9.18359 4.8457 9.01758 4.57227C8.85645 4.29395 8.77588 3.98633 8.77588 3.64941C8.77588 3.3125 8.85645 3.00732 9.01758 2.73389C9.18359 2.45557 9.40576 2.2334 9.68408 2.06738C9.96729 1.90137 10.2749 1.81836 10.6069 1.81836C10.9438 1.81836 11.2515 1.90137 11.5298 2.06738C11.8081 2.2334 12.0278 2.45557 12.189 2.73389C12.355 3.00732 12.438 3.3125 12.438 3.64941C12.438 3.98633 12.355 4.29395 12.189 4.57227C12.0278 4.8457 11.8081 5.06543 11.5298 5.23145C11.2515 5.39746 10.9438 5.48047 10.6069 5.48047ZM10.6069 4.51367C10.856 4.51367 11.0635 4.43066 11.2295 4.26465C11.3955 4.09375 11.4785 3.88623 11.4785 3.64209C11.4785 3.39795 11.3955 3.19531 11.2295 3.03418C11.0635 2.86816 10.856 2.78516 10.6069 2.78516C10.3677 2.78516 10.1626 2.86816 9.9917 3.03418C9.82568 3.19531 9.74268 3.39795 9.74268 3.64209C9.74268 3.88623 9.82568 4.09375 9.9917 4.26465C10.1626 4.43066 10.3677 4.51367 10.6069 4.51367ZM9.42773 2.95361V4.35254H1.47363C1.2832 4.35254 1.11963 4.28418 0.98291 4.14746C0.851074 4.00586 0.785156 3.83984 0.785156 3.64941C0.785156 3.45898 0.851074 3.29541 0.98291 3.15869C1.11963 3.02197 1.2832 2.95361 1.47363 2.95361H9.42773ZM14.5474 2.95361C14.7329 2.95361 14.8892 3.02197 15.0161 3.15869C15.1479 3.29053 15.2139 3.4541 15.2139 3.64941C15.2139 3.83984 15.1479 4.00586 15.0161 4.14746C14.8892 4.28418 14.7329 4.35254 14.5474 4.35254H11.8154V2.95361H14.5474Z",fill:"#1A1A1A"}))},ue=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M14.5 2.85563C14.5 2.45635 14.175 2.13135 13.7757 2.13135C13.3764 2.13135 13.0514 2.45635 13.0514 2.85563V11.7049C13.0514 12.1042 12.7264 12.4292 12.3271 12.4292C11.9279 12.4292 11.6029 12.1042 11.6029 11.7049V4.29492C11.6029 3.09706 10.6371 2.13135 9.43929 2.13135C8.24143 2.13135 7.27571 3.09706 7.27571 4.29492V11.7049C7.27571 12.1042 6.95071 12.4292 6.55143 12.4292C6.15214 12.4292 5.82714 12.1042 5.82714 11.7049V4.29492C5.82714 3.09706 4.86143 2.13135 3.66357 2.13135C2.46571 2.13135 1.5 3.09706 1.5 4.29492V13.1442C1.5 13.5435 1.825 13.8685 2.22429 13.8685C2.62357 13.8685 2.94857 13.5435 2.94857 13.1442V4.29492C2.94857 3.89563 3.27357 3.57063 3.67286 3.57063C4.07214 3.57063 4.39714 3.89563 4.39714 4.29492V11.7049C4.39714 12.9028 5.36286 13.8685 6.56071 13.8685C7.75857 13.8685 8.72429 12.9028 8.72429 11.7049V4.29492C8.72429 3.89563 9.04929 3.57063 9.44857 3.57063C9.84786 3.57063 10.1729 3.89563 10.1729 4.29492V11.7049C10.1729 12.9028 11.1386 13.8685 12.3364 13.8685C13.5343 13.8685 14.5 12.9028 14.5 11.7049V2.85563Z",fill:"#1A1A1A"}))},me=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M0.5253 6.80371H3.62198C3.86352 6.80371 4.01391 6.88346 4.07315 7.04297C4.13695 7.19792 4.1005 7.36654 3.96378 7.54883L2.4462 9.64746C2.34138 9.79329 2.21605 9.86621 2.07022 9.86621C1.92895 9.86621 1.8059 9.79329 1.70108 9.64746L0.176667 7.54883C0.0445055 7.36654 0.0103258 7.19792 0.0741279 7.04297C0.133373 6.88346 0.283763 6.80371 0.5253 6.80371ZM7.99698 2.69531C7.26326 2.69531 6.5751 2.83431 5.93253 3.1123C5.29451 3.38574 4.73168 3.76628 4.24405 4.25391C3.75642 4.73698 3.37589 5.2998 3.10245 5.94238C2.82901 6.5804 2.69229 7.26855 2.69229 8.00684C2.69229 8.19824 2.62165 8.3623 2.48038 8.49902C2.34366 8.63574 2.17732 8.7041 1.98135 8.7041C1.78995 8.7041 1.62589 8.63574 1.48917 8.49902C1.35245 8.3623 1.28181 8.19824 1.27725 8.00684C1.28181 7.07715 1.45727 6.20671 1.80362 5.39551C2.14997 4.57975 2.63077 3.86426 3.246 3.24902C3.86124 2.63379 4.57445 2.15299 5.38565 1.80664C6.19685 1.45573 7.06729 1.28027 7.99698 1.28027C8.89932 1.28027 9.74926 1.45345 10.5468 1.7998C11.3443 2.14616 12.037 2.61328 12.6249 3.20117C12.8118 3.36979 12.8983 3.55664 12.8847 3.76172C12.871 3.9668 12.7958 4.13314 12.6591 4.26074C12.5406 4.37467 12.3948 4.43848 12.2216 4.45215C12.0484 4.46582 11.8638 4.39062 11.6679 4.22656C11.203 3.7526 10.6539 3.37891 10.0204 3.10547C9.38695 2.83203 8.71247 2.69531 7.99698 2.69531ZM15.4687 9.19629H12.372C12.1304 9.19629 11.9778 9.11881 11.914 8.96387C11.8547 8.80436 11.8912 8.63346 12.0233 8.45117L13.5478 6.3457C13.648 6.20443 13.7688 6.13379 13.9101 6.13379C14.0559 6.13379 14.1812 6.20443 14.286 6.3457L15.8173 8.45117C15.9495 8.63346 15.9859 8.80436 15.9267 8.96387C15.8674 9.11881 15.7148 9.19629 15.4687 9.19629ZM7.99698 13.3047C8.7307 13.3047 9.41658 13.1657 10.0546 12.8877C10.6972 12.6143 11.26 12.236 11.7431 11.7529C12.2307 11.2653 12.6112 10.7025 12.8847 10.0645C13.1627 9.42188 13.3017 8.73145 13.3017 7.99316C13.3017 7.80176 13.37 7.6377 13.5067 7.50098C13.648 7.3597 13.8144 7.28906 14.0058 7.28906C14.2017 7.28906 14.3681 7.35742 14.5048 7.49414C14.6415 7.63086 14.7099 7.7972 14.7099 7.99316C14.7099 8.91829 14.5367 9.78874 14.1903 10.6045C13.844 11.4202 13.3609 12.1357 12.7411 12.751C12.1259 13.3662 11.4127 13.847 10.6015 14.1934C9.79027 14.5443 8.92211 14.7197 7.99698 14.7197C7.09008 14.7197 6.23786 14.5465 5.44034 14.2002C4.64737 13.8538 3.95466 13.3844 3.36221 12.792C3.17992 12.6279 3.09561 12.4434 3.10928 12.2383C3.12296 12.0332 3.19587 11.8669 3.32803 11.7393C3.44652 11.6253 3.59236 11.5615 3.76553 11.5479C3.94327 11.5296 4.12784 11.6025 4.31924 11.7666C4.78865 12.2406 5.3378 12.6143 5.96671 12.8877C6.60017 13.1657 7.27693 13.3047 7.99698 13.3047Z",fill:"#1A1A1A"}))},fe=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_6774_6469)"},a.createElement("path",{d:"M15.5 8C15.5 7.05 15.04 6.22 14.33 5.69C15.04 5.16 15.5 4.33 15.5 3.38C15.5 1.79 14.21 0.5 12.62 0.5C11.67 0.5 10.84 0.96 10.31 1.67C9.78 0.96 8.95 0.5 8 0.5C7.05 0.5 6.22 0.96 5.69 1.67C5.16 0.96 4.33 0.5 3.38 0.5C1.79 0.5 0.5 1.79 0.5 3.38C0.5 4.33 0.96 5.16 1.67 5.69C0.96 6.22 0.5 7.05 0.5 8C0.5 8.95 0.96 9.78 1.67 10.31C0.96 10.84 0.5 11.67 0.5 12.62C0.5 14.21 1.79 15.5 3.38 15.5C4.33 15.5 5.16 15.04 5.69 14.33C6.22 15.04 7.05 15.5 8 15.5C8.95 15.5 9.78 15.04 10.31 14.33C10.84 15.04 11.67 15.5 12.62 15.5C14.21 15.5 15.5 14.21 15.5 12.62C15.5 11.67 15.04 10.84 14.33 10.31C15.04 9.78 15.5 8.95 15.5 8ZM10.31 10.9C10.14 10.67 9.94 10.48 9.72 10.31C9.95 10.14 10.14 9.94 10.31 9.72C10.48 9.95 10.68 10.14 10.9 10.31C10.67 10.48 10.48 10.68 10.31 10.9ZM5.69 10.9C5.52 10.67 5.32 10.48 5.1 10.31C5.33 10.14 5.52 9.94 5.69 9.72C5.86 9.95 6.06 10.14 6.28 10.31C6.05 10.48 5.86 10.68 5.69 10.9ZM5.69 5.1C5.86 5.33 6.06 5.52 6.28 5.69C6.05 5.86 5.86 6.06 5.69 6.28C5.52 6.05 5.32 5.86 5.1 5.69C5.33 5.52 5.52 5.32 5.69 5.1ZM10.31 6.29C10.14 6.06 9.94 5.87 9.72 5.7C9.95 5.53 10.14 5.33 10.31 5.11C10.48 5.34 10.68 5.53 10.9 5.7C10.67 5.87 10.48 6.07 10.31 6.29Z",fill:"#1A1A1A"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_6774_6469"},a.createElement("rect",{width:"16",height:"16",fill:"white"}))))},pe=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M3.38625 6.27479C2.42625 6.27479 1.65625 7.04479 1.65625 8.00479C1.65625 8.96479 2.42625 9.73479 3.38625 9.73479C4.34625 9.73479 5.11625 8.96479 5.11625 8.00479C5.11625 7.04479 4.34625 6.27479 3.38625 6.27479ZM3.38625 1.65479C2.42625 1.65479 1.65625 2.42479 1.65625 3.38479C1.65625 4.34479 2.42625 5.11479 3.38625 5.11479C4.34625 5.11479 5.11625 4.34479 5.11625 3.38479C5.11625 2.42479 4.34625 1.65479 3.38625 1.65479ZM8.00625 10.8848C7.04625 10.8848 6.27625 11.6548 6.27625 12.6148C6.27625 13.5748 7.04625 14.3448 8.00625 14.3448C8.96625 14.3448 9.73625 13.5748 9.73625 12.6148C9.73625 11.6548 8.96625 10.8848 8.00625 10.8848ZM12.6163 5.11479C13.5763 5.11479 14.3462 4.34479 14.3462 3.38479C14.3462 2.42479 13.5763 1.65479 12.6163 1.65479C11.6562 1.65479 10.8862 2.42479 10.8862 3.38479C10.8862 4.34479 11.6562 5.11479 12.6163 5.11479ZM3.38625 10.8848C2.42625 10.8848 1.65625 11.6648 1.65625 12.6148C1.65625 13.5648 2.42625 14.3448 3.38625 14.3448C4.34625 14.3448 5.11625 13.5748 5.11625 12.6148C5.11625 11.6548 4.34625 10.8848 3.38625 10.8848ZM12.6163 6.27479C11.6562 6.27479 10.8862 7.04479 10.8862 8.00479C10.8862 8.96479 11.6562 9.73479 12.6163 9.73479C13.5763 9.73479 14.3462 8.96479 14.3462 8.00479C14.3462 7.04479 13.5763 6.27479 12.6163 6.27479ZM12.6163 10.8848C11.6562 10.8848 10.8862 11.6548 10.8862 12.6148C10.8862 13.5748 11.6562 14.3448 12.6163 14.3448C13.5763 14.3448 14.3462 13.5748 14.3462 12.6148C14.3462 11.6548 13.5763 10.8848 12.6163 10.8848ZM8.00625 1.65479C7.04625 1.65479 6.27625 2.42479 6.27625 3.38479C6.27625 4.34479 7.04625 5.11479 8.00625 5.11479C8.96625 5.11479 9.73625 4.34479 9.73625 3.38479C9.73625 2.42479 8.96625 1.65479 8.00625 1.65479ZM8.00625 6.27479C7.04625 6.27479 6.27625 7.04479 6.27625 8.00479C6.27625 8.96479 7.04625 9.73479 8.00625 9.73479C8.96625 9.73479 9.73625 8.96479 9.73625 8.00479C9.73625 7.04479 8.96625 6.27479 8.00625 6.27479Z",fill:"#1A1A1A"}))},de=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M3.38469 7.43C3.06469 7.43 2.80469 7.68 2.80469 8C2.80469 8.32 3.06469 8.58 3.38469 8.58C3.70469 8.58 3.96469 8.32 3.96469 8C3.96469 7.68 3.70469 7.42 3.38469 7.42V7.43ZM3.38469 12.04C3.06469 12.04 2.80469 12.3 2.80469 12.62C2.80469 12.94 3.06469 13.2 3.38469 13.2C3.70469 13.2 3.96469 12.94 3.96469 12.62C3.96469 12.3 3.70469 12.04 3.38469 12.04ZM12.6147 3.96C12.9347 3.96 13.1947 3.7 13.1947 3.38C13.1947 3.06 12.9347 2.8 12.6147 2.8C12.2947 2.8 12.0347 3.06 12.0347 3.38C12.0347 3.7 12.2947 3.96 12.6147 3.96ZM3.38469 2.81C3.06469 2.81 2.80469 3.07 2.80469 3.39C2.80469 3.71 3.06469 3.97 3.38469 3.97C3.70469 3.97 3.96469 3.71 3.96469 3.39C3.96469 3.07 3.70469 2.81 3.38469 2.81ZM12.6147 7.43C12.2947 7.43 12.0347 7.69 12.0347 8.01C12.0347 8.33 12.2947 8.59 12.6147 8.59C12.9347 8.59 13.1947 8.33 13.1947 8.01C13.1947 7.69 12.9347 7.43 12.6147 7.43ZM7.99469 2.81C7.67469 2.81 7.41469 3.07 7.41469 3.39C7.41469 3.71 7.67469 3.97 7.99469 3.97C8.31469 3.97 8.57469 3.71 8.57469 3.39C8.57469 3.07 8.31469 2.81 7.99469 2.81ZM12.6147 12.04C12.2947 12.04 12.0347 12.3 12.0347 12.62C12.0347 12.94 12.2947 13.2 12.6147 13.2C12.9347 13.2 13.1947 12.94 13.1947 12.62C13.1947 12.3 12.9347 12.04 12.6147 12.04ZM7.99469 7.43C7.67469 7.43 7.41469 7.69 7.41469 8.01C7.41469 8.33 7.67469 8.59 7.99469 8.59C8.31469 8.59 8.57469 8.33 8.57469 8.01C8.57469 7.69 8.31469 7.43 7.99469 7.43ZM7.99469 12.04C7.67469 12.04 7.41469 12.3 7.41469 12.62C7.41469 12.94 7.67469 13.2 7.99469 13.2C8.31469 13.2 8.57469 12.94 8.57469 12.62C8.57469 12.3 8.31469 12.04 7.99469 12.04Z"}))},ve=function(){return a.createElement("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M1.98926 10.1841C1.59733 10.1841 1.25098 10.1043 0.950195 9.94482C0.653971 9.78076 0.421549 9.55745 0.25293 9.2749C0.0843099 8.99235 0 8.66878 0 8.3042V7.6958C0 7.33577 0.0843099 7.01449 0.25293 6.73193C0.421549 6.44938 0.653971 6.22607 0.950195 6.06201C1.25098 5.89795 1.59733 5.81592 1.98926 5.81592H12.6123C13.0042 5.81592 13.3483 5.89795 13.6445 6.06201C13.9408 6.22607 14.1732 6.44938 14.3418 6.73193C14.515 7.01449 14.6016 7.33577 14.6016 7.6958V8.3042C14.6016 8.66878 14.5173 8.99235 14.3486 9.2749C14.18 9.55745 13.9453 9.78076 13.6445 9.94482C13.3483 10.1043 13.0042 10.1841 12.6123 10.1841H1.98926ZM2.20117 9.0083H12.4072C12.6852 9.0083 12.904 8.92627 13.0635 8.76221C13.223 8.59814 13.3027 8.39079 13.3027 8.14014V7.8667C13.3027 7.61605 13.223 7.40869 13.0635 7.24463C12.904 7.08057 12.6852 6.99854 12.4072 6.99854H2.20117C1.92318 6.99854 1.70443 7.08057 1.54492 7.24463C1.38542 7.40869 1.30566 7.61605 1.30566 7.8667V8.14014C1.30566 8.39079 1.38542 8.59814 1.54492 8.76221C1.70443 8.92627 1.92318 9.0083 2.20117 9.0083ZM7.30078 4.26416C7.15039 4.26416 7.02506 4.21175 6.9248 4.10693C6.82454 4.00212 6.76758 3.87451 6.75391 3.72412L6.69238 2.38428V0.456543C6.69238 0.29248 6.75163 0.151204 6.87012 0.0327148C6.99316 -0.0857747 7.13672 -0.14502 7.30078 -0.14502C7.46484 -0.14502 7.60612 -0.0857747 7.72461 0.0327148C7.84766 0.151204 7.90918 0.29248 7.90918 0.456543V2.38428L7.84082 3.72412C7.83626 3.87451 7.78158 4.00212 7.67676 4.10693C7.5765 4.21175 7.45117 4.26416 7.30078 4.26416ZM7.30078 5.0708C7.15495 5.0708 7.00684 5.00472 6.85645 4.87256L4.75781 2.89014C4.69401 2.83545 4.64616 2.7762 4.61426 2.7124C4.58691 2.64404 4.57324 2.57113 4.57324 2.49365C4.57324 2.33415 4.62337 2.20426 4.72363 2.104C4.82845 2.00374 4.96061 1.95361 5.12012 1.95361C5.27962 1.95361 5.41406 2.01058 5.52344 2.12451L6.27539 2.91748L7.12305 3.86084H7.47168L8.32617 2.91748L9.07812 2.12451C9.1875 2.01058 9.31966 1.95361 9.47461 1.95361C9.63411 1.95361 9.76628 2.00374 9.87109 2.104C9.98047 2.20426 10.0352 2.33415 10.0352 2.49365C10.0352 2.57113 10.0192 2.64404 9.9873 2.7124C9.9554 2.78076 9.90983 2.84001 9.85059 2.89014L7.73828 4.87256C7.59245 5.00472 7.44661 5.0708 7.30078 5.0708ZM7.30078 11.7358C7.45117 11.7358 7.5765 11.7905 7.67676 11.8999C7.78158 12.0047 7.83626 12.1323 7.84082 12.2827L7.90918 13.6157V15.5503C7.90918 15.7144 7.84766 15.8534 7.72461 15.9673C7.60612 16.0858 7.46484 16.145 7.30078 16.145C7.13672 16.145 6.99316 16.0858 6.87012 15.9673C6.75163 15.8534 6.69238 15.7144 6.69238 15.5503V13.6157L6.75391 12.2827C6.76758 12.1323 6.82454 12.0047 6.9248 11.8999C7.02506 11.7905 7.15039 11.7358 7.30078 11.7358ZM7.30078 10.936C7.44661 10.936 7.59245 11.0044 7.73828 11.1411L9.85059 13.1167C9.90983 13.1714 9.9554 13.2306 9.9873 13.2944C10.0192 13.3582 10.0352 13.4312 10.0352 13.5132C10.0352 13.6681 9.98047 13.7957 9.87109 13.896C9.76628 14.0008 9.63411 14.0532 9.47461 14.0532C9.31966 14.0532 9.1875 13.9963 9.07812 13.8823L8.32617 13.0894L7.47168 12.1392H7.12305L6.27539 13.0894L5.52344 13.8823C5.41406 13.9963 5.27962 14.0532 5.12012 14.0532C4.96061 14.0532 4.82845 14.0008 4.72363 13.896C4.62337 13.7957 4.57324 13.6681 4.57324 13.5132C4.57324 13.4312 4.58691 13.3582 4.61426 13.2944C4.64616 13.2306 4.69401 13.1714 4.75781 13.1167L6.85645 11.1411C7.00684 11.0044 7.15495 10.936 7.30078 10.936Z",fill:"#1A1A1A"}))},he=function(){return a.createElement("svg",{width:"16",height:"12",viewBox:"0 0 16 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M0 8.3125C0 8.0345 0.0364583 7.77246 0.109375 7.52637C0.182292 7.27572 0.266602 7.03874 0.362305 6.81543L2.57715 1.64746C2.80957 1.11426 3.14681 0.70638 3.58887 0.423828C4.03092 0.141276 4.55729 0 5.16797 0H10.541C11.1517 0 11.6781 0.141276 12.1201 0.423828C12.5667 0.70638 12.904 1.11426 13.1318 1.64746L15.3672 6.85645C15.4538 7.0752 15.5312 7.30534 15.5996 7.54688C15.668 7.78841 15.7021 8.04362 15.7021 8.3125C15.7021 8.90039 15.5654 9.42676 15.292 9.8916C15.0231 10.3564 14.6471 10.7233 14.1641 10.9922C13.681 11.2611 13.1227 11.3955 12.4893 11.3955H3.21289C2.57943 11.3955 2.02116 11.2611 1.53809 10.9922C1.05501 10.7233 0.676758 10.3564 0.40332 9.8916C0.13444 9.42676 0 8.90039 0 8.3125ZM1.3125 8.3125C1.3125 8.64974 1.38997 8.9528 1.54492 9.22168C1.70443 9.49056 1.92546 9.70247 2.20801 9.85742C2.49512 10.0078 2.83008 10.083 3.21289 10.083H12.4893C12.8721 10.083 13.2048 10.0124 13.4873 9.87109C13.7744 9.72982 13.9954 9.5293 14.1504 9.26953C14.3099 9.00521 14.3896 8.6862 14.3896 8.3125C14.3896 7.9707 14.3099 7.66764 14.1504 7.40332C13.9954 7.13444 13.7744 6.92253 13.4873 6.76758C13.2048 6.61263 12.8721 6.53516 12.4893 6.53516H3.21289C2.83008 6.53516 2.49512 6.61263 2.20801 6.76758C1.92546 6.92253 1.70443 7.13444 1.54492 7.40332C1.38997 7.66764 1.3125 7.9707 1.3125 8.3125ZM2.41309 5.35254C2.53613 5.31608 2.66374 5.28646 2.7959 5.26367C2.93262 5.24089 3.07161 5.22949 3.21289 5.22949H12.4893C12.6351 5.22949 12.7741 5.24089 12.9062 5.26367C13.043 5.28646 13.1729 5.31608 13.2959 5.35254L11.8877 1.94824C11.7829 1.67936 11.612 1.47656 11.375 1.33984C11.1426 1.19857 10.8623 1.12793 10.5342 1.12793H5.1748C4.84668 1.12793 4.56641 1.19857 4.33398 1.33984C4.10156 1.47656 3.93066 1.67936 3.82129 1.94824L2.41309 5.35254ZM11.5869 8.3125C11.5869 8.08464 11.6712 7.88639 11.8398 7.71777C12.013 7.54915 12.2158 7.46484 12.4482 7.46484C12.6807 7.46484 12.8789 7.54915 13.043 7.71777C13.2116 7.88639 13.2959 8.08464 13.2959 8.3125C13.2959 8.54492 13.2116 8.74544 13.043 8.91406C12.8789 9.07812 12.6807 9.16016 12.4482 9.16016C12.2158 9.16016 12.013 9.07812 11.8398 8.91406C11.6712 8.75 11.5869 8.54948 11.5869 8.3125Z",fill:"#1A1A1A"}))},Ce=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M9.57031 4.28613H10.5C10.86 4.28613 11.1585 4.32487 11.3955 4.40234C11.637 4.47526 11.8626 4.60059 12.0723 4.77832C12.2819 4.95605 12.5143 5.19759 12.7695 5.50293L14.9707 8.17578C15.0938 8.32161 15.1872 8.46517 15.251 8.60645C15.3193 8.74316 15.3649 8.90039 15.3877 9.07812C15.415 9.25586 15.4287 9.47005 15.4287 9.7207V13.5352C15.4287 14.237 15.2441 14.7702 14.875 15.1348C14.5104 15.4993 13.9727 15.6816 13.2617 15.6816H2.16016C1.45378 15.6816 0.916016 15.4993 0.546875 15.1348C0.182292 14.7702 0 14.237 0 13.5352V9.7207C0 9.47005 0.0136719 9.25586 0.0410156 9.07812C0.0683594 8.90039 0.113932 8.74316 0.177734 8.60645C0.241536 8.46517 0.334961 8.32161 0.458008 8.17578L2.65918 5.50977C2.90983 5.19987 3.13997 4.95605 3.34961 4.77832C3.55924 4.60059 3.78483 4.47526 4.02637 4.40234C4.27246 4.32487 4.57324 4.28613 4.92871 4.28613H5.8584V5.40723H4.8877C4.67806 5.40723 4.48893 5.44824 4.32031 5.53027C4.15625 5.6123 4.00358 5.74219 3.8623 5.91992L1.53125 8.81152C1.47656 8.87988 1.46061 8.95052 1.4834 9.02344C1.50618 9.09635 1.57227 9.13281 1.68164 9.13281H5.83789C6.00651 9.13281 6.12956 9.18294 6.20703 9.2832C6.28906 9.37891 6.33008 9.49056 6.33008 9.61816V9.63867C6.33008 9.86654 6.38477 10.0898 6.49414 10.3086C6.60807 10.5228 6.76758 10.7005 6.97266 10.8418C7.18229 10.9831 7.43066 11.0537 7.71777 11.0537C8.00033 11.0537 8.24414 10.9831 8.44922 10.8418C8.65885 10.7005 8.81836 10.5228 8.92773 10.3086C9.04167 10.0898 9.09863 9.86654 9.09863 9.63867V9.61816C9.09863 9.49056 9.13737 9.37891 9.21484 9.2832C9.29688 9.18294 9.42448 9.13281 9.59766 9.13281H13.7539C13.8542 9.13281 13.9157 9.09635 13.9385 9.02344C13.9613 8.95052 13.9476 8.87988 13.8975 8.81152L11.5596 5.91992C11.4229 5.74219 11.2702 5.6123 11.1016 5.53027C10.9375 5.44824 10.7507 5.40723 10.541 5.40723H9.57031V4.28613ZM2.24219 14.3076H13.1865C13.4736 14.3076 13.6947 14.2324 13.8496 14.082C14.0046 13.9316 14.082 13.7061 14.082 13.4053V10.3291H10.2402C10.1673 10.7074 10.0124 11.0469 9.77539 11.3477C9.54297 11.6439 9.24902 11.8786 8.89355 12.0518C8.54264 12.2204 8.15072 12.3047 7.71777 12.3047C7.28483 12.3047 6.89062 12.2204 6.53516 12.0518C6.17969 11.8786 5.88346 11.6439 5.64648 11.3477C5.41406 11.0469 5.25911 10.7074 5.18164 10.3291H1.34668V13.4053C1.34668 13.7061 1.42415 13.9316 1.5791 14.082C1.73405 14.2324 1.95508 14.3076 2.24219 14.3076ZM5.48242 3.20605C5.32747 3.20605 5.19531 3.15592 5.08594 3.05566C4.98112 2.95085 4.92871 2.81868 4.92871 2.65918C4.92871 2.51335 4.98568 2.38118 5.09961 2.2627L7.22559 0.211914C7.30762 0.13444 7.38737 0.0797526 7.46484 0.0478516C7.54688 0.0159505 7.63119 0 7.71777 0C7.7998 0 7.87956 0.0159505 7.95703 0.0478516C8.0345 0.0797526 8.11426 0.13444 8.19629 0.211914L10.3223 2.2627C10.4408 2.38118 10.5 2.51335 10.5 2.65918C10.5 2.81868 10.4453 2.95085 10.3359 3.05566C10.2266 3.15592 10.0944 3.20605 9.93945 3.20605C9.77083 3.20605 9.62956 3.14225 9.51562 3.01465L8.62695 2.06445L7.71777 0.90918L6.80176 2.06445L5.90625 3.01465C5.79688 3.14225 5.6556 3.20605 5.48242 3.20605ZM7.71777 8.72949C7.54004 8.72949 7.38737 8.66797 7.25977 8.54492C7.13672 8.41732 7.0752 8.27148 7.0752 8.10742V2.60449L7.19824 0.69043C7.20736 0.549154 7.25977 0.428385 7.35547 0.328125C7.45573 0.223307 7.5765 0.170898 7.71777 0.170898C7.85905 0.170898 7.97754 0.223307 8.07324 0.328125C8.16895 0.428385 8.22135 0.549154 8.23047 0.69043L8.35352 2.60449V8.10742C8.35352 8.27148 8.28971 8.41732 8.16211 8.54492C8.03906 8.66797 7.89095 8.72949 7.71777 8.72949Z",fill:"#1A1A1A"}))},ge=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M4.78027 8.84766C4.62533 8.84766 4.49544 8.79525 4.39062 8.69043C4.28581 8.58561 4.2334 8.45801 4.2334 8.30762C4.2334 8.15723 4.28581 8.02962 4.39062 7.9248C4.49544 7.81999 4.62533 7.76758 4.78027 7.76758H7.45312V4.12402C7.45312 3.97363 7.50553 3.84603 7.61035 3.74121C7.71517 3.63639 7.84277 3.58398 7.99316 3.58398C8.14811 3.58398 8.27572 3.63639 8.37598 3.74121C8.48079 3.84603 8.5332 3.97363 8.5332 4.12402V8.30762C8.5332 8.45801 8.48079 8.58561 8.37598 8.69043C8.27572 8.79525 8.14811 8.84766 7.99316 8.84766H4.78027ZM8 14.7197C7.07031 14.7197 6.19987 14.5443 5.38867 14.1934C4.58203 13.847 3.86882 13.3639 3.24902 12.7441C2.63379 12.1289 2.15072 11.418 1.7998 10.6113C1.45345 9.80013 1.28027 8.92969 1.28027 8C1.28027 7.07031 1.45345 6.19987 1.7998 5.38867C2.15072 4.57747 2.63379 3.86426 3.24902 3.24902C3.86882 2.63379 4.58203 2.15299 5.38867 1.80664C6.19987 1.45573 7.07031 1.28027 8 1.28027C8.92969 1.28027 9.80013 1.45573 10.6113 1.80664C11.4225 2.15299 12.1357 2.63379 12.751 3.24902C13.3662 3.86426 13.847 4.57747 14.1934 5.38867C14.5443 6.19987 14.7197 7.07031 14.7197 8C14.7197 8.92969 14.5443 9.80013 14.1934 10.6113C13.847 11.418 13.3662 12.1289 12.751 12.7441C12.1357 13.3639 11.4225 13.847 10.6113 14.1934C9.80013 14.5443 8.92969 14.7197 8 14.7197ZM8 13.3047C8.73372 13.3047 9.4196 13.1657 10.0576 12.8877C10.7002 12.6143 11.2653 12.236 11.7529 11.7529C12.2406 11.2653 12.6211 10.7025 12.8945 10.0645C13.168 9.42188 13.3047 8.73372 13.3047 8C13.3047 7.26628 13.168 6.5804 12.8945 5.94238C12.6211 5.2998 12.2406 4.73698 11.7529 4.25391C11.2653 3.76628 10.7002 3.38574 10.0576 3.1123C9.4196 2.83431 8.73372 2.69531 8 2.69531C7.26628 2.69531 6.57812 2.83431 5.93555 3.1123C5.29753 3.38574 4.7347 3.76628 4.24707 4.25391C3.75944 4.73698 3.37891 5.2998 3.10547 5.94238C2.83203 6.5804 2.69531 7.26628 2.69531 8C2.69531 8.73372 2.83203 9.42188 3.10547 10.0645C3.37891 10.7025 3.75944 11.2653 4.24707 11.7529C4.7347 12.236 5.29753 12.6143 5.93555 12.8877C6.57812 13.1657 7.26628 13.3047 8 13.3047Z",fill:"white"}))},be=function(){return a.createElement("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M6.72363 16.031C6.41113 16.031 6.16943 15.9065 5.99854 15.6575C5.82764 15.4084 5.74219 15.0544 5.74219 14.5955V8.38452C5.74219 8.09155 5.76904 7.84985 5.82275 7.65942C5.88135 7.46411 5.98145 7.29321 6.12305 7.14673C6.26465 7.00024 6.45996 6.8562 6.70898 6.7146L12.0923 3.60913C12.4536 3.39917 12.771 3.29419 13.0444 3.29419C13.3521 3.29419 13.5938 3.4187 13.7695 3.66772C13.9453 3.91187 14.0332 4.26831 14.0332 4.73706V10.948C14.0332 11.241 14.0039 11.4851 13.9453 11.6804C13.8867 11.8757 13.7866 12.0466 13.645 12.1931C13.5083 12.3347 13.3203 12.4763 13.0811 12.6179L7.69775 15.7161C7.32666 15.926 7.00195 16.031 6.72363 16.031ZM7.22168 14.2952C7.24121 14.3049 7.26318 14.3025 7.2876 14.2878L12.29 11.3728C12.4707 11.2605 12.561 11.1018 12.561 10.8967L12.5977 5.09595C12.5977 5.04712 12.583 5.02026 12.5537 5.01538C12.5293 5.0105 12.5049 5.01782 12.4805 5.03735L7.5 7.96704C7.31934 8.07446 7.229 8.23315 7.229 8.44312L7.17041 14.2292C7.17041 14.2683 7.1875 14.2903 7.22168 14.2952ZM3.73535 14.3245C3.4668 14.3245 3.24463 14.2073 3.06885 13.9729C2.89795 13.7434 2.8125 13.4431 2.8125 13.072V6.59009C2.8125 6.28735 2.83203 6.05542 2.87109 5.89429C2.91016 5.72827 2.99072 5.58667 3.11279 5.46948C3.23975 5.35229 3.43018 5.2229 3.68408 5.0813L9.36768 1.80737C9.62158 1.66577 9.86572 1.59497 10.1001 1.59497C10.354 1.59497 10.5615 1.67554 10.7227 1.83667C10.8887 1.9978 10.9741 2.22241 10.979 2.5105L4.68018 6.13599C4.55322 6.21411 4.45801 6.28491 4.39453 6.34839C4.33105 6.40698 4.28711 6.48022 4.2627 6.56812C4.24316 6.65112 4.2334 6.76831 4.2334 6.91968V14.178C4.06738 14.2756 3.90137 14.3245 3.73535 14.3245ZM0.922852 12.6985C0.644531 12.6985 0.419922 12.5837 0.249023 12.3542C0.0830078 12.1199 0 11.8171 0 11.446V4.96411C0 4.66138 0.0195312 4.42944 0.0585938 4.26831C0.0976562 4.10229 0.178223 3.96313 0.300293 3.85083C0.427246 3.73364 0.620117 3.60181 0.878906 3.45532L6.54785 0.188721C6.79688 0.0422363 7.04346 -0.0310059 7.2876 -0.0310059C7.53662 -0.0310059 7.7417 0.0495605 7.90283 0.210693C8.06885 0.366943 8.15674 0.589111 8.1665 0.877197L1.86768 4.51001C1.74072 4.58325 1.64307 4.65161 1.57471 4.71509C1.51123 4.77856 1.46729 4.85425 1.44287 4.94214C1.42334 5.03003 1.41357 5.14478 1.41357 5.28638V12.552C1.25244 12.6497 1.08887 12.6985 0.922852 12.6985Z",fill:"#1A1A1A"}))},ye=function(){return a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M7.46338 12.627C7.28271 12.627 7.10693 12.5781 6.93604 12.4805C6.76514 12.3877 6.62354 12.2681 6.51123 12.1216C6.40381 11.9702 6.3501 11.814 6.3501 11.6528C6.3501 11.4087 6.39404 11.1914 6.48193 11.001C6.56982 10.8105 6.61377 10.6152 6.61377 10.415C6.61377 10.3418 6.48926 10.2173 6.24023 10.0415C5.99121 9.86084 5.67139 9.62402 5.28076 9.33105C4.88525 9.02832 4.6875 8.67432 4.6875 8.26904C4.6875 8.0542 4.7168 7.87109 4.77539 7.71973C4.83887 7.56348 4.87061 7.44873 4.87061 7.37549C4.86572 7.33154 4.83398 7.28271 4.77539 7.229C4.7168 7.17529 4.62646 7.09473 4.50439 6.9873L3.40576 6.02783C2.88818 5.56885 2.53174 5.13184 2.33643 4.7168C2.14111 4.30176 2.06543 3.90869 2.10938 3.5376C2.1582 3.16162 2.2876 2.80273 2.49756 2.46094L3.25195 2.61475C3.06152 2.92236 2.93701 3.21777 2.87842 3.50098C2.82471 3.78418 2.87354 4.08203 3.0249 4.39453C3.18115 4.70215 3.479 5.05371 3.91846 5.44922L5.01709 6.43066C5.0415 6.44531 5.06104 6.4624 5.07568 6.48193C5.09521 6.50146 5.11475 6.51855 5.13428 6.5332C5.31494 6.67969 5.44434 6.81396 5.52246 6.93604C5.60547 7.05811 5.64697 7.19971 5.64697 7.36084C5.64697 7.46338 5.61279 7.63916 5.54443 7.88818C5.48096 8.06396 5.44922 8.19092 5.44922 8.26904C5.44922 8.42041 5.54688 8.56934 5.74219 8.71582C5.81543 8.77441 5.88867 8.83057 5.96191 8.88428C6.04004 8.93799 6.11816 8.98926 6.19629 9.03809C6.5918 9.31641 6.88721 9.55566 7.08252 9.75586C7.27783 9.95117 7.37549 10.166 7.37549 10.4004C7.38037 10.5664 7.36328 10.7251 7.32422 10.8765C7.28516 11.0229 7.24854 11.1499 7.21436 11.2573C7.17529 11.3794 7.14844 11.4624 7.13379 11.5063C7.12402 11.5503 7.11914 11.5894 7.11914 11.6235C7.11914 11.6772 7.15576 11.731 7.229 11.7847C7.30713 11.8384 7.37793 11.8652 7.44141 11.8652C7.55859 11.8652 7.72461 11.7603 7.93945 11.5503C8.15918 11.3403 8.39844 11.0742 8.65723 10.752C8.91602 10.4248 9.1626 10.0854 9.39697 9.73389C9.63135 9.37744 9.82422 9.04785 9.97559 8.74512C10.127 8.4375 10.2026 8.20557 10.2026 8.04932C10.2026 7.96631 10.1392 7.84912 10.0122 7.69775C9.88525 7.54639 9.72656 7.39502 9.53613 7.24365C9.3457 7.0874 9.15771 6.95557 8.97217 6.84814C8.7915 6.74072 8.6499 6.68701 8.54736 6.68701C8.48389 6.68701 8.37402 6.72852 8.21777 6.81152C8.06152 6.89453 7.89307 6.97754 7.7124 7.06055C7.53662 7.13867 7.38281 7.17773 7.25098 7.17773C7.08496 7.17773 6.88965 7.11914 6.66504 7.00195C6.44043 6.88477 6.2207 6.7334 6.00586 6.54785C5.79102 6.35742 5.61279 6.16211 5.47119 5.96191C5.32959 5.76172 5.25879 5.58105 5.25879 5.41992C5.25879 5.26855 5.31006 5.11963 5.4126 4.97314C5.52002 4.82178 5.65186 4.69971 5.80811 4.60693C5.96436 4.50928 6.12305 4.46045 6.28418 4.46045C6.4209 4.46045 6.58203 4.51416 6.76758 4.62158C6.95312 4.729 7.12891 4.83643 7.29492 4.94385C7.46094 5.04639 7.58057 5.09766 7.65381 5.09766C7.69775 5.09766 7.73438 5.08301 7.76367 5.05371C7.79785 5.02441 7.81494 4.98779 7.81494 4.94385C7.81494 4.87549 7.7832 4.79492 7.71973 4.70215C7.66113 4.60449 7.55859 4.45557 7.41211 4.25537C7.33887 4.14795 7.31689 4.05029 7.34619 3.9624C7.37549 3.86963 7.43408 3.80127 7.52197 3.75732C7.71729 3.65479 7.94922 3.53516 8.21777 3.39844C8.48633 3.25684 8.75488 3.10059 9.02344 2.92969C9.29199 2.75879 9.53125 2.57812 9.74121 2.3877C9.95605 2.19238 10.1074 1.9873 10.1953 1.77246L10.8765 2.12402C10.7739 2.3584 10.6201 2.58057 10.415 2.79053C10.2148 3.00049 9.99023 3.19336 9.74121 3.36914C9.49219 3.54492 9.24316 3.70361 8.99414 3.84521C8.75 3.98682 8.53027 4.10889 8.33496 4.21143C8.49609 4.45068 8.57666 4.66553 8.57666 4.85596C8.57666 5.16357 8.48633 5.41016 8.30566 5.5957C8.12988 5.77637 7.89062 5.8667 7.58789 5.8667C7.45605 5.8667 7.29736 5.81299 7.11182 5.70557C6.93115 5.59814 6.7627 5.49316 6.60645 5.39062C6.45508 5.2832 6.34766 5.22949 6.28418 5.22949C6.23047 5.22949 6.17432 5.25146 6.11572 5.29541C6.05713 5.33936 6.02783 5.38086 6.02783 5.41992C6.02783 5.4834 6.07666 5.56885 6.17432 5.67627C6.27197 5.78369 6.38916 5.896 6.52588 6.01318C6.66748 6.12549 6.80664 6.2207 6.94336 6.29883C7.08008 6.37695 7.18262 6.41602 7.25098 6.41602C7.36328 6.41602 7.49268 6.37451 7.63916 6.2915C7.79053 6.2085 7.94434 6.12793 8.10059 6.0498C8.26172 5.9668 8.41064 5.92529 8.54736 5.92529C8.76221 5.92529 9.00879 5.99854 9.28711 6.14502C9.56543 6.2915 9.83154 6.47705 10.0854 6.70166C10.3442 6.92139 10.5566 7.15332 10.7227 7.39746C10.8887 7.63672 10.9717 7.854 10.9717 8.04932C10.9717 8.30811 10.8838 8.63037 10.708 9.01611C10.5322 9.39697 10.3027 9.79736 10.0195 10.2173C9.74121 10.6323 9.44092 11.0229 9.11865 11.3892C8.80127 11.7554 8.49609 12.0532 8.20312 12.2827C7.91016 12.5122 7.66357 12.627 7.46338 12.627ZM7.19971 14.3994C6.20361 14.3994 5.271 14.2114 4.40186 13.8354C3.5376 13.4644 2.77344 12.9468 2.10938 12.2827C1.4502 11.6235 0.932617 10.8618 0.556641 9.99756C0.185547 9.12842 0 8.1958 0 7.19971C0 6.20361 0.185547 5.271 0.556641 4.40186C0.932617 3.53271 1.4502 2.76855 2.10938 2.10938C2.77344 1.4502 3.5376 0.935059 4.40186 0.563965C5.271 0.187988 6.20361 0 7.19971 0C8.1958 0 9.12842 0.187988 9.99756 0.563965C10.8667 0.935059 11.6309 1.4502 12.29 2.10938C12.9492 2.76855 13.4644 3.53271 13.8354 4.40186C14.2114 5.271 14.3994 6.20361 14.3994 7.19971C14.3994 8.1958 14.2114 9.12842 13.8354 9.99756C13.4644 10.8618 12.9492 11.6235 12.29 12.2827C11.6309 12.9468 10.8667 13.4644 9.99756 13.8354C9.12842 14.2114 8.1958 14.3994 7.19971 14.3994ZM7.19971 13.2129C8.02979 13.2129 8.80615 13.0566 9.52881 12.7441C10.2563 12.4316 10.896 11.9995 11.4478 11.4478C11.9995 10.896 12.4316 10.2588 12.7441 9.53613C13.0566 8.80859 13.2129 8.02979 13.2129 7.19971C13.2129 6.36963 13.0566 5.59326 12.7441 4.87061C12.4316 4.14307 11.9995 3.50342 11.4478 2.95166C10.896 2.3999 10.2563 1.96777 9.52881 1.65527C8.80615 1.34277 8.02979 1.18652 7.19971 1.18652C6.36963 1.18652 5.59082 1.34277 4.86328 1.65527C4.14062 1.96777 3.50342 2.3999 2.95166 2.95166C2.3999 3.50342 1.96777 4.14307 1.65527 4.87061C1.34277 5.59326 1.18652 6.36963 1.18652 7.19971C1.18652 8.02979 1.34277 8.80859 1.65527 9.53613C1.96777 10.2588 2.3999 10.896 2.95166 11.4478C3.50342 11.9995 4.14062 12.4316 4.86328 12.7441C5.59082 13.0566 6.36963 13.2129 7.19971 13.2129Z",fill:"#1A1A1A"}))},we=function(){return a.createElement("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M7.02734 1.48535C6.81315 1.48535 6.63086 1.41243 6.48047 1.2666C6.33464 1.11621 6.26172 0.933919 6.26172 0.719727C6.26172 0.514648 6.33691 0.336914 6.4873 0.186523C6.6377 0.0361328 6.81771 -0.0390625 7.02734 -0.0390625C7.24154 -0.0390625 7.42155 0.0361328 7.56738 0.186523C7.71777 0.332357 7.79297 0.510091 7.79297 0.719727C7.79297 0.938477 7.72005 1.12077 7.57422 1.2666C7.42839 1.41243 7.24609 1.48535 7.02734 1.48535ZM3.88965 3.29004C3.68001 3.29004 3.5 3.21712 3.34961 3.07129C3.20378 2.9209 3.13086 2.74089 3.13086 2.53125C3.13086 2.32161 3.20605 2.1416 3.35645 1.99121C3.50684 1.84082 3.68457 1.76562 3.88965 1.76562C4.10384 1.76562 4.28385 1.84082 4.42969 1.99121C4.58008 2.13704 4.65527 2.31706 4.65527 2.53125C4.65527 2.74544 4.58236 2.92546 4.43652 3.07129C4.29069 3.21712 4.1084 3.29004 3.88965 3.29004ZM10.165 3.29004C9.95085 3.29004 9.76855 3.21712 9.61816 3.07129C9.47233 2.92546 9.39941 2.74544 9.39941 2.53125C9.39941 2.32161 9.47461 2.1416 9.625 1.99121C9.77539 1.84082 9.9554 1.76562 10.165 1.76562C10.3747 1.76562 10.5524 1.84082 10.6982 1.99121C10.8486 2.13704 10.9238 2.31706 10.9238 2.53125C10.9238 2.74544 10.8509 2.92546 10.7051 3.07129C10.5592 3.21712 10.3792 3.29004 10.165 3.29004ZM0.765625 5.12207C0.551432 5.12207 0.369141 5.04915 0.21875 4.90332C0.0729167 4.75293 0 4.57064 0 4.35645C0 4.15137 0.0751953 3.97363 0.225586 3.82324C0.375977 3.67285 0.55599 3.59766 0.765625 3.59766C0.97526 3.59766 1.15299 3.67285 1.29883 3.82324C1.44922 3.96908 1.52441 4.14681 1.52441 4.35645C1.52441 4.5752 1.4515 4.75749 1.30566 4.90332C1.15983 5.04915 0.979818 5.12207 0.765625 5.12207ZM7.02734 5.375C6.74935 5.375 6.51009 5.27702 6.30957 5.08105C6.11361 4.88053 6.01562 4.639 6.01562 4.35645C6.01562 4.08301 6.11589 3.84603 6.31641 3.64551C6.51693 3.44499 6.75391 3.34473 7.02734 3.34473C7.3099 3.34473 7.54915 3.44499 7.74512 3.64551C7.94564 3.84147 8.0459 4.07845 8.0459 4.35645C8.0459 4.64355 7.94792 4.88509 7.75195 5.08105C7.55599 5.27702 7.31445 5.375 7.02734 5.375ZM13.2686 5.12207C13.0544 5.12207 12.8743 5.04915 12.7285 4.90332C12.5827 4.75293 12.5098 4.57064 12.5098 4.35645C12.5098 4.15137 12.585 3.97363 12.7354 3.82324C12.8857 3.67285 13.0635 3.59766 13.2686 3.59766C13.4827 3.59766 13.6628 3.67285 13.8086 3.82324C13.959 3.96908 14.0342 4.14681 14.0342 4.35645C14.0342 4.5752 13.959 4.75749 13.8086 4.90332C13.6628 5.04915 13.4827 5.12207 13.2686 5.12207ZM3.88965 7.19336C3.61165 7.19336 3.3724 7.09538 3.17188 6.89941C2.97591 6.69889 2.87793 6.45736 2.87793 6.1748C2.87793 5.90137 2.97819 5.66439 3.17871 5.46387C3.38379 5.26335 3.62077 5.16309 3.88965 5.16309C4.1722 5.16309 4.41146 5.26335 4.60742 5.46387C4.80794 5.65983 4.9082 5.89681 4.9082 6.1748C4.9082 6.46191 4.81022 6.70345 4.61426 6.89941C4.41829 7.09538 4.17676 7.19336 3.88965 7.19336ZM10.165 7.19336C9.88249 7.19336 9.64095 7.09538 9.44043 6.89941C9.24447 6.69889 9.14648 6.45736 9.14648 6.1748C9.14648 5.90137 9.24675 5.66439 9.44727 5.46387C9.64779 5.26335 9.88704 5.16309 10.165 5.16309C10.4385 5.16309 10.6755 5.26335 10.876 5.46387C11.0765 5.65983 11.1768 5.89681 11.1768 6.1748C11.1768 6.46191 11.0788 6.70345 10.8828 6.89941C10.6868 7.09538 10.4476 7.19336 10.165 7.19336ZM0.765625 8.76562C0.551432 8.76562 0.369141 8.69271 0.21875 8.54688C0.0729167 8.39648 0 8.21419 0 8C0 7.79036 0.0751953 7.61035 0.225586 7.45996C0.375977 7.30957 0.55599 7.23438 0.765625 7.23438C0.97526 7.23438 1.15299 7.30957 1.29883 7.45996C1.44922 7.60579 1.52441 7.78581 1.52441 8C1.52441 8.21419 1.4515 8.39648 1.30566 8.54688C1.15983 8.69271 0.979818 8.76562 0.765625 8.76562ZM7.02734 9.18262C6.70378 9.18262 6.42578 9.06641 6.19336 8.83398C5.96094 8.60156 5.84473 8.32357 5.84473 8C5.84473 7.78581 5.89714 7.58984 6.00195 7.41211C6.11133 7.22982 6.25488 7.08626 6.43262 6.98145C6.61491 6.87207 6.81315 6.81738 7.02734 6.81738C7.35091 6.81738 7.62891 6.93359 7.86133 7.16602C8.09375 7.39844 8.20996 7.67643 8.20996 8C8.20996 8.32812 8.09603 8.6084 7.86816 8.84082C7.6403 9.06868 7.36003 9.18262 7.02734 9.18262ZM13.2686 8.76562C13.0544 8.76562 12.8743 8.69271 12.7285 8.54688C12.5827 8.39648 12.5098 8.21419 12.5098 8C12.5098 7.79036 12.585 7.61035 12.7354 7.45996C12.8857 7.30957 13.0635 7.23438 13.2686 7.23438C13.4827 7.23438 13.6628 7.30957 13.8086 7.45996C13.959 7.60579 14.0342 7.78581 14.0342 8C14.0342 8.21875 13.959 8.40104 13.8086 8.54688C13.6628 8.69271 13.4827 8.76562 13.2686 8.76562ZM3.88965 10.8369C3.61621 10.8369 3.37923 10.7389 3.17871 10.543C2.97819 10.3424 2.87793 10.1032 2.87793 9.8252C2.87793 9.5472 2.97819 9.30794 3.17871 9.10742C3.37923 8.9069 3.61621 8.80664 3.88965 8.80664C4.1722 8.80664 4.41146 8.9069 4.60742 9.10742C4.80794 9.30339 4.9082 9.54264 4.9082 9.8252C4.9082 10.1077 4.81022 10.347 4.61426 10.543C4.41829 10.7389 4.17676 10.8369 3.88965 10.8369ZM10.165 10.8369C9.88249 10.8369 9.64095 10.7389 9.44043 10.543C9.24447 10.347 9.14648 10.1077 9.14648 9.8252C9.14648 9.5472 9.24675 9.30794 9.44727 9.10742C9.64779 8.9069 9.88704 8.80664 10.165 8.80664C10.443 8.80664 10.68 8.9069 10.876 9.10742C11.0765 9.30339 11.1768 9.54264 11.1768 9.8252C11.1768 10.1077 11.0788 10.347 10.8828 10.543C10.6868 10.7389 10.4476 10.8369 10.165 10.8369ZM0.765625 12.3955C0.551432 12.3955 0.369141 12.3226 0.21875 12.1768C0.0729167 12.0264 0 11.8464 0 11.6367C0 11.4316 0.0751953 11.2539 0.225586 11.1035C0.375977 10.9486 0.55599 10.8711 0.765625 10.8711C0.97526 10.8711 1.15299 10.9463 1.29883 11.0967C1.44922 11.2471 1.52441 11.4271 1.52441 11.6367C1.52441 11.8555 1.4515 12.0378 1.30566 12.1836C1.15983 12.3249 0.979818 12.3955 0.765625 12.3955ZM7.02734 12.6484C6.74935 12.6484 6.51009 12.5505 6.30957 12.3545C6.11361 12.154 6.01562 11.9147 6.01562 11.6367C6.01562 11.3633 6.11589 11.1263 6.31641 10.9258C6.51693 10.7253 6.75391 10.625 7.02734 10.625C7.3099 10.625 7.54915 10.7253 7.74512 10.9258C7.94564 11.1217 8.0459 11.3587 8.0459 11.6367C8.0459 11.9238 7.94792 12.1654 7.75195 12.3613C7.55599 12.5527 7.31445 12.6484 7.02734 12.6484ZM13.2686 12.3955C13.0544 12.3955 12.8743 12.3226 12.7285 12.1768C12.5827 12.0309 12.5098 11.8509 12.5098 11.6367C12.5098 11.4316 12.5827 11.2539 12.7285 11.1035C12.8789 10.9486 13.0589 10.8711 13.2686 10.8711C13.4782 10.8711 13.6582 10.9463 13.8086 11.0967C13.959 11.2471 14.0342 11.4271 14.0342 11.6367C14.0342 11.8509 13.9613 12.0309 13.8154 12.1768C13.6696 12.3226 13.4873 12.3955 13.2686 12.3955ZM3.88965 14.2344C3.68001 14.2344 3.5 14.1592 3.34961 14.0088C3.20378 13.8584 3.13086 13.6784 3.13086 13.4688C3.13086 13.2637 3.20605 13.0837 3.35645 12.9287C3.50684 12.7783 3.68457 12.7031 3.88965 12.7031C4.10384 12.7031 4.28385 12.776 4.42969 12.9219C4.58008 13.0723 4.65527 13.2546 4.65527 13.4688C4.65527 13.6875 4.58236 13.8698 4.43652 14.0156C4.29069 14.1615 4.1084 14.2344 3.88965 14.2344ZM10.165 14.2344C9.95085 14.2344 9.76855 14.1592 9.61816 14.0088C9.47233 13.863 9.39941 13.6829 9.39941 13.4688C9.39941 13.2591 9.47461 13.0791 9.625 12.9287C9.77539 12.7783 9.9554 12.7031 10.165 12.7031C10.3747 12.7031 10.5524 12.776 10.6982 12.9219C10.8486 13.0723 10.9238 13.2546 10.9238 13.4688C10.9238 13.6875 10.8509 13.8698 10.7051 14.0156C10.5592 14.1615 10.3792 14.2344 10.165 14.2344ZM7.02734 16.0391C6.81315 16.0391 6.63086 15.9639 6.48047 15.8135C6.33464 15.6676 6.26172 15.4899 6.26172 15.2803C6.26172 15.0706 6.33691 14.8906 6.4873 14.7402C6.6377 14.5898 6.81771 14.5146 7.02734 14.5146C7.24154 14.5146 7.42155 14.5876 7.56738 14.7334C7.71777 14.8838 7.79297 15.0661 7.79297 15.2803C7.79297 15.4945 7.72005 15.6745 7.57422 15.8203C7.42839 15.9661 7.24609 16.0391 7.02734 16.0391Z",fill:"#1A1A1A"}))},_e=function(){return a.createElement("svg",{width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M1.86621 12.4619C1.48796 12.4619 1.15755 12.3776 0.875 12.209C0.597005 12.0449 0.380534 11.8216 0.225586 11.5391C0.0751953 11.2565 0 10.9443 0 10.6025C0 10.2699 0.0865885 9.9554 0.259766 9.65918L5.25684 0.936523C5.43457 0.626628 5.66699 0.394206 5.9541 0.239258C6.24121 0.0797526 6.54199 0 6.85645 0C7.1709 0 7.47168 0.0797526 7.75879 0.239258C8.0459 0.394206 8.2806 0.626628 8.46289 0.936523L13.46 9.65234C13.5465 9.80729 13.6104 9.96452 13.6514 10.124C13.6969 10.2835 13.7197 10.443 13.7197 10.6025C13.7197 10.9443 13.6423 11.2565 13.4873 11.5391C13.3369 11.8216 13.1204 12.0449 12.8379 12.209C12.5599 12.3776 12.2318 12.4619 11.8535 12.4619H1.86621ZM6.87012 7.98438C7.27116 7.98438 7.47852 7.77474 7.49219 7.35547L7.59473 4.21777C7.59928 4.0127 7.5332 3.84408 7.39648 3.71191C7.25977 3.5752 7.08203 3.50684 6.86328 3.50684C6.63997 3.50684 6.45996 3.57292 6.32324 3.70508C6.18652 3.83724 6.12272 4.00814 6.13184 4.21777L6.22754 7.3623C6.24121 7.77702 6.4554 7.98438 6.87012 7.98438ZM6.87012 10.2402C7.09342 10.2402 7.28483 10.1696 7.44434 10.0283C7.6084 9.88704 7.69043 9.70475 7.69043 9.48145C7.69043 9.2627 7.61068 9.08268 7.45117 8.94141C7.29167 8.79557 7.09798 8.72266 6.87012 8.72266C6.64225 8.72266 6.44629 8.79557 6.28223 8.94141C6.12272 9.08268 6.04297 9.2627 6.04297 9.48145C6.04297 9.7002 6.12272 9.88249 6.28223 10.0283C6.44629 10.1696 6.64225 10.2402 6.87012 10.2402Z",fill:"#D70015"}))},Ee=function(){return a.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M0.482331 5.52344H3.57901C3.82055 5.52344 3.97094 5.60319 4.03018 5.7627C4.09398 5.91764 4.05753 6.08626 3.92081 6.26855L2.40323 8.36719C2.29841 8.51302 2.17309 8.58594 2.02725 8.58594C1.88598 8.58594 1.76293 8.51302 1.65811 8.36719L0.133698 6.26855C0.00153677 6.08626 -0.0326429 5.91764 0.0311592 5.7627C0.090404 5.60319 0.240795 5.52344 0.482331 5.52344ZM7.95401 1.41504C7.22029 1.41504 6.53214 1.55404 5.88956 1.83203C5.25154 2.10547 4.68871 2.486 4.20108 2.97363C3.71345 3.45671 3.33292 4.01953 3.05948 4.66211C2.78604 5.30013 2.64932 5.98828 2.64932 6.72656C2.64932 6.91797 2.57869 7.08203 2.43741 7.21875C2.30069 7.35547 2.13435 7.42383 1.93839 7.42383C1.74698 7.42383 1.58292 7.35547 1.4462 7.21875C1.30948 7.08203 1.23884 6.91797 1.23428 6.72656C1.23884 5.79688 1.4143 4.92643 1.76065 4.11523C2.10701 3.29948 2.5878 2.58398 3.20303 1.96875C3.81827 1.35352 4.53148 0.872721 5.34268 0.526367C6.15388 0.175456 7.02432 0 7.95401 0C8.85635 0 9.70629 0.173177 10.5038 0.519531C11.3013 0.865885 11.9941 1.33301 12.5819 1.9209C12.7688 2.08952 12.8554 2.27637 12.8417 2.48145C12.828 2.68652 12.7528 2.85286 12.6161 2.98047C12.4976 3.0944 12.3518 3.1582 12.1786 3.17188C12.0054 3.18555 11.8209 3.11035 11.6249 2.94629C11.1601 2.47233 10.6109 2.09863 9.97745 1.8252C9.34398 1.55176 8.66951 1.41504 7.95401 1.41504ZM15.4257 7.91602H12.329C12.0875 7.91602 11.9348 7.83854 11.871 7.68359C11.8118 7.52409 11.8482 7.35319 11.9804 7.1709L13.5048 5.06543C13.6051 4.92415 13.7258 4.85352 13.8671 4.85352C14.0129 4.85352 14.1383 4.92415 14.2431 5.06543L15.7743 7.1709C15.9065 7.35319 15.9429 7.52409 15.8837 7.68359C15.8245 7.83854 15.6718 7.91602 15.4257 7.91602ZM7.95401 12.0244C8.68773 12.0244 9.37361 11.8854 10.0116 11.6074C10.6542 11.334 11.217 10.9557 11.7001 10.4727C12.1877 9.98503 12.5683 9.4222 12.8417 8.78418C13.1197 8.1416 13.2587 7.45117 13.2587 6.71289C13.2587 6.52148 13.3271 6.35742 13.4638 6.2207C13.6051 6.07943 13.7714 6.00879 13.9628 6.00879C14.1588 6.00879 14.3251 6.07715 14.4618 6.21387C14.5985 6.35059 14.6669 6.51693 14.6669 6.71289C14.6669 7.63802 14.4937 8.50846 14.1474 9.32422C13.801 10.14 13.3179 10.8555 12.6982 11.4707C12.0829 12.0859 11.3697 12.5667 10.5585 12.9131C9.7473 13.264 8.87914 13.4395 7.95401 13.4395C7.04711 13.4395 6.1949 13.2663 5.39737 12.9199C4.6044 12.5736 3.91169 12.1042 3.31925 11.5117C3.13695 11.3477 3.05264 11.1631 3.06632 10.958C3.07999 10.7529 3.1529 10.5866 3.28507 10.459C3.40355 10.3451 3.54939 10.2812 3.72257 10.2676C3.9003 10.2493 4.08487 10.3223 4.27628 10.4863C4.74568 10.9603 5.29483 11.334 5.92374 11.6074C6.5572 11.8854 7.23396 12.0244 7.95401 12.0244Z",fill:"#1A1A1A"}))},Oe=function(e){var t=e.style;return a.createElement("svg",{style:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M9.02109 12.6187C8.82109 12.6187 8.65651 12.5562 8.52734 12.4312C8.39818 12.3062 8.33359 12.1479 8.33359 11.9562C8.33359 11.8562 8.35234 11.7646 8.38984 11.6812C8.42734 11.5937 8.47734 11.5187 8.53984 11.4562L9.86484 10.1187L12.1711 7.99998L9.86484 5.88748L8.53984 4.54998C8.47734 4.48748 8.42734 4.41456 8.38984 4.33123C8.35234 4.24373 8.33359 4.14998 8.33359 4.04998C8.33359 3.85831 8.39818 3.69998 8.52734 3.57498C8.65651 3.44581 8.82109 3.38123 9.02109 3.38123C9.10859 3.38123 9.19401 3.39998 9.27734 3.43748C9.36484 3.47498 9.44818 3.53123 9.52734 3.60623L13.4023 7.48748C13.5523 7.62914 13.6273 7.79998 13.6273 7.99998C13.6273 8.20414 13.5523 8.37706 13.4023 8.51873L9.51484 12.4062C9.36901 12.5479 9.20443 12.6187 9.02109 12.6187ZM3.08359 8.69998C2.87109 8.69998 2.69818 8.63539 2.56484 8.50623C2.43568 8.37706 2.37109 8.20831 2.37109 7.99998C2.37109 7.79581 2.43568 7.62914 2.56484 7.49998C2.69818 7.37081 2.87109 7.30623 3.08359 7.30623H10.1461L12.2586 7.42498C12.4336 7.43748 12.5753 7.49373 12.6836 7.59373C12.7961 7.69373 12.8523 7.82914 12.8523 7.99998C12.8523 8.17498 12.7961 8.31248 12.6836 8.41248C12.5753 8.51248 12.4315 8.56664 12.2523 8.57498L10.1461 8.69998H3.08359Z",fill:"#1A1A1A"}))},Se=function(){return a.createElement(Oe,{style:{transform:"scaleX(-1)"}})},je=function(){return a.createElement("svg",{width:"17",height:"6",viewBox:"0 0 17 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M16.603 2.44727V4.41943C16.5256 4.51286 16.4059 4.61426 16.2441 4.72363C16.0824 4.83073 15.8739 4.92301 15.6187 5.00049C15.3634 5.07796 15.0547 5.1167 14.6924 5.1167C14.3711 5.1167 14.0783 5.06429 13.814 4.95947C13.5496 4.85238 13.3218 4.69629 13.1304 4.49121C12.9412 4.28613 12.7954 4.03548 12.6929 3.73926C12.5903 3.44076 12.5391 3.1001 12.5391 2.71729V2.40625C12.5391 2.02344 12.5881 1.68278 12.686 1.38428C12.7863 1.08577 12.9287 0.833984 13.1133 0.628906C13.2979 0.423828 13.5177 0.267741 13.7729 0.160645C14.0282 0.0535482 14.3118 0 14.624 0C15.057 0 15.4124 0.070638 15.6904 0.211914C15.9684 0.350911 16.1803 0.544596 16.3262 0.792969C16.4743 1.03906 16.5654 1.32161 16.5996 1.64062H15.605C15.5799 1.47201 15.5321 1.32503 15.4614 1.19971C15.3908 1.07438 15.2894 0.9764 15.1572 0.905762C15.0273 0.835124 14.8587 0.799805 14.6514 0.799805C14.4805 0.799805 14.3278 0.835124 14.1934 0.905762C14.0612 0.974121 13.9495 1.07552 13.8584 1.20996C13.7673 1.3444 13.6978 1.51074 13.6499 1.70898C13.6021 1.90723 13.5781 2.13737 13.5781 2.39941V2.71729C13.5781 2.97705 13.6032 3.20719 13.6533 3.40771C13.7035 3.60596 13.7775 3.77344 13.8755 3.91016C13.9757 4.0446 14.0988 4.146 14.2446 4.21436C14.3905 4.28271 14.5602 4.31689 14.7539 4.31689C14.9157 4.31689 15.0501 4.30322 15.1572 4.27588C15.2666 4.24854 15.3543 4.21549 15.4204 4.17676C15.4888 4.13574 15.5412 4.09701 15.5776 4.06055V3.17871H14.6411V2.44727H16.603Z",fill:"#1A1A1A"}),a.createElement("path",{d:"M12.062 4.24854V5.04834H9.41309V4.24854H12.062ZM9.74805 0.0717773V5.04834H8.72266V0.0717773H9.74805ZM11.7168 2.09863V2.87793H9.41309V2.09863H11.7168ZM12.0586 0.0717773V0.875H9.41309V0.0717773H12.0586Z",fill:"#1A1A1A"}),a.createElement("path",{d:"M6.14893 3.27441H4.88086V2.47461H6.14893C6.34489 2.47461 6.50439 2.44271 6.62744 2.37891C6.75049 2.31283 6.84049 2.22168 6.89746 2.10547C6.95443 1.98926 6.98291 1.85824 6.98291 1.7124C6.98291 1.56429 6.95443 1.42643 6.89746 1.29883C6.84049 1.17122 6.75049 1.06868 6.62744 0.991211C6.50439 0.913737 6.34489 0.875 6.14893 0.875H5.23633V5.04834H4.21094V0.0717773H6.14893C6.53857 0.0717773 6.8724 0.142415 7.15039 0.283691C7.43066 0.422689 7.64486 0.615234 7.79297 0.861328C7.94108 1.10742 8.01514 1.38883 8.01514 1.70557C8.01514 2.02686 7.94108 2.30485 7.79297 2.53955C7.64486 2.77425 7.43066 2.9554 7.15039 3.08301C6.8724 3.21061 6.53857 3.27441 6.14893 3.27441Z",fill:"#1A1A1A"}),a.createElement("path",{d:"M2.31396 3.52051V0.0717773H3.33594V3.52051C3.33594 3.85319 3.26302 4.13916 3.11719 4.37842C2.97135 4.6154 2.77197 4.79769 2.51904 4.92529C2.26839 5.0529 1.98584 5.1167 1.67139 5.1167C1.34554 5.1167 1.05729 5.06201 0.806641 4.95264C0.55599 4.84326 0.358887 4.67578 0.215332 4.4502C0.0717773 4.22233 0 3.93408 0 3.58545H1.02881C1.02881 3.76774 1.05387 3.91243 1.104 4.01953C1.15641 4.12663 1.23047 4.20296 1.32617 4.24854C1.42188 4.29411 1.53695 4.31689 1.67139 4.31689C1.80127 4.31689 1.91406 4.28613 2.00977 4.22461C2.10547 4.16309 2.17952 4.07308 2.23193 3.95459C2.28662 3.8361 2.31396 3.69141 2.31396 3.52051Z",fill:"#1A1A1A"}))},Ne=function(){return a.createElement("svg",{width:"14",height:"6",viewBox:"0 0 14 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.396 2.44727V4.41943C13.3185 4.51286 13.1989 4.61426 13.0371 4.72363C12.8753 4.83073 12.6668 4.92301 12.4116 5.00049C12.1564 5.07796 11.8477 5.1167 11.4854 5.1167C11.1641 5.1167 10.8713 5.06429 10.6069 4.95947C10.3426 4.85238 10.1147 4.69629 9.92334 4.49121C9.73421 4.28613 9.58838 4.03548 9.48584 3.73926C9.3833 3.44076 9.33203 3.1001 9.33203 2.71729V2.40625C9.33203 2.02344 9.38102 1.68278 9.479 1.38428C9.57926 1.08577 9.72168 0.833984 9.90625 0.628906C10.0908 0.423828 10.3107 0.267741 10.5659 0.160645C10.8211 0.0535482 11.1048 0 11.417 0C11.8499 0 12.2054 0.070638 12.4834 0.211914C12.7614 0.350911 12.9733 0.544596 13.1191 0.792969C13.2673 1.03906 13.3584 1.32161 13.3926 1.64062H12.3979C12.3729 1.47201 12.325 1.32503 12.2544 1.19971C12.1838 1.07438 12.0824 0.9764 11.9502 0.905762C11.8203 0.835124 11.6517 0.799805 11.4443 0.799805C11.2734 0.799805 11.1208 0.835124 10.9863 0.905762C10.8542 0.974121 10.7425 1.07552 10.6514 1.20996C10.5602 1.3444 10.4907 1.51074 10.4429 1.70898C10.395 1.90723 10.3711 2.13737 10.3711 2.39941V2.71729C10.3711 2.97705 10.3962 3.20719 10.4463 3.40771C10.4964 3.60596 10.5705 3.77344 10.6685 3.91016C10.7687 4.0446 10.8918 4.146 11.0376 4.21436C11.1834 4.28271 11.3532 4.31689 11.5469 4.31689C11.7087 4.31689 11.8431 4.30322 11.9502 4.27588C12.0596 4.24854 12.1473 4.21549 12.2134 4.17676C12.2817 4.13574 12.3341 4.09701 12.3706 4.06055V3.17871H11.4341V2.44727H13.396Z",fill:"#1A1A1A"}),a.createElement("path",{d:"M8.56201 0.0717773V5.04834H7.53662L5.53711 1.7124V5.04834H4.51172V0.0717773H5.53711L7.54004 3.41113V0.0717773H8.56201Z",fill:"#1A1A1A"}),a.createElement("path",{d:"M1.93799 3.27441H0.669922V2.47461H1.93799C2.13395 2.47461 2.29346 2.44271 2.4165 2.37891C2.53955 2.31283 2.62956 2.22168 2.68652 2.10547C2.74349 1.98926 2.77197 1.85824 2.77197 1.7124C2.77197 1.56429 2.74349 1.42643 2.68652 1.29883C2.62956 1.17122 2.53955 1.06868 2.4165 0.991211C2.29346 0.913737 2.13395 0.875 1.93799 0.875H1.02539V5.04834H0V0.0717773H1.93799C2.32764 0.0717773 2.66146 0.142415 2.93945 0.283691C3.21973 0.422689 3.43392 0.615234 3.58203 0.861328C3.73014 1.10742 3.8042 1.38883 3.8042 1.70557C3.8042 2.02686 3.73014 2.30485 3.58203 2.53955C3.43392 2.77425 3.21973 2.9554 2.93945 3.08301C2.66146 3.21061 2.32764 3.27441 1.93799 3.27441Z",fill:"#1A1A1A"}))},Pe=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"20",viewBox:"0 0 32 20",fill:"none"},a.createElement("path",{d:"M24.2676 19.5234C23.0645 19.5234 22.0117 19.2181 21.1094 18.6074C20.2161 17.9876 19.5234 17.1172 19.0312 15.9961C18.5391 14.875 18.293 13.5579 18.293 12.0449C18.293 10.5501 18.5391 9.24675 19.0312 8.13477C19.5234 7.01367 20.2161 6.14323 21.1094 5.52344C22.0117 4.90365 23.0645 4.59375 24.2676 4.59375C25.3522 4.59375 26.3092 4.85352 27.1387 5.37305C27.9681 5.88346 28.5833 6.58984 28.9844 7.49219H29.0801V6.0293C29.0801 5.56445 29.2122 5.20443 29.4766 4.94922C29.7409 4.6849 30.0736 4.55273 30.4746 4.55273C30.8939 4.55273 31.2357 4.6849 31.5 4.94922C31.7643 5.20443 31.8965 5.56445 31.8965 6.0293V18.0605C31.8965 18.5345 31.7643 18.8991 31.5 19.1543C31.2357 19.4095 30.8939 19.5371 30.4746 19.5371C30.0827 19.5371 29.75 19.4141 29.4766 19.168C29.2122 18.9219 29.0801 18.5755 29.0801 18.1289V16.6523H28.9844C28.5833 17.5729 27.9727 18.2839 27.1523 18.7852C26.3411 19.2773 25.3796 19.5234 24.2676 19.5234ZM25.1289 17.1035C25.9128 17.1035 26.5964 16.903 27.1797 16.502C27.763 16.0918 28.2142 15.5085 28.5332 14.752C28.8522 13.9954 29.0117 13.1068 29.0117 12.0859C29.0117 11.0651 28.8522 10.1764 28.5332 9.41992C28.2142 8.6543 27.7585 8.06185 27.166 7.64258C26.5827 7.21419 25.9036 7 25.1289 7C24.3359 7 23.6523 7.20964 23.0781 7.62891C22.5039 8.03906 22.0573 8.6224 21.7383 9.37891C21.4284 10.1354 21.2734 11.0286 21.2734 12.0586C21.2734 13.0977 21.4284 13.9954 21.7383 14.752C22.0573 15.5085 22.5039 16.0918 23.0781 16.502C23.6523 16.903 24.3359 17.1035 25.1289 17.1035ZM1.58594 19.5234C1.09375 19.5234 0.70638 19.3867 0.423828 19.1133C0.141276 18.849 0 18.4844 0 18.0195C0 17.7279 0.0592448 17.4043 0.177734 17.0488L5.81055 1.79102C6.23893 0.597005 7.07747 0 8.32617 0C8.99154 0 9.53385 0.150391 9.95312 0.451172C10.3724 0.742839 10.6914 1.19401 10.9102 1.80469L16.4883 16.9531C16.6159 17.3177 16.6797 17.6641 16.6797 17.9922C16.6797 18.457 16.5293 18.8262 16.2285 19.0996C15.9277 19.3822 15.5267 19.5234 15.0254 19.5234C14.5605 19.5234 14.1914 19.4141 13.918 19.1953C13.6445 18.9857 13.4349 18.6302 13.2891 18.1289L8.36719 3.48633H8.28516L3.33594 18.1289C3.1901 18.6302 2.98047 18.9857 2.70703 19.1953C2.43359 19.4141 2.0599 19.5234 1.58594 19.5234ZM4.04688 14.3418C3.68229 14.3418 3.37695 14.2188 3.13086 13.9727C2.88477 13.7266 2.76172 13.4212 2.76172 13.0566C2.76172 12.6921 2.88477 12.3867 3.13086 12.1406C3.37695 11.8945 3.68229 11.7715 4.04688 11.7715H12.5918C12.9564 11.7715 13.2617 11.8945 13.5078 12.1406C13.763 12.3867 13.8906 12.6921 13.8906 13.0566C13.8906 13.4212 13.763 13.7266 13.5078 13.9727C13.2617 14.2188 12.9564 14.3418 12.5918 14.3418H4.04688Z",fill:"url(#paint0_linear_13564_3831)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_13564_3831",x1:"31.8965",y1:"9.76856",x2:"0",y2:"9.76856",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0.413462","stop-color":"#808080"}),a.createElement("stop",{offset:"0.466346","stop-color":"#1A1A1A"}))))},xe=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"20",viewBox:"0 0 32 20",fill:"none"},a.createElement("path",{d:"M24.2676 19.5234C23.0645 19.5234 22.0117 19.2181 21.1094 18.6074C20.2161 17.9876 19.5234 17.1172 19.0312 15.9961C18.5391 14.875 18.293 13.5579 18.293 12.0449C18.293 10.5501 18.5391 9.24675 19.0312 8.13477C19.5234 7.01367 20.2161 6.14323 21.1094 5.52344C22.0117 4.90365 23.0645 4.59375 24.2676 4.59375C25.3522 4.59375 26.3092 4.85352 27.1387 5.37305C27.9681 5.88346 28.5833 6.58984 28.9844 7.49219H29.0801V6.0293C29.0801 5.56445 29.2122 5.20443 29.4766 4.94922C29.7409 4.6849 30.0736 4.55273 30.4746 4.55273C30.8939 4.55273 31.2357 4.6849 31.5 4.94922C31.7643 5.20443 31.8965 5.56445 31.8965 6.0293V18.0605C31.8965 18.5345 31.7643 18.8991 31.5 19.1543C31.2357 19.4095 30.8939 19.5371 30.4746 19.5371C30.0827 19.5371 29.75 19.4141 29.4766 19.168C29.2122 18.9219 29.0801 18.5755 29.0801 18.1289V16.6523H28.9844C28.5833 17.5729 27.9727 18.2839 27.1523 18.7852C26.3411 19.2773 25.3796 19.5234 24.2676 19.5234ZM25.1289 17.1035C25.9128 17.1035 26.5964 16.903 27.1797 16.502C27.763 16.0918 28.2142 15.5085 28.5332 14.752C28.8522 13.9954 29.0117 13.1068 29.0117 12.0859C29.0117 11.0651 28.8522 10.1764 28.5332 9.41992C28.2142 8.6543 27.7585 8.06185 27.166 7.64258C26.5827 7.21419 25.9036 7 25.1289 7C24.3359 7 23.6523 7.20964 23.0781 7.62891C22.5039 8.03906 22.0573 8.6224 21.7383 9.37891C21.4284 10.1354 21.2734 11.0286 21.2734 12.0586C21.2734 13.0977 21.4284 13.9954 21.7383 14.752C22.0573 15.5085 22.5039 16.0918 23.0781 16.502C23.6523 16.903 24.3359 17.1035 25.1289 17.1035ZM1.58594 19.5234C1.09375 19.5234 0.70638 19.3867 0.423828 19.1133C0.141276 18.849 0 18.4844 0 18.0195C0 17.7279 0.0592448 17.4043 0.177734 17.0488L5.81055 1.79102C6.23893 0.597005 7.07747 0 8.32617 0C8.99154 0 9.53385 0.150391 9.95312 0.451172C10.3724 0.742839 10.6914 1.19401 10.9102 1.80469L16.4883 16.9531C16.6159 17.3177 16.6797 17.6641 16.6797 17.9922C16.6797 18.457 16.5293 18.8262 16.2285 19.0996C15.9277 19.3822 15.5267 19.5234 15.0254 19.5234C14.5605 19.5234 14.1914 19.4141 13.918 19.1953C13.6445 18.9857 13.4349 18.6302 13.2891 18.1289L8.36719 3.48633H8.28516L3.33594 18.1289C3.1901 18.6302 2.98047 18.9857 2.70703 19.1953C2.43359 19.4141 2.0599 19.5234 1.58594 19.5234ZM4.04688 14.3418C3.68229 14.3418 3.37695 14.2188 3.13086 13.9727C2.88477 13.7266 2.76172 13.4212 2.76172 13.0566C2.76172 12.6921 2.88477 12.3867 3.13086 12.1406C3.37695 11.8945 3.68229 11.7715 4.04688 11.7715H12.5918C12.9564 11.7715 13.2617 11.8945 13.5078 12.1406C13.763 12.3867 13.8906 12.6921 13.8906 13.0566C13.8906 13.4212 13.763 13.7266 13.5078 13.9727C13.2617 14.2188 12.9564 14.3418 12.5918 14.3418H4.04688Z",fill:"#1A1A1A"}))},ke=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},a.createElement("path",{d:"M5.55426 0.488224C5.55426 0.240757 5.63217 0.0872354 5.78798 0.02766C5.94838 -0.0319154 6.12023 0.0047464 6.30354 0.137645L8.42076 1.67744C8.56282 1.77826 8.63385 1.90199 8.63385 2.04864C8.63385 2.19071 8.56282 2.31215 8.42076 2.41297L6.29666 3.95276C6.11794 4.08566 5.94838 4.12232 5.78798 4.06275C5.63217 3.99859 5.55426 3.84507 5.55426 3.60219V0.488224ZM1.42294 8.0016C1.42294 8.72567 1.56042 9.40621 1.83538 10.0432C2.11493 10.6756 2.493 11.2255 2.96961 11.693C3.13 11.89 3.20103 12.0779 3.1827 12.2567C3.16895 12.4308 3.10709 12.5775 2.9971 12.6966C2.86879 12.8295 2.69922 12.9028 2.48842 12.9166C2.2822 12.9303 2.09889 12.8455 1.93849 12.6622C1.33816 12.0665 0.863844 11.3676 0.515557 10.5656C0.171852 9.76366 0 8.90898 0 8.0016C0 7.06672 0.174144 6.19372 0.522431 5.38257C0.8753 4.56685 1.36107 3.84965 1.97974 3.23098C2.5984 2.60773 3.3156 2.12197 4.13133 1.77368C4.95163 1.42081 5.82923 1.24437 6.7641 1.24437C6.96116 1.24896 7.12614 1.31999 7.25904 1.45747C7.39652 1.59495 7.46526 1.75993 7.46526 1.9524C7.46526 2.14946 7.39652 2.31902 7.25904 2.46109C7.12155 2.59857 6.95428 2.66731 6.75723 2.66731C6.01941 2.66731 5.32742 2.80708 4.68125 3.08663C4.03967 3.36159 3.47371 3.74425 2.98335 4.2346C2.493 4.72037 2.11034 5.28634 1.83538 5.9325C1.56042 6.57408 1.42294 7.26378 1.42294 8.0016ZM7.96019 15.5081C7.96019 15.7556 7.87999 15.9091 7.7196 15.9687C7.56379 16.0328 7.39423 15.9985 7.21092 15.8656L5.10057 14.3258C4.95393 14.2249 4.8806 14.1012 4.8806 13.9546C4.8806 13.8125 4.95393 13.6888 5.10057 13.5834L7.21779 12.0504C7.39652 11.9175 7.56379 11.8832 7.7196 11.9473C7.87999 12.0069 7.96019 12.1581 7.96019 12.401V15.5081ZM12.0915 8.0016C12.0915 7.27753 11.954 6.59929 11.6791 5.96687C11.4041 5.32987 11.026 4.77536 10.5448 4.30334C10.3799 4.11087 10.3043 3.92756 10.318 3.75341C10.3363 3.57469 10.4028 3.42575 10.5174 3.3066C10.6457 3.1737 10.8129 3.10038 11.0192 3.08663C11.2254 3.07288 11.4133 3.15766 11.5828 3.34097C12.1786 3.93672 12.6483 4.63559 12.992 5.43757C13.3403 6.23496 13.5145 7.08964 13.5145 8.0016C13.5145 8.93648 13.338 9.81178 12.9851 10.6275C12.6369 11.4386 12.1534 12.1535 11.5347 12.7722C10.916 13.3909 10.1966 13.8744 9.37625 14.2226C8.56053 14.5755 7.68294 14.7542 6.74348 14.7588C6.55559 14.7542 6.39061 14.6832 6.24854 14.5457C6.11106 14.4082 6.04232 14.2433 6.04232 14.0508C6.04232 13.8537 6.11335 13.6842 6.25542 13.5421C6.39748 13.4046 6.56246 13.3359 6.75035 13.3359C7.49275 13.3359 8.18475 13.1961 8.82633 12.9166C9.47249 12.6416 10.0407 12.2612 10.5311 11.7755C11.0215 11.2851 11.4041 10.7192 11.6791 10.0776C11.954 9.43141 12.0915 8.73942 12.0915 8.0016Z",fill:"#1A1A1A"}))},Ae=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M10.5371 9.69531V10.5361V9.69531ZM11.3779 4.61621H12.2256V5.45703H11.3779V4.61621ZM10.5371 5.45703H11.3779V6.30469H10.5371V5.45703ZM9.68945 6.30469H10.5371V7.15234H9.68945V6.30469ZM8.8418 7.15234H9.68945V7.99316H8.8418V7.15234ZM7.99414 7.99316H8.8418V8.84766H7.99414V7.99316ZM7.15332 8.84766H7.99414V9.69531H7.15332V8.84766ZM6.29883 9.69531H7.15332V10.5361H6.29883V9.69531ZM5.45801 10.5361H6.29883V11.3838H5.45801V10.5361ZM4.61035 11.3838H5.45801V12.2314H4.61035V11.3838ZM5.45801 12.9424V12.2314H6.29883V13.0723H5.62891L5.45801 12.9424ZM6.29883 11.3838H7.15332V12.2314H6.29883V11.3838ZM7.15332 10.5361H7.99414V11.3838H7.15332V10.5361ZM7.99414 9.69531H8.8418V10.5361H7.99414V9.69531ZM8.8418 8.84766H9.68945V9.69531H8.8418V8.84766ZM9.68945 7.99316H10.5371V8.84766H9.68945V7.99316ZM10.5371 7.15234H11.3779V7.99316H10.5371V7.15234ZM11.3779 6.30469H12.2256V7.15234H11.3779V6.30469ZM13.0732 6.29102H13.8252V7.15234H13.0732V6.29102ZM12.2256 7.15234H13.0732V7.99316H12.2256V7.15234ZM11.3779 7.99316H12.2256V8.84766H11.3779V7.99316ZM10.5371 8.84766H11.3779V9.69531H10.5371V8.84766ZM9.68945 9.69531H10.5371V10.5361H9.68945V9.69531ZM8.8418 10.5361H9.68945V11.3838H8.8418V10.5361ZM7.99414 11.3838H8.8418V12.2314H7.99414V11.3838ZM7.15332 12.2314H7.99414V13.0723H7.15332V12.2314ZM6.29199 13.0723H7.15332V13.8242H6.29199V13.0723ZM7.99414 13.0723H8.8418V13.8516H7.99414V13.0723ZM8.8418 12.2314H9.68945V13.0723H8.8418V12.2314ZM9.68945 11.3838H10.5371V12.2314H9.68945V11.3838ZM10.5371 10.5361H11.3779V11.3838H10.5371V10.5361ZM11.3779 9.69531H12.2256V10.5361H11.3779V9.69531ZM12.2256 8.84766H13.0732V9.69531H12.2256V8.84766ZM13.0732 7.99316H13.8525V8.84766H13.0732V7.99316ZM12.2256 10.5361H13.0527L12.957 11.3838H12.2256V10.5361ZM11.3779 11.3838H12.2256V12.1357L12.123 12.2314H11.3779V11.3838ZM10.5371 12.2314H11.3779V12.9561L10.5371 13.0586V12.2314ZM13.0732 5.67578V6.30469H12.2256V5.45703H12.8682L13.0732 5.67578ZM8.00098 14.7197C7.07129 14.7197 6.20085 14.5443 5.38965 14.1934C4.58301 13.847 3.86979 13.3639 3.25 12.7441C2.63477 12.1289 2.15169 11.418 1.80078 10.6113C1.45443 9.80013 1.28125 8.92969 1.28125 8C1.28125 7.07031 1.45443 6.19987 1.80078 5.38867C2.15169 4.57747 2.63477 3.86426 3.25 3.24902C3.86979 2.63379 4.58301 2.15299 5.38965 1.80664C6.20085 1.45573 7.07129 1.28027 8.00098 1.28027C8.93066 1.28027 9.80111 1.45573 10.6123 1.80664C11.4235 2.15299 12.1367 2.63379 12.752 3.24902C13.3672 3.86426 13.848 4.57747 14.1943 5.38867C14.5452 6.19987 14.7207 7.07031 14.7207 8C14.7207 8.92969 14.5452 9.80013 14.1943 10.6113C13.848 11.418 13.3672 12.1289 12.752 12.7441C12.1367 13.3639 11.4235 13.847 10.6123 14.1934C9.80111 14.5443 8.93066 14.7197 8.00098 14.7197ZM8.00098 13.3047C8.7347 13.3047 9.42057 13.1657 10.0586 12.8877C10.7012 12.6143 11.2663 12.236 11.7539 11.7529C12.2415 11.2653 12.6221 10.7025 12.8955 10.0645C13.1689 9.42188 13.3057 8.73372 13.3057 8C13.3057 7.26628 13.1689 6.5804 12.8955 5.94238C12.6221 5.2998 12.2415 4.73698 11.7539 4.25391C11.2663 3.76628 10.7012 3.38574 10.0586 3.1123C9.42057 2.83431 8.7347 2.69531 8.00098 2.69531C7.26725 2.69531 6.5791 2.83431 5.93652 3.1123C5.2985 3.38574 4.73568 3.76628 4.24805 4.25391C3.76042 4.73698 3.37988 5.2998 3.10645 5.94238C2.83301 6.5804 2.69629 7.26628 2.69629 8C2.69629 8.73372 2.83301 9.42188 3.10645 10.0645C3.37988 10.7025 3.76042 11.2653 4.24805 11.7529C4.73568 12.236 5.2985 12.6143 5.93652 12.8877C6.5791 13.1657 7.26725 13.3047 8.00098 13.3047Z",fill:"#1A1A1A"}))},Le=["className"];var Te=function(e){e.className,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}}(e,Le);return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M6.78125 13.1624C6.48125 13.1624 6.225 13.0332 6.0125 12.7749L2.95625 8.9749C2.87292 8.8749 2.8125 8.77907 2.775 8.6874C2.7375 8.59157 2.71875 8.49365 2.71875 8.39365C2.71875 8.17282 2.79167 7.98949 2.9375 7.84365C3.0875 7.69782 3.27708 7.6249 3.50625 7.6249C3.76458 7.6249 3.98125 7.73949 4.15625 7.96865L6.75625 11.2812L11.8188 3.2499C11.9146 3.0999 12.0146 2.99365 12.1188 2.93115C12.2271 2.86865 12.3604 2.8374 12.5188 2.8374C12.7438 2.8374 12.9271 2.90824 13.0688 3.0499C13.2104 3.19157 13.2812 3.3749 13.2812 3.5999C13.2812 3.68324 13.2667 3.77074 13.2375 3.8624C13.2083 3.95407 13.1625 4.0499 13.1 4.1499L7.55 12.7562C7.37083 13.027 7.11458 13.1624 6.78125 13.1624Z",fill:"#1A1A1A"}))},Me=function(){return a.createElement("svg",{width:"42",height:"53",viewBox:"0 0 42 53",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_88_23735)"},a.createElement("path",{d:"M3.5 0.419922H38.5C40.201 0.419922 41.5801 1.79896 41.5801 3.5V49C41.5801 50.701 40.201 52.0801 38.5 52.0801H3.5C1.79896 52.0801 0.419922 50.701 0.419922 49V3.5C0.419922 1.79896 1.79896 0.419922 3.5 0.419922Z",stroke:"#1A1A1A",strokeWidth:"0.84",strokeLinejoin:"bevel"}),a.createElement("rect",{width:"9.8",height:"9.8",transform:"translate(6.2998 6.29999)",fill:"#1A1A1A",fillOpacity:"0.6"}),a.createElement("rect",{width:"9.8",height:"9.8",transform:"translate(16.0996 6.29999)",fill:"#1A1A1A",fillOpacity:"0.45"}),a.createElement("rect",{width:"9.8",height:"9.8",transform:"translate(25.9004 6.29999)",fill:"#1A1A1A",fillOpacity:"0.3"}),a.createElement("rect",{width:"9.8",height:"9.8",transform:"translate(6.2998 16.1)",fill:"#1A1A1A",fillOpacity:"0.45"}),a.createElement("rect",{width:"9.8",height:"9.8",transform:"translate(16.0996 16.1)",fill:"#1A1A1A",fillOpacity:"0.3"}),a.createElement("rect",{width:"9.8",height:"9.8",transform:"translate(25.9004 16.1)",fill:"#1A1A1A",fillOpacity:"0.15"}),a.createElement("rect",{width:"9.8",height:"9.8",transform:"translate(6.2998 25.9)",fill:"#1A1A1A",fillOpacity:"0.3"}),a.createElement("rect",{width:"9.8",height:"9.8",transform:"translate(16.0996 25.9)",fill:"#1A1A1A",fillOpacity:"0.15"}),a.createElement("g",{clipPath:"url(#clip1_88_23735)"},a.createElement("rect",{width:"9.8",height:"9.8",transform:"translate(25.9004 25.9)",fill:"#1A1A1A",fillOpacity:"0.05"})),a.createElement("g",{clipPath:"url(#clip2_88_23735)"},a.createElement("path",{d:"M30.2861 -0.699951H42.8861V11.9H33.7861C31.8531 11.9 30.2861 10.333 30.2861 8.40005V-0.699951Z",fill:"#F8F8F8"}),a.createElement("path",{d:"M30.2861 -0.699951L42.8861 11.9H30.2861V-0.699951Z",fill:"#1A1A1A"}))),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_88_23735"},a.createElement("rect",{width:"42",height:"52.5",fill:"white"})),a.createElement("clipPath",{id:"clip1_88_23735"},a.createElement("rect",{width:"9.8",height:"9.8",fill:"white",transform:"translate(25.9004 25.9)"})),a.createElement("clipPath",{id:"clip2_88_23735"},a.createElement("path",{d:"M30.2861 -0.699951H42.8861V11.9H33.7861C31.8531 11.9 30.2861 10.333 30.2861 8.40005V-0.699951Z",fill:"white"}))))},Ie=function(){return a.createElement("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"26",height:"26",rx:"10",fill:"#1A1A1A"}),a.createElement("g",{clipPath:"url(#clip0_76_44794)"},a.createElement("path",{d:"M19.5857 11.3068C19.3479 11.1452 19.0226 11.2107 18.8612 11.4515C17.9158 12.8783 15.9079 12.9549 15.8034 12.9549H15.755C13.2808 12.9549 12.3346 15.0709 12.2981 15.1559C12.1851 15.4223 12.3066 15.7285 12.5639 15.8451C12.6319 15.8732 12.7083 15.8936 12.7737 15.8936C12.975 15.8936 13.1644 15.7804 13.2519 15.5788C13.2604 15.5592 13.9119 14.1043 15.5818 14.0107V16.7189C15.5138 17.3034 15.2395 17.7629 14.7494 18.1057C14.2423 18.4605 13.5662 18.6418 12.7338 18.6418C11.74 18.6418 10.9272 18.2989 10.3275 17.6182C9.71596 16.9376 9.41018 15.9736 9.41018 14.728L9.41868 11.7416C9.46709 10.6415 9.76098 9.77027 10.3275 9.14917C10.9391 8.46852 11.74 8.12564 12.7338 8.12564C13.5662 8.12564 14.2431 8.30686 14.7494 8.66165C15.2556 9.01645 15.5418 9.50396 15.5903 10.1361V10.2042C15.5903 10.5675 15.8875 10.8653 16.2502 10.8653C16.6129 10.8653 16.9102 10.5675 16.9102 10.2042V10.1361C16.8142 9.18916 16.3836 8.44299 15.6106 7.8789C14.8377 7.308 13.8754 7.02979 12.7083 7.02979C11.3238 7.02979 10.206 7.48923 9.35667 8.39705C8.55486 9.24787 8.13357 10.3675 8.08515 11.7459C8.08515 11.842 8.07666 11.9356 8.07666 12.0326L8.08515 14.7212H8.07666C8.07666 16.2416 8.50729 17.4583 9.35667 18.3652C10.206 19.2722 11.3247 19.7325 12.7092 19.7325C13.8754 19.7325 14.8386 19.4543 15.614 18.8902C16.3216 18.3737 16.7412 17.6931 16.8856 16.8508L16.9136 13.8474C17.7825 13.6372 18.9665 13.1582 19.714 12.0292C19.9008 11.7935 19.8354 11.4677 19.5866 11.306L19.5857 11.3068Z",fill:"white"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_76_44794"},a.createElement("rect",{width:"12",height:"12.9231",fill:"white",transform:"translate(8 7)"}))))},ze=function(){return a.createElement("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"26",height:"26",rx:"10",fill:"#F15A2B"}),a.createElement("path",{d:"M10.567 11.5066H18.1434V9.3921H10.5885C9.58501 9.35626 8.61736 9.75766 7.92208 10.4816C6.27348 12.2234 6.23047 16.6101 6.23047 16.6101H18.0861V12.6391H15.9572V14.4884H8.50267C8.55285 13.8003 8.86823 12.5675 9.4775 11.9295C9.76421 11.6356 10.1656 11.4779 10.5742 11.5066H10.567Z",fill:"white"}))},He=function(){return a.createElement("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"26",height:"26",rx:"10",fill:"#2D378F"}),a.createElement("g",{clipPath:"url(#clip0_76_52648)"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0911 7.44446C12.9978 7.44446 14.66 8.48668 15.5333 10.0311C15.7444 9.99557 15.9622 9.97557 16.1822 9.97557C18.2911 9.97557 20 11.6756 20 13.7733C20 15.8711 18.3244 17.5378 16.2444 17.5711H16.1822H15.88V17.84C15.88 18.2333 15.56 18.5533 15.1644 18.5533H10.8689C10.4733 18.5533 10.1533 18.2356 10.1533 17.84V17.4845C7.78889 17.0511 6 14.9867 6 12.5089C6 9.71112 8.28 7.44446 11.0911 7.44446ZM8.93333 10.3622C8.87556 10.42 8.85111 10.5022 8.87111 10.5822L8.87778 10.6045L9.77111 13.2733C9.80444 13.3689 9.89778 13.4333 10.0022 13.4289C10.0978 13.4289 10.1822 13.3689 10.2178 13.2822L10.2244 13.2622L10.5444 12.1978C10.5756 12.0933 10.6556 12.0089 10.7556 11.9711L10.78 11.9622L11.8489 11.6422C11.9467 11.6133 12.0156 11.5245 12.0156 11.4222C12.0156 11.3267 11.9622 11.24 11.8756 11.2022L11.8556 11.1956L9.17556 10.3067C9.09111 10.2778 8.99778 10.3 8.93333 10.3645V10.3622Z",fill:"white"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_76_52648"},a.createElement("rect",{width:"14",height:"11.1111",fill:"white",transform:"translate(6 7.44446)"}))))},Be=function(){return a.createElement("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"26",height:"26",rx:"10",fill:"#FF9900"}),a.createElement("g",{clipPath:"url(#clip0_76_52659)"},a.createElement("path",{d:"M9.29071 12.4955C9.28503 12.679 9.30762 12.8625 9.35293 13.0399C9.40379 13.1928 9.466 13.3396 9.5339 13.4804C9.55649 13.5233 9.57353 13.5721 9.57353 13.621C9.56785 13.6945 9.52836 13.7678 9.46614 13.8045L9.10999 14.0615C9.06482 14.0921 9.01383 14.1166 8.96297 14.1166C8.90075 14.1104 8.83853 14.0798 8.79335 14.0309C8.7199 13.9453 8.64632 13.8474 8.58978 13.7434C8.53324 13.6393 8.47671 13.5231 8.41449 13.3825C7.97353 13.9453 7.41937 14.2268 6.75227 14.2268C6.27737 14.2268 5.8985 14.08 5.62149 13.7863C5.34447 13.4925 5.20312 13.101 5.20312 12.6117C5.20312 12.0917 5.37274 11.6696 5.71766 11.3514C6.06257 11.0333 6.52056 10.8743 7.10286 10.8743C7.30075 10.8743 7.50431 10.8926 7.7022 10.9232C7.91145 10.9538 8.12624 11.0027 8.3524 11.0579V10.6114C8.3524 10.1464 8.26191 9.82225 8.08661 9.63258C7.91132 9.44291 7.60035 9.35115 7.16495 9.35115C6.96138 9.35115 6.75227 9.37559 6.55438 9.43062C6.34513 9.48565 6.1417 9.55297 5.94381 9.63858C5.88159 9.66917 5.81383 9.69361 5.74593 9.71805C5.71766 9.73034 5.68371 9.73634 5.65544 9.73634C5.57631 9.73634 5.53668 9.67517 5.53668 9.54668V9.24695C5.531 9.17349 5.54804 9.10016 5.57631 9.03285C5.62149 8.97782 5.67248 8.93494 5.73456 8.90435C5.96072 8.782 6.19824 8.69024 6.44698 8.62907C6.73509 8.5496 7.03483 8.51287 7.32875 8.51287C8.00154 8.51287 8.49348 8.67809 8.81013 9.0084C9.12677 9.33871 9.27935 9.8404 9.27935 10.5133V12.4953H9.29071V12.4955ZM6.9952 13.4252C7.19309 13.4252 7.39097 13.3885 7.5775 13.3152C7.78674 13.2357 7.96759 13.101 8.11462 12.9237C8.20511 12.8136 8.27287 12.679 8.30682 12.5322C8.34645 12.361 8.36336 12.1774 8.36336 11.9999V11.7429C8.19375 11.7001 8.01845 11.6635 7.84315 11.6389C7.66785 11.6144 7.48701 11.6021 7.31171 11.6021C6.93285 11.6021 6.65583 11.6816 6.46931 11.8468C6.28278 12.0121 6.19229 12.2445 6.19229 12.5503C6.19229 12.8379 6.26019 13.052 6.40154 13.1988C6.54289 13.3456 6.73509 13.4252 6.9952 13.4252ZM11.5354 14.086C11.4619 14.0921 11.3826 14.0737 11.3206 14.0248C11.264 13.9575 11.2188 13.878 11.2018 13.7863L9.87314 9.05729C9.84487 8.97782 9.82796 8.89821 9.82228 8.81259C9.8166 8.73912 9.86191 8.67195 9.92968 8.65966H10.5177C10.6251 8.65966 10.6986 8.67795 10.7381 8.72083C10.7778 8.76371 10.8173 8.84318 10.8512 8.95938L11.7955 13.0091L12.6775 8.95938C12.7058 8.83703 12.7397 8.75756 12.7849 8.72083C12.8528 8.67795 12.9319 8.65351 13.0111 8.65966H13.4634C13.5708 8.65966 13.6443 8.67795 13.6895 8.72083C13.7461 8.78815 13.7857 8.86762 13.7969 8.95938L14.6903 13.0582L15.6685 8.95938C15.6854 8.86762 15.7251 8.78815 15.7816 8.72083C15.8495 8.67795 15.9229 8.65351 16.0021 8.65966H16.5278C16.5957 8.64736 16.6578 8.70253 16.6692 8.77586V8.81259C16.6692 8.84318 16.6635 8.87991 16.6578 8.9105C16.6465 8.96553 16.6352 9.01455 16.6182 9.06343L15.2556 13.7923C15.2216 13.9146 15.1821 13.9941 15.1368 14.0308C15.0746 14.0737 14.9955 14.0981 14.922 14.092H14.4358C14.3284 14.092 14.2548 14.0737 14.2096 14.0308C14.1531 13.9635 14.1134 13.8779 14.1022 13.7861L13.2258 9.84025L12.3552 13.78C12.3438 13.8717 12.3043 13.9573 12.2478 14.0247C12.1799 14.0735 12.1007 14.092 12.0216 14.0858H11.5354V14.086ZM18.8007 14.2511C18.5067 14.2511 18.2128 14.2143 17.9301 14.141C17.6474 14.0675 17.4269 13.9881 17.2799 13.8963C17.2064 13.8596 17.1442 13.7984 17.1046 13.7251C17.082 13.6701 17.0706 13.615 17.0706 13.5538V13.2418C17.0706 13.1133 17.1158 13.0522 17.2006 13.0522C17.2346 13.0522 17.2685 13.0583 17.3023 13.0705C17.3363 13.0828 17.3871 13.1072 17.4437 13.1316C17.6416 13.2295 17.8508 13.2969 18.0656 13.3457C18.2861 13.3946 18.5122 13.4192 18.7384 13.4192C19.0945 13.4192 19.3717 13.3519 19.5639 13.2174C19.7504 13.095 19.8635 12.8748 19.8579 12.6362C19.8636 12.4772 19.8071 12.3242 19.7052 12.208C19.6035 12.0918 19.4112 11.9878 19.1342 11.8899L18.3144 11.6146C17.9017 11.4739 17.5963 11.2658 17.4097 10.9906C17.2288 10.7336 17.127 10.4277 17.127 10.1035C17.1214 9.86498 17.1722 9.63243 17.2797 9.42447C17.3815 9.22866 17.5173 9.05743 17.6869 8.92279C17.8622 8.776 18.0601 8.67195 18.2749 8.60463C18.5067 8.53116 18.7441 8.49457 18.9873 8.50058C19.1117 8.50058 19.2417 8.50672 19.3661 8.52502C19.4961 8.54331 19.6149 8.5679 19.7336 8.59234C19.8524 8.61678 19.9541 8.65351 20.056 8.69024C20.1408 8.72083 20.2199 8.75756 20.2935 8.8003C20.3614 8.83703 20.4179 8.88591 20.4631 8.95323C20.5027 9.01441 20.5196 9.08173 20.514 9.15505V9.44262C20.514 9.57112 20.4688 9.63844 20.384 9.63844C20.3105 9.62615 20.2369 9.6017 20.1692 9.56497C19.8299 9.39975 19.4568 9.32028 19.0836 9.32642C18.7613 9.32642 18.5068 9.38145 18.3315 9.49765C18.1562 9.61385 18.0657 9.79123 18.0657 10.0421C18.0601 10.2073 18.1223 10.3662 18.2354 10.4764C18.3484 10.5926 18.5577 10.7088 18.8573 10.8129L19.6602 11.0882C20.0673 11.2288 20.3612 11.4246 20.5365 11.6755C20.7118 11.9202 20.8023 12.226 20.7967 12.5319C20.8023 12.7766 20.7515 13.0213 20.6496 13.2415C20.5479 13.4495 20.4066 13.633 20.2369 13.7798C20.0504 13.9389 19.8355 14.0551 19.6093 14.1224C19.3492 14.208 19.0779 14.2509 18.8007 14.2509V14.2511Z",fill:"white"}),a.createElement("path",{d:"M19.8694 17.2243C18.0093 18.7109 15.3066 19.5 12.9828 19.5C9.72617 19.5 6.79169 18.1969 4.57531 16.0314C4.40002 15.8602 4.5584 15.6276 4.76752 15.7623C7.16488 17.2672 10.1218 18.1786 13.1807 18.1786C15.3857 18.1663 17.5682 17.6831 19.598 16.7593C19.909 16.6064 20.1748 16.9796 19.8694 17.2243Z",fill:"white"}),a.createElement("path",{d:"M20.6439 16.2699C20.4064 15.9396 19.072 16.1109 18.4672 16.1905C18.2862 16.2149 18.2579 16.0437 18.422 15.9152C19.485 15.1076 21.232 15.3402 21.4356 15.6093C21.6392 15.8785 21.3791 17.775 20.3839 18.6803C20.2312 18.821 20.0843 18.7476 20.1521 18.5641C20.3783 17.9585 20.8814 16.5943 20.644 16.2701L20.6439 16.2699Z",fill:"white"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_76_52659"},a.createElement("rect",{width:"17",height:"11",fill:"white",transform:"translate(4.5 8.5)"}))))},De=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.3504 6.33545C11.3504 6.07568 11.4324 5.9139 11.5965 5.8501C11.7606 5.79085 11.9474 5.83643 12.157 5.98682L14.3787 7.57275C14.5473 7.6958 14.6294 7.83936 14.6248 8.00342C14.6248 8.17204 14.5428 8.31787 14.3787 8.44092L12.157 10.02C11.9474 10.1704 11.7606 10.2114 11.5965 10.1431C11.4324 10.0793 11.3504 9.92204 11.3504 9.67139L11.3504 6.33545ZM1.37677 11.353C1.37677 11.1753 1.43146 10.9998 1.54084 10.8267L1.73224 10.5464C1.97378 10.1818 2.27456 9.81038 2.63459 9.43213C2.99005 9.05387 3.38654 8.70752 3.82404 8.39307C4.2661 8.07861 4.72866 7.8234 5.21173 7.62744C5.69936 7.43603 6.19155 7.34033 6.6883 7.34033L12.3006 7.34033C12.4829 7.34033 12.6401 7.40413 12.7723 7.53174C12.9044 7.6639 12.9705 7.82113 12.9705 8.00342C12.9705 8.18571 12.9044 8.34066 12.7723 8.46826C12.6401 8.60042 12.4829 8.6665 12.3006 8.6665L6.6883 8.6665C6.30093 8.6665 5.91584 8.75081 5.53302 8.91943C5.15477 9.09261 4.79702 9.31364 4.45978 9.58252C4.12254 9.8514 3.8172 10.1362 3.54376 10.437C3.27488 10.7378 3.05158 11.0203 2.87384 11.2847L2.63459 11.6538C2.55255 11.7769 2.45913 11.868 2.35431 11.9272C2.24494 11.9865 2.13556 12.0161 2.02619 12.0161C1.85301 12.0161 1.70262 11.9569 1.57501 11.8384C1.44285 11.7199 1.37677 11.5581 1.37677 11.353ZM1.37677 4.65381C1.37677 4.44873 1.44057 4.28467 1.56818 4.16162C1.69578 4.04313 1.84617 3.98389 2.01935 3.98389C2.13328 3.98389 2.24494 4.01351 2.35431 4.07275C2.45913 4.132 2.55255 4.22314 2.63459 4.34619L2.87384 4.72217C3.05158 4.98649 3.27489 5.26904 3.54376 5.56982C3.81264 5.8706 4.11571 6.15544 4.45294 6.42432C4.79474 6.6932 5.15477 6.91195 5.53302 7.08057C5.91128 7.25374 6.29637 7.34033 6.6883 7.34033L12.2938 7.34033C12.4806 7.34033 12.6401 7.40413 12.7723 7.53174C12.9044 7.6639 12.9705 7.82113 12.9705 8.00342C12.9705 8.18571 12.9044 8.34066 12.7723 8.46826C12.6401 8.60042 12.4806 8.6665 12.2938 8.6665L6.6883 8.6665C6.19155 8.6665 5.69936 8.5708 5.21173 8.37939C4.72866 8.18799 4.2661 7.93278 3.82404 7.61377C3.38654 7.29476 2.99005 6.9484 2.63459 6.57471C2.27456 6.20101 1.97378 5.83187 1.73224 5.46728L1.54084 5.18018C1.43146 5.007 1.37677 4.83154 1.37677 4.65381Z",fill:"#1A1A1A"}))},Ve=function(){return a.createElement("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M6 9.375L0 4.6875L6 0L12 4.6875L10.9375 5.5625L6 9.375ZM6 11.0625L10.9375 7.1875L12 8.0625L6 12.75L0 8.0625L1.0625 7.25L6 11.0625ZM9.8125 4.6875L6 1.6875L2.1875 4.6875L6 7.6875L9.8125 4.6875Z",fill:"black"}))},Ze=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_6544_5409)"},a.createElement("path",{d:"M7.70801 16.0308C7.39551 16.0308 7.15381 15.9062 6.98291 15.6572C6.81201 15.4082 6.72656 15.0542 6.72656 14.5952V8.38428C6.72656 8.09131 6.75342 7.84961 6.80713 7.65918C6.86572 7.46387 6.96582 7.29297 7.10742 7.14648C7.24902 7 7.44434 6.85596 7.69336 6.71436L13.0767 3.60889C13.438 3.39893 13.7554 3.29395 14.0288 3.29395C14.3364 3.29395 14.5781 3.41846 14.7539 3.66748C14.9297 3.91162 15.0176 4.26807 15.0176 4.73682V10.9478C15.0176 11.2407 14.9883 11.4849 14.9297 11.6802C14.8711 11.8755 14.771 12.0464 14.6294 12.1929C14.4927 12.3345 14.3047 12.4761 14.0654 12.6177L8.68213 15.7158C8.31104 15.9258 7.98633 16.0308 7.70801 16.0308ZM8.20605 14.2949C8.22559 14.3047 8.24756 14.3022 8.27197 14.2876L13.2744 11.3726C13.4551 11.2603 13.5454 11.1016 13.5454 10.8965L13.582 5.0957C13.582 5.04688 13.5674 5.02002 13.5381 5.01514C13.5137 5.01025 13.4893 5.01758 13.4648 5.03711L8.48438 7.9668C8.30371 8.07422 8.21338 8.23291 8.21338 8.44287L8.15479 14.229C8.15479 14.2681 8.17188 14.29 8.20605 14.2949ZM4.71973 14.3242C4.45117 14.3242 4.229 14.207 4.05322 13.9727C3.88232 13.7432 3.79688 13.4429 3.79688 13.0718V6.58984C3.79688 6.28711 3.81641 6.05518 3.85547 5.89404C3.89453 5.72803 3.9751 5.58643 4.09717 5.46924C4.22412 5.35205 4.41455 5.22266 4.66846 5.08105L10.3521 1.80713C10.606 1.66553 10.8501 1.59473 11.0845 1.59473C11.3384 1.59473 11.5459 1.67529 11.707 1.83643C11.873 1.99756 11.9585 2.22217 11.9634 2.51025L5.66455 6.13574C5.5376 6.21387 5.44238 6.28467 5.37891 6.34814C5.31543 6.40674 5.27148 6.47998 5.24707 6.56787C5.22754 6.65088 5.21777 6.76807 5.21777 6.91943V14.1777C5.05176 14.2754 4.88574 14.3242 4.71973 14.3242ZM1.90723 12.6982C1.62891 12.6982 1.4043 12.5835 1.2334 12.354C1.06738 12.1196 0.984375 11.8169 0.984375 11.4458V4.96387C0.984375 4.66113 1.00391 4.4292 1.04297 4.26807C1.08203 4.10205 1.1626 3.96289 1.28467 3.85059C1.41162 3.7334 1.60449 3.60156 1.86328 3.45508L7.53223 0.188477C7.78125 0.0419922 8.02783 -0.03125 8.27197 -0.03125C8.521 -0.03125 8.72607 0.0493164 8.88721 0.210449C9.05322 0.366699 9.14111 0.588867 9.15088 0.876953L2.85205 4.50977C2.7251 4.58301 2.62744 4.65137 2.55908 4.71484C2.49561 4.77832 2.45166 4.854 2.42725 4.94189C2.40771 5.02979 2.39795 5.14453 2.39795 5.28613V12.5518C2.23682 12.6494 2.07324 12.6982 1.90723 12.6982Z",fill:"#1A1A1A"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_6544_5409"},a.createElement("rect",{width:"16",height:"16",fill:"white"}))))},Fe=function(){return a.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M10.672 -9.53674e-07C11.0347 -9.53674e-07 11.344 0.133333 11.6 0.4C11.8667 0.656 12 0.965333 12 1.328V10.672C12 11.0347 11.8667 11.3493 11.6 11.616C11.344 11.872 11.0347 12 10.672 12H1.328C0.965333 12 0.650667 11.872 0.384 11.616C0.128 11.3493 0 11.0347 0 10.672V1.328C0 0.965333 0.128 0.656 0.384 0.4C0.650667 0.133333 0.965333 -9.53674e-07 1.328 -9.53674e-07H10.672ZM10.672 1.328H1.328V10.672H10.672V1.328ZM5.424 8.48L4 6.752L2 9.328H10L7.424 5.904L5.424 8.48Z",fill:"#1A1A1A"}))},Re=function(){return a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",fill:"white"}),a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",stroke:"#F2F2F2"}),a.createElement("g",{clipPath:"url(#clip0_7509_17642)"},a.createElement("g",{clipPath:"url(#clip1_7509_17642)"},a.createElement("path",{d:"M9.68786 11.3189C9.77974 11.3751 9.88182 11.4006 9.99411 11.4006C10.1064 11.4006 10.2034 11.3751 10.2953 11.3189C10.3871 11.2628 10.4586 11.1913 10.5147 11.0994C10.5709 11.0076 10.5964 10.9055 10.5964 10.7932C10.5964 10.6809 10.5709 10.5839 10.5147 10.492C10.4586 10.4002 10.3871 10.3236 10.2953 10.2675C10.2034 10.2113 10.1013 10.1858 9.99411 10.1858C9.88693 10.1858 9.77464 10.2113 9.68786 10.2675C9.59599 10.3236 9.52453 10.4002 9.46839 10.492C9.41224 10.5839 9.38672 10.686 9.38672 10.7932C9.38672 10.9055 9.41224 11.0076 9.46839 11.0994C9.52453 11.1913 9.59599 11.2628 9.68786 11.3189Z",fill:"black"}),a.createElement("path",{d:"M13.5878 8.40952C13.2765 8.09817 12.8324 7.93994 12.2556 7.93994H9.73927C9.45344 7.93994 9.19313 7.98077 8.96854 8.06244C8.74396 8.14411 8.5551 8.2615 8.40708 8.40952C8.09063 8.72088 7.9375 9.16494 7.9375 9.74682V12.2632C7.9375 12.845 8.09573 13.2891 8.40708 13.5954C8.5551 13.7485 8.74396 13.8608 8.96854 13.9424C9.19313 14.0241 9.44833 14.0649 9.73927 14.0649H12.2607C12.5517 14.0649 12.8069 14.0241 13.0366 13.9424C13.2611 13.8608 13.4449 13.7485 13.598 13.5954C13.9145 13.2891 14.0676 12.845 14.0676 12.2632V9.74171C14.0676 9.15984 13.9094 8.71577 13.598 8.40442L13.5878 8.40952ZM8.53469 9.75192C8.53469 9.34869 8.63677 9.04244 8.84094 8.84338C9.0451 8.63411 9.35135 8.53202 9.74948 8.53202H12.2454C12.4496 8.53202 12.6231 8.55755 12.7762 8.60859C12.9294 8.65963 13.0519 8.73619 13.154 8.83827C13.3632 9.04244 13.4653 9.34359 13.4653 9.74682V12.2428C13.4653 12.3193 13.4602 12.3908 13.45 12.4622L12.2352 11.324C12.1791 11.273 12.1178 11.2321 12.0566 11.2066C11.9902 11.1811 11.929 11.1658 11.8626 11.1658C11.7911 11.1658 11.7248 11.176 11.6635 11.2015C11.6023 11.227 11.541 11.2628 11.4849 11.3138L10.3467 12.3346L9.88219 11.911C9.83115 11.865 9.775 11.8293 9.71375 11.8038C9.6576 11.7783 9.59635 11.7681 9.54021 11.7681C9.48406 11.7681 9.42792 11.7783 9.37177 11.8038C9.32073 11.8293 9.26969 11.8599 9.21354 11.9059L8.5551 12.498C8.5449 12.4163 8.53979 12.3295 8.53979 12.2325V9.75192H8.53469Z",fill:"black"}))),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_7509_17642"},a.createElement("rect",{width:"7",height:"7",fill:"white",transform:"translate(7.5 7.5)"})),a.createElement("clipPath",{id:"clip1_7509_17642"},a.createElement("rect",{width:"6.125",height:"6.1199",fill:"white",transform:"translate(7.9375 7.93994)"}))))},Ue=function(){return a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",fill:"white"}),a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",stroke:"#F2F2F2"}),a.createElement("g",{clipPath:"url(#clip0_7509_17644)"},a.createElement("path",{d:"M8.56318 11.5924C8.7338 11.6967 8.92339 11.7441 9.13193 11.7441C9.34047 11.7441 9.52057 11.6967 9.6912 11.5924C9.86182 11.4881 9.99453 11.3554 10.0988 11.1848C10.2031 11.0142 10.2505 10.8246 10.2505 10.6161C10.2505 10.4075 10.2031 10.2274 10.0988 10.0568C9.99453 9.88616 9.86182 9.74397 9.6912 9.6397C9.52057 9.53543 9.33099 9.48804 9.13193 9.48804C8.93286 9.48804 8.72432 9.53543 8.56318 9.6397C8.39255 9.74397 8.25984 9.88616 8.15557 10.0568C8.0513 10.2274 8.00391 10.417 8.00391 10.6161C8.00391 10.8246 8.0513 11.0142 8.15557 11.1848C8.25984 11.3554 8.39255 11.4881 8.56318 11.5924Z",fill:"black"}),a.createElement("path",{d:"M15.8059 6.18922C15.2277 5.61099 14.403 5.31714 13.3319 5.31714H8.65865C8.12781 5.31714 7.64438 5.39297 7.22729 5.54464C6.81021 5.69631 6.45948 5.91433 6.18458 6.18922C5.59688 6.76745 5.3125 7.59214 5.3125 8.67276V13.346C5.3125 14.4266 5.60635 15.2513 6.18458 15.8201C6.45948 16.1044 6.81021 16.313 7.22729 16.4646C7.64438 16.6163 8.11833 16.6921 8.65865 16.6921H13.3414C13.8817 16.6921 14.3556 16.6163 14.7822 16.4646C15.1993 16.313 15.5405 16.1044 15.8249 15.8201C16.4126 15.2513 16.697 14.4266 16.697 13.346V8.66328C16.697 7.58266 16.4031 6.75797 15.8249 6.17974L15.8059 6.18922ZM6.42156 8.68224C6.42156 7.93339 6.61115 7.36464 6.99031 6.99495C7.36948 6.60631 7.93823 6.41672 8.6776 6.41672H13.3129C13.6921 6.41672 14.0144 6.46412 14.2987 6.55891C14.5831 6.6537 14.8106 6.79589 15.0002 6.98547C15.3889 7.36464 15.5784 7.92391 15.5784 8.67276V13.3081C15.5784 13.4503 15.569 13.583 15.55 13.7157L13.294 11.6018C13.1897 11.507 13.0759 11.4312 12.9622 11.3838C12.839 11.3364 12.7252 11.308 12.602 11.308C12.4693 11.308 12.346 11.3269 12.2323 11.3743C12.1185 11.4217 12.0048 11.4881 11.9005 11.5829L9.78667 13.4787L8.92406 12.6919C8.82927 12.6066 8.725 12.5403 8.61125 12.4929C8.50698 12.4455 8.39323 12.4265 8.28896 12.4265C8.18469 12.4265 8.08042 12.4455 7.97615 12.4929C7.88135 12.5403 7.78656 12.5971 7.68229 12.6825L6.45948 13.782C6.44052 13.6304 6.43104 13.4692 6.43104 13.2891V8.68224H6.42156Z",fill:"black"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_7509_17644"},a.createElement("rect",{width:"11.375",height:"11.3655",fill:"white",transform:"translate(5.3125 5.31714)"}))))},Ge=function(){return a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",fill:"white"}),a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",stroke:"#F2F2F2"}),a.createElement("g",{clipPath:"url(#clip0_7509_17582)"},a.createElement("path",{d:"M8.00083 11.7289C8.21083 11.8572 8.44417 11.9156 8.70083 11.9156C8.9575 11.9156 9.17917 11.8572 9.38917 11.7289C9.59917 11.6006 9.7625 11.4372 9.89083 11.2272C10.0192 11.0172 10.0775 10.7839 10.0775 10.5272C10.0775 10.2706 10.0192 10.0489 9.89083 9.83892C9.7625 9.62892 9.59917 9.45392 9.38917 9.32558C9.17917 9.19725 8.94583 9.13892 8.70083 9.13892C8.45583 9.13892 8.19917 9.19725 8.00083 9.32558C7.79083 9.45392 7.6275 9.62892 7.49917 9.83892C7.37083 10.0489 7.3125 10.2822 7.3125 10.5272C7.3125 10.7839 7.37083 11.0172 7.49917 11.2272C7.6275 11.4372 7.79083 11.6006 8.00083 11.7289Z",fill:"black"}),a.createElement("path",{d:"M16.915 5.07895C16.2033 4.36728 15.1883 4.00562 13.87 4.00562H8.11833C7.465 4.00562 6.87 4.09895 6.35667 4.28562C5.84333 4.47228 5.41167 4.74062 5.07333 5.07895C4.35 5.79062 4 6.80562 4 8.13561V13.8873C4 15.2173 4.36167 16.2323 5.07333 16.9323C5.41167 17.2823 5.84333 17.5389 6.35667 17.7256C6.87 17.9123 7.45333 18.0056 8.11833 18.0056H13.8817C14.5467 18.0056 15.13 17.9123 15.655 17.7256C16.1683 17.5389 16.5883 17.2823 16.9383 16.9323C17.6617 16.2323 18.0117 15.2173 18.0117 13.8873V8.12395C18.0117 6.79395 17.65 5.77895 16.9383 5.06728L16.915 5.07895ZM5.365 8.14728C5.365 7.22562 5.59833 6.52562 6.065 6.07062C6.53167 5.59228 7.23167 5.35895 8.14167 5.35895H13.8467C14.3133 5.35895 14.71 5.41728 15.06 5.53395C15.41 5.65062 15.69 5.82562 15.9233 6.05895C16.4017 6.52562 16.635 7.21395 16.635 8.13561V13.8406C16.635 14.0156 16.6233 14.1789 16.6 14.3423L13.8233 11.7406C13.695 11.6239 13.555 11.5306 13.415 11.4723C13.2633 11.4139 13.1233 11.3789 12.9717 11.3789C12.8083 11.3789 12.6567 11.4023 12.5167 11.4606C12.3767 11.5189 12.2367 11.6006 12.1083 11.7173L9.50667 14.0506L8.445 13.0823C8.32833 12.9773 8.2 12.8956 8.06 12.8373C7.93167 12.7789 7.79167 12.7556 7.66333 12.7556C7.535 12.7556 7.40667 12.7789 7.27833 12.8373C7.16167 12.8956 7.045 12.9656 6.91667 13.0706L5.41167 14.4239C5.38833 14.2373 5.37667 14.0389 5.37667 13.8173V8.14728H5.365Z",fill:"black"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_7509_17582"},a.createElement("rect",{width:"14",height:"13.9883",fill:"white",transform:"translate(4 4.00562)"}))))},We=function(){return a.createElement("svg",{width:"14",height:"6",viewBox:"0 0 14 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M2.40008 2.4C3.02941 1.856 3.72808 1.43467 4.49608 1.136C5.29608 0.826669 6.12808 0.672003 6.99208 0.672003C8.00541 0.672003 8.97075 0.880003 9.88808 1.296C10.7734 1.70134 11.5414 2.272 12.1921 3.008C12.8427 3.73334 13.3227 4.56 13.6321 5.488L12.0641 6C11.8187 5.28534 11.4454 4.65067 10.9441 4.096C10.4427 3.54134 9.84541 3.10934 9.15208 2.8C8.46941 2.49067 7.74941 2.336 6.99208 2.336C6.35208 2.336 5.73875 2.448 5.15208 2.672C4.57608 2.88534 4.05341 3.19467 3.58408 3.6L6.00008 6H8.01086e-05V2.86102e-06L2.40008 2.4Z",fill:"#1A1A1A"}))},qe=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_7502_10076)"},a.createElement("path",{d:"M8.00049 15.1997C7.00439 15.1997 6.07178 15.0117 5.20264 14.6357C4.33838 14.2646 3.57422 13.7471 2.91016 13.083C2.25098 12.4238 1.7334 11.6621 1.35742 10.7979C0.986328 9.92871 0.800781 8.99609 0.800781 8C0.800781 7.13574 0.944824 6.32031 1.23291 5.55371C1.52588 4.78223 1.92139 4.08887 2.41943 3.47363C2.58057 3.25879 2.77344 3.1416 2.99805 3.12207C3.22754 3.09766 3.42041 3.16113 3.57666 3.3125C3.74268 3.47363 3.81836 3.6543 3.80371 3.85449C3.79395 4.0498 3.7207 4.24512 3.58398 4.44043C3.19336 4.91895 2.8833 5.46094 2.65381 6.06641C2.4292 6.66699 2.31689 7.31396 2.31689 8.00732C2.31689 8.78857 2.46338 9.52344 2.75635 10.2119C3.04932 10.8955 3.45703 11.4985 3.97949 12.021C4.50195 12.5386 5.10498 12.9438 5.78857 13.2368C6.47705 13.5347 7.21436 13.6836 8.00049 13.6836C8.78662 13.6836 9.52148 13.5347 10.2051 13.2368C10.8936 12.9438 11.499 12.5386 12.0215 12.021C12.5439 11.4985 12.9517 10.8955 13.2446 10.2119C13.5376 9.52344 13.6841 8.78613 13.6841 8C13.6841 7.21387 13.5449 6.49121 13.2666 5.83203C12.9883 5.16797 12.6074 4.58691 12.124 4.08887C11.6406 3.58594 11.0913 3.18555 10.4761 2.8877C9.86572 2.58984 9.22607 2.41162 8.55713 2.35303V3.59814C8.55713 3.78369 8.49854 3.93994 8.38135 4.06689C8.26416 4.19385 8.11279 4.25732 7.92725 4.25732C7.7417 4.25732 7.58789 4.19385 7.46582 4.06689C7.34863 3.93994 7.29004 3.78369 7.29004 3.59814V1.50342C7.29004 1.28857 7.35352 1.11768 7.48047 0.990723C7.60742 0.86377 7.7832 0.800293 8.00781 0.800293C8.99902 0.800293 9.9292 0.988281 10.7983 1.36426C11.6675 1.73535 12.4316 2.25049 13.0908 2.90967C13.75 3.56885 14.2651 4.33301 14.6362 5.20215C15.0122 6.07129 15.2002 7.00391 15.2002 8C15.2002 8.99609 15.0122 9.92871 14.6362 10.7979C14.2651 11.6621 13.75 12.4238 13.0908 13.083C12.4316 13.7471 11.6675 14.2646 10.7983 14.6357C9.9292 15.0117 8.99658 15.1997 8.00049 15.1997ZM8.00049 9.19385C7.78564 9.19385 7.58789 9.14014 7.40723 9.03271C7.22656 8.92041 7.07764 8.77148 6.96045 8.58594L4.84375 5.34131C4.75098 5.19482 4.72412 5.06055 4.76318 4.93848C4.80713 4.81641 4.89014 4.73584 5.01221 4.69678C5.13428 4.65771 5.26855 4.68457 5.41504 4.77734L8.65967 7.01123C8.82568 7.12354 8.95508 7.26758 9.04785 7.44336C9.14551 7.61426 9.19434 7.7998 9.19434 8C9.19434 8.32715 9.07715 8.60791 8.84277 8.84229C8.61328 9.07666 8.33252 9.19385 8.00049 9.19385Z",fill:"#1A1A1A"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_7502_10076"},a.createElement("rect",{width:"16",height:"16",fill:"white"}))))},$e=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_7504_13951)"},a.createElement("path",{d:"M8.26416 13.4272C8.0835 13.4272 7.90771 13.3784 7.73682 13.2808C7.56592 13.188 7.42432 13.0684 7.31201 12.9219C7.20459 12.7705 7.15088 12.6143 7.15088 12.4531C7.15088 12.209 7.19482 11.9917 7.28271 11.8013C7.37061 11.6108 7.41455 11.4155 7.41455 11.2153C7.41455 11.1421 7.29004 11.0176 7.04102 10.8418C6.79199 10.6611 6.47217 10.4243 6.08154 10.1313C5.68604 9.82861 5.48828 9.47461 5.48828 9.06934C5.48828 8.85449 5.51758 8.67139 5.57617 8.52002C5.63965 8.36377 5.67139 8.24902 5.67139 8.17578C5.6665 8.13184 5.63477 8.08301 5.57617 8.0293C5.51758 7.97559 5.42725 7.89502 5.30518 7.7876L4.20654 6.82812C3.68896 6.36914 3.33252 5.93213 3.13721 5.51709C2.94189 5.10205 2.86621 4.70898 2.91016 4.33789C2.95898 3.96191 3.08838 3.60303 3.29834 3.26123L4.05273 3.41504C3.8623 3.72266 3.73779 4.01807 3.6792 4.30127C3.62549 4.58447 3.67432 4.88232 3.82568 5.19482C3.98193 5.50244 4.27979 5.854 4.71924 6.24951L5.81787 7.23096C5.84229 7.24561 5.86182 7.2627 5.87646 7.28223C5.896 7.30176 5.91553 7.31885 5.93506 7.3335C6.11572 7.47998 6.24512 7.61426 6.32324 7.73633C6.40625 7.8584 6.44775 8 6.44775 8.16113C6.44775 8.26367 6.41357 8.43945 6.34521 8.68848C6.28174 8.86426 6.25 8.99121 6.25 9.06934C6.25 9.2207 6.34766 9.36963 6.54297 9.51611C6.61621 9.57471 6.68945 9.63086 6.7627 9.68457C6.84082 9.73828 6.91895 9.78955 6.99707 9.83838C7.39258 10.1167 7.68799 10.356 7.8833 10.5562C8.07861 10.7515 8.17627 10.9663 8.17627 11.2007C8.18115 11.3667 8.16406 11.5254 8.125 11.6768C8.08594 11.8232 8.04932 11.9502 8.01514 12.0576C7.97607 12.1797 7.94922 12.2627 7.93457 12.3066C7.9248 12.3506 7.91992 12.3896 7.91992 12.4238C7.91992 12.4775 7.95654 12.5312 8.02979 12.585C8.10791 12.6387 8.17871 12.6655 8.24219 12.6655C8.35938 12.6655 8.52539 12.5605 8.74023 12.3506C8.95996 12.1406 9.19922 11.8745 9.45801 11.5522C9.7168 11.2251 9.96338 10.8857 10.1978 10.5342C10.4321 10.1777 10.625 9.84814 10.7764 9.54541C10.9277 9.23779 11.0034 9.00586 11.0034 8.84961C11.0034 8.7666 10.9399 8.64941 10.813 8.49805C10.686 8.34668 10.5273 8.19531 10.3369 8.04395C10.1465 7.8877 9.9585 7.75586 9.77295 7.64844C9.59229 7.54102 9.45068 7.4873 9.34814 7.4873C9.28467 7.4873 9.1748 7.52881 9.01855 7.61182C8.8623 7.69482 8.69385 7.77783 8.51318 7.86084C8.3374 7.93896 8.18359 7.97803 8.05176 7.97803C7.88574 7.97803 7.69043 7.91943 7.46582 7.80225C7.24121 7.68506 7.02148 7.53369 6.80664 7.34814C6.5918 7.15771 6.41357 6.9624 6.27197 6.76221C6.13037 6.56201 6.05957 6.38135 6.05957 6.22021C6.05957 6.06885 6.11084 5.91992 6.21338 5.77344C6.3208 5.62207 6.45264 5.5 6.60889 5.40723C6.76514 5.30957 6.92383 5.26074 7.08496 5.26074C7.22168 5.26074 7.38281 5.31445 7.56836 5.42188C7.75391 5.5293 7.92969 5.63672 8.0957 5.74414C8.26172 5.84668 8.38135 5.89795 8.45459 5.89795C8.49854 5.89795 8.53516 5.8833 8.56445 5.854C8.59863 5.82471 8.61572 5.78809 8.61572 5.74414C8.61572 5.67578 8.58398 5.59521 8.52051 5.50244C8.46191 5.40479 8.35938 5.25586 8.21289 5.05566C8.13965 4.94824 8.11768 4.85059 8.14697 4.7627C8.17627 4.66992 8.23486 4.60156 8.32275 4.55762C8.51807 4.45508 8.75 4.33545 9.01855 4.19873C9.28711 4.05713 9.55566 3.90088 9.82422 3.72998C10.0928 3.55908 10.332 3.37842 10.542 3.18799C10.7568 2.99268 10.9082 2.7876 10.9961 2.57275L11.6772 2.92432C11.5747 3.15869 11.4209 3.38086 11.2158 3.59082C11.0156 3.80078 10.791 3.99365 10.542 4.16943C10.293 4.34521 10.0439 4.50391 9.79492 4.64551C9.55078 4.78711 9.33105 4.90918 9.13574 5.01172C9.29688 5.25098 9.37744 5.46582 9.37744 5.65625C9.37744 5.96387 9.28711 6.21045 9.10645 6.396C8.93066 6.57666 8.69141 6.66699 8.38867 6.66699C8.25684 6.66699 8.09814 6.61328 7.9126 6.50586C7.73193 6.39844 7.56348 6.29346 7.40723 6.19092C7.25586 6.0835 7.14844 6.02979 7.08496 6.02979C7.03125 6.02979 6.9751 6.05176 6.9165 6.0957C6.85791 6.13965 6.82861 6.18115 6.82861 6.22021C6.82861 6.28369 6.87744 6.36914 6.9751 6.47656C7.07275 6.58398 7.18994 6.69629 7.32666 6.81348C7.46826 6.92578 7.60742 7.021 7.74414 7.09912C7.88086 7.17725 7.9834 7.21631 8.05176 7.21631C8.16406 7.21631 8.29346 7.1748 8.43994 7.0918C8.59131 7.00879 8.74512 6.92822 8.90137 6.8501C9.0625 6.76709 9.21143 6.72559 9.34814 6.72559C9.56299 6.72559 9.80957 6.79883 10.0879 6.94531C10.3662 7.0918 10.6323 7.27734 10.8862 7.50195C11.145 7.72168 11.3574 7.95361 11.5234 8.19775C11.6895 8.43701 11.7725 8.6543 11.7725 8.84961C11.7725 9.1084 11.6846 9.43066 11.5088 9.81641C11.333 10.1973 11.1035 10.5977 10.8203 11.0176C10.542 11.4326 10.2417 11.8232 9.91943 12.1895C9.60205 12.5557 9.29688 12.8535 9.00391 13.083C8.71094 13.3125 8.46436 13.4272 8.26416 13.4272ZM8.00049 15.1997C7.00439 15.1997 6.07178 15.0117 5.20264 14.6357C4.33838 14.2646 3.57422 13.7471 2.91016 13.083C2.25098 12.4238 1.7334 11.6621 1.35742 10.7979C0.986328 9.92871 0.800781 8.99609 0.800781 8C0.800781 7.00391 0.986328 6.07129 1.35742 5.20215C1.7334 4.33301 2.25098 3.56885 2.91016 2.90967C3.57422 2.25049 4.33838 1.73535 5.20264 1.36426C6.07178 0.988281 7.00439 0.800293 8.00049 0.800293C8.99658 0.800293 9.9292 0.988281 10.7983 1.36426C11.6675 1.73535 12.4316 2.25049 13.0908 2.90967C13.75 3.56885 14.2651 4.33301 14.6362 5.20215C15.0122 6.07129 15.2002 7.00391 15.2002 8C15.2002 8.99609 15.0122 9.92871 14.6362 10.7979C14.2651 11.6621 13.75 12.4238 13.0908 13.083C12.4316 13.7471 11.6675 14.2646 10.7983 14.6357C9.9292 15.0117 8.99658 15.1997 8.00049 15.1997ZM8.00049 14.0132C8.83057 14.0132 9.60693 13.8569 10.3296 13.5444C11.0571 13.2319 11.6968 12.7998 12.2485 12.248C12.8003 11.6963 13.2324 11.0591 13.5449 10.3364C13.8574 9.60889 14.0137 8.83008 14.0137 8C14.0137 7.16992 13.8574 6.39355 13.5449 5.6709C13.2324 4.94336 12.8003 4.30371 12.2485 3.75195C11.6968 3.2002 11.0571 2.76807 10.3296 2.45557C9.60693 2.14307 8.83057 1.98682 8.00049 1.98682C7.17041 1.98682 6.3916 2.14307 5.66406 2.45557C4.94141 2.76807 4.3042 3.2002 3.75244 3.75195C3.20068 4.30371 2.76855 4.94336 2.45605 5.6709C2.14355 6.39355 1.9873 7.16992 1.9873 8C1.9873 8.83008 2.14355 9.60889 2.45605 10.3364C2.76855 11.0591 3.20068 11.6963 3.75244 12.248C4.3042 12.7998 4.94141 13.2319 5.66406 13.5444C6.3916 13.8569 7.17041 14.0132 8.00049 14.0132Z",fill:"#1A1A1A"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_7504_13951"},a.createElement("rect",{width:"16",height:"16",fill:"white"}))))},Ke=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8 3.1875C8.25521 3.1875 8.46484 3.26953 8.62891 3.43359C8.79297 3.59766 8.875 3.80729 8.875 4.0625C8.875 4.31771 8.79297 4.52734 8.62891 4.69141C8.46484 4.85547 8.25521 4.9375 8 4.9375C7.74479 4.9375 7.53516 4.85547 7.37109 4.69141C7.20703 4.52734 7.125 4.31771 7.125 4.0625C7.125 3.80729 7.20703 3.59766 7.37109 3.43359C7.53516 3.26953 7.74479 3.1875 8 3.1875ZM8 12.1562C7.5625 12.138 7.19792 11.9922 6.90625 11.7188C6.63281 11.4271 6.48698 11.0625 6.46875 10.625C6.48698 10.1875 6.63281 9.82292 6.90625 9.53125C7.19792 9.25781 7.5625 9.11198 8 9.09375C8.29167 9.09375 8.54688 9.16667 8.76562 9.3125L11.7734 7.23438C12.138 7.05208 12.4479 7.10677 12.7031 7.39844C12.9036 7.76302 12.849 8.07292 12.5391 8.32812L9.50391 10.3789C9.52214 10.4701 9.53125 10.5521 9.53125 10.625C9.51302 11.0625 9.36719 11.4271 9.09375 11.7188C8.80208 11.9922 8.4375 12.138 8 12.1562ZM10.625 4.5C10.8802 4.5 11.0898 4.58203 11.2539 4.74609C11.418 4.91016 11.5 5.11979 11.5 5.375C11.5 5.63021 11.418 5.83984 11.2539 6.00391C11.0898 6.16797 10.8802 6.25 10.625 6.25C10.3698 6.25 10.1602 6.16797 9.99609 6.00391C9.83203 5.83984 9.75 5.63021 9.75 5.375C9.75 5.11979 9.83203 4.91016 9.99609 4.74609C10.1602 4.58203 10.3698 4.5 10.625 4.5ZM4.0625 8.875C3.80729 8.875 3.59766 8.79297 3.43359 8.62891C3.26953 8.46484 3.1875 8.25521 3.1875 8C3.1875 7.74479 3.26953 7.53516 3.43359 7.37109C3.59766 7.20703 3.80729 7.125 4.0625 7.125C4.31771 7.125 4.52734 7.20703 4.69141 7.37109C4.85547 7.53516 4.9375 7.74479 4.9375 8C4.9375 8.25521 4.85547 8.46484 4.69141 8.62891C4.52734 8.79297 4.31771 8.875 4.0625 8.875ZM5.375 4.5C5.63021 4.5 5.83984 4.58203 6.00391 4.74609C6.16797 4.91016 6.25 5.11979 6.25 5.375C6.25 5.63021 6.16797 5.83984 6.00391 6.00391C5.83984 6.16797 5.63021 6.25 5.375 6.25C5.11979 6.25 4.91016 6.16797 4.74609 6.00391C4.58203 5.83984 4.5 5.63021 4.5 5.375C4.5 5.11979 4.58203 4.91016 4.74609 4.74609C4.91016 4.58203 5.11979 4.5 5.375 4.5ZM8 15C6.6875 14.9818 5.51172 14.6628 4.47266 14.043C3.41536 13.4232 2.57682 12.5846 1.95703 11.5273C1.33724 10.4883 1.01823 9.3125 1 8C1.01823 6.6875 1.33724 5.51172 1.95703 4.47266C2.57682 3.41536 3.41536 2.57682 4.47266 1.95703C5.51172 1.33724 6.6875 1.01823 8 1C9.3125 1.01823 10.4883 1.33724 11.5273 1.95703C12.5846 2.57682 13.4232 3.41536 14.043 4.47266C14.6628 5.51172 14.9818 6.6875 15 8C14.9818 9.3125 14.6628 10.4883 14.043 11.5273C13.4232 12.5846 12.5846 13.4232 11.5273 14.043C10.4883 14.6628 9.3125 14.9818 8 15ZM13.6875 8C13.651 6.39583 13.0951 5.05599 12.0195 3.98047C10.944 2.90495 9.60417 2.34896 8 2.3125C6.39583 2.34896 5.05599 2.90495 3.98047 3.98047C2.90495 5.05599 2.34896 6.39583 2.3125 8C2.34896 9.60417 2.90495 10.944 3.98047 12.0195C5.05599 13.0951 6.39583 13.651 8 13.6875C9.60417 13.651 10.944 13.0951 12.0195 12.0195C13.0951 10.944 13.651 9.60417 13.6875 8Z",fill:"#1A1A1A"}))},Xe=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",null,a.createElement("path",{d:"M4.36035 7.28955C4.17969 7.28955 4.021 7.22363 3.88428 7.0918C3.75244 6.95996 3.68652 6.80127 3.68652 6.61572C3.68652 6.43018 3.75244 6.27148 3.88428 6.13965C4.021 6.00293 4.17969 5.93457 4.36035 5.93457C4.55078 5.93457 4.71191 6.00293 4.84375 6.13965C4.97559 6.27148 5.0415 6.43018 5.0415 6.61572C5.0415 6.80127 4.97559 6.95996 4.84375 7.0918C4.71191 7.22363 4.55078 7.28955 4.36035 7.28955ZM5.81787 5.50244C5.62744 5.50244 5.46631 5.43652 5.33447 5.30469C5.20264 5.16797 5.13672 5.00684 5.13672 4.82129C5.13672 4.63574 5.20264 4.47705 5.33447 4.34521C5.46631 4.21338 5.62744 4.14746 5.81787 4.14746C5.99854 4.14746 6.15479 4.21338 6.28662 4.34521C6.42334 4.47705 6.4917 4.63574 6.4917 4.82129C6.4917 5.00684 6.42334 5.16797 6.28662 5.30469C6.15479 5.43652 5.99854 5.50244 5.81787 5.50244ZM7.99316 4.82861C7.80762 4.82861 7.64893 4.7627 7.51709 4.63086C7.38525 4.49414 7.31934 4.33545 7.31934 4.15479C7.31934 3.96436 7.38525 3.80322 7.51709 3.67139C7.64893 3.53955 7.80762 3.47363 7.99316 3.47363C8.18359 3.47363 8.34473 3.53955 8.47656 3.67139C8.6084 3.80322 8.67432 3.96436 8.67432 4.15479C8.67432 4.33545 8.6084 4.49414 8.47656 4.63086C8.34473 4.7627 8.18359 4.82861 7.99316 4.82861ZM10.1758 5.50244C9.99023 5.50244 9.83154 5.43652 9.69971 5.30469C9.56787 5.16797 9.50195 5.00684 9.50195 4.82129C9.50195 4.63574 9.56787 4.47705 9.69971 4.34521C9.83154 4.21338 9.99023 4.14746 10.1758 4.14746C10.3613 4.14746 10.52 4.21338 10.6519 4.34521C10.7837 4.47705 10.8496 4.63574 10.8496 4.82129C10.8496 5.00684 10.7837 5.16797 10.6519 5.30469C10.52 5.43652 10.3613 5.50244 10.1758 5.50244ZM11.626 7.28955C11.4404 7.28955 11.2817 7.22363 11.1499 7.0918C11.0181 6.95996 10.9521 6.80127 10.9521 6.61572C10.9521 6.43018 11.0181 6.27148 11.1499 6.13965C11.2817 6.00293 11.4404 5.93457 11.626 5.93457C11.8115 5.93457 11.9702 6.00293 12.1021 6.13965C12.2388 6.27148 12.3071 6.43018 12.3071 6.61572C12.3071 6.80127 12.2388 6.95996 12.1021 7.0918C11.9702 7.22363 11.8115 7.28955 11.626 7.28955ZM8.00049 12.2993C7.68311 12.2993 7.41699 12.1943 7.20215 11.9844C6.99219 11.7695 6.88721 11.5034 6.88721 11.186C6.88721 11.1274 6.89453 11.0493 6.90918 10.9517C6.92383 10.854 6.93848 10.7612 6.95312 10.6733L7.63428 7.06982C7.67822 6.84521 7.80029 6.73291 8.00049 6.73291C8.20557 6.73291 8.32764 6.84521 8.3667 7.06982L9.04785 10.6733C9.0625 10.7612 9.07715 10.854 9.0918 10.9517C9.11133 11.0493 9.12109 11.1274 9.12109 11.186C9.12109 11.5034 9.01367 11.7695 8.79883 11.9844C8.58887 12.1943 8.32275 12.2993 8.00049 12.2993ZM8.00049 15.1997C7.00439 15.1997 6.07178 15.0117 5.20264 14.6357C4.33838 14.2646 3.57422 13.7471 2.91016 13.083C2.25098 12.4238 1.7334 11.6621 1.35742 10.7979C0.986328 9.92871 0.800781 8.99609 0.800781 8C0.800781 7.00391 0.986328 6.07129 1.35742 5.20215C1.7334 4.33301 2.25098 3.56885 2.91016 2.90967C3.57422 2.25049 4.33838 1.73535 5.20264 1.36426C6.07178 0.988281 7.00439 0.800293 8.00049 0.800293C8.99658 0.800293 9.9292 0.988281 10.7983 1.36426C11.6675 1.73535 12.4316 2.25049 13.0908 2.90967C13.75 3.56885 14.2651 4.33301 14.6362 5.20215C15.0122 6.07129 15.2002 7.00391 15.2002 8C15.2002 8.99609 15.0122 9.92871 14.6362 10.7979C14.2651 11.6621 13.75 12.4238 13.0908 13.083C12.4316 13.7471 11.6675 14.2646 10.7983 14.6357C9.9292 15.0117 8.99658 15.1997 8.00049 15.1997ZM8.00049 13.6836C8.78662 13.6836 9.52148 13.5347 10.2051 13.2368C10.8936 12.9438 11.499 12.5386 12.0215 12.021C12.5439 11.4985 12.9517 10.8955 13.2446 10.2119C13.5376 9.52344 13.6841 8.78613 13.6841 8C13.6841 7.21387 13.5376 6.479 13.2446 5.79541C12.9517 5.10693 12.5439 4.50391 12.0215 3.98633C11.499 3.46387 10.8936 3.05615 10.2051 2.76318C9.52148 2.46533 8.78662 2.31641 8.00049 2.31641C7.21436 2.31641 6.47705 2.46533 5.78857 2.76318C5.10498 3.05615 4.50195 3.46387 3.97949 3.98633C3.45703 4.50391 3.04932 5.10693 2.75635 5.79541C2.46338 6.479 2.31689 7.21387 2.31689 8C2.31689 8.78613 2.46338 9.52344 2.75635 10.2119C3.04932 10.8955 3.45703 11.4985 3.97949 12.021C4.50195 12.5386 5.10498 12.9438 5.78857 13.2368C6.47705 13.5347 7.21436 13.6836 8.00049 13.6836Z",fill:"#1A1A1A"})))},Je=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M12.25 1.75C12.7422 1.76823 13.1523 1.94141 13.4805 2.26953C13.8086 2.59766 13.9818 3.00781 14 3.5V10.5C13.9818 10.9922 13.8086 11.4023 13.4805 11.7305C13.1523 12.0586 12.7422 12.2318 12.25 12.25H1.75C1.25781 12.2318 0.847656 12.0586 0.519531 11.7305C0.191406 11.4023 0.0182292 10.9922 0 10.5V1.75C0.0182292 1.25781 0.191406 0.847656 0.519531 0.519531C0.847656 0.191406 1.25781 0.0182292 1.75 0H4.97656C5.45052 0 5.86068 0.173177 6.20703 0.519531L7.54688 1.75H12.25ZM1.75 1.3125C1.47656 1.33073 1.33073 1.47656 1.3125 1.75V4.375H12.6875V3.5C12.6693 3.22656 12.5234 3.08073 12.25 3.0625H7L5.27734 1.44922C5.1862 1.35807 5.08594 1.3125 4.97656 1.3125H1.75ZM12.25 10.9375C12.5234 10.9193 12.6693 10.7734 12.6875 10.5V5.6875H1.3125V10.5C1.33073 10.7734 1.47656 10.9193 1.75 10.9375H12.25Z",fill:"#CCCCCC"}))},Ye=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M2.72266 14.0669C2.01628 14.0669 1.47852 13.8869 1.10938 13.5269C0.744792 13.1668 0.5625 12.6336 0.5625 11.9272V4.04541C0.5625 3.3527 0.737956 2.82861 1.08887 2.47314C1.43978 2.11312 1.92513 1.93311 2.54492 1.93311H4.37012C4.71647 1.93311 4.99219 1.96956 5.19727 2.04248C5.4069 2.1154 5.62793 2.24528 5.86035 2.43213L6.22266 2.72607C6.40951 2.87646 6.58496 2.98128 6.74902 3.04053C6.91309 3.09977 7.11133 3.12939 7.34375 3.12939H13.2773C13.9837 3.12939 14.5192 3.31169 14.8838 3.67627C15.2529 4.04085 15.4375 4.57406 15.4375 5.27588V11.9272C15.4375 12.6291 15.262 13.16 14.9111 13.52C14.5602 13.8846 14.0658 14.0669 13.4277 14.0669H2.72266ZM2.8252 12.7065H13.1748C13.4665 12.7065 13.6898 12.6313 13.8447 12.481C13.9997 12.3306 14.0771 12.105 14.0771 11.8042V5.40576C14.0771 5.10498 13.9997 4.87939 13.8447 4.729C13.6898 4.57406 13.4665 4.49658 13.1748 4.49658H6.98145C6.63509 4.49658 6.35482 4.46012 6.14062 4.38721C5.93099 4.31429 5.70996 4.18669 5.47754 4.00439L5.12207 3.71045C4.93522 3.5555 4.75977 3.4484 4.5957 3.38916C4.4362 3.32992 4.24023 3.30029 4.00781 3.30029H2.81836C2.53581 3.30029 2.31706 3.37549 2.16211 3.52588C2.01172 3.67171 1.93652 3.88818 1.93652 4.17529V11.7974C1.93652 12.1027 2.01172 12.3306 2.16211 12.481C2.31706 12.6313 2.53809 12.7065 2.8252 12.7065ZM2.72266 6.54736V6.05518C2.72266 5.85466 2.77279 5.70654 2.87305 5.61084C2.97331 5.51514 3.1237 5.46729 3.32422 5.46729H12.6758C12.8809 5.46729 13.0335 5.51514 13.1338 5.61084C13.234 5.70654 13.2842 5.85466 13.2842 6.05518V6.54736H2.72266Z",fill:"#1A1A1A"}))},Qe=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M4.5459 15.0273C3.84863 15.0273 3.31771 14.8451 2.95312 14.4805C2.58854 14.1159 2.40625 13.5804 2.40625 12.874V3.13965C2.40625 2.42871 2.58854 1.89095 2.95312 1.52637C3.31771 1.15723 3.84863 0.972656 4.5459 0.972656H7.68359C8.10742 0.972656 8.45605 1.02051 8.72949 1.11621C9.00293 1.20736 9.28092 1.39648 9.56348 1.68359L12.8857 5.05371C13.0817 5.25423 13.2298 5.44336 13.3301 5.62109C13.4303 5.79883 13.4987 5.99707 13.5352 6.21582C13.5716 6.43457 13.5898 6.69889 13.5898 7.00879V12.874C13.5898 13.5804 13.4076 14.1159 13.043 14.4805C12.6829 14.8451 12.152 15.0273 11.4502 15.0273H4.5459ZM4.67578 13.6602H11.3135C11.6188 13.6602 11.8467 13.5827 11.9971 13.4277C12.1475 13.2773 12.2227 13.0563 12.2227 12.7646V7.24121H8.8252C8.34212 7.24121 7.97982 7.12272 7.73828 6.88574C7.5013 6.64421 7.38281 6.27962 7.38281 5.79199V2.34668H4.68262C4.37728 2.34668 4.14941 2.42415 3.99902 2.5791C3.85319 2.73405 3.78027 2.95508 3.78027 3.24219V12.7646C3.78027 13.0563 3.85319 13.2773 3.99902 13.4277C4.14941 13.5827 4.375 13.6602 4.67578 13.6602ZM8.94824 6.05859H12.0586L8.55859 2.51074V5.66895C8.55859 5.80111 8.58822 5.89909 8.64746 5.96289C8.71126 6.02669 8.81152 6.05859 8.94824 6.05859Z",fill:"#1A1A1A"}))},et=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M4.72021 14.9468C4.18799 14.9468 3.78516 14.8052 3.51172 14.522C3.23828 14.2388 3.10156 13.8066 3.10156 13.2256V8.25977C3.10156 7.68848 3.23828 7.26123 3.51172 6.97803C3.78516 6.68994 4.18799 6.5459 4.72021 6.5459H11.2754C11.8076 6.5459 12.2104 6.68994 12.4839 6.97803C12.7622 7.26123 12.9014 7.68848 12.9014 8.25977V13.2256C12.9014 13.8066 12.7622 14.2388 12.4839 14.522C12.2104 14.8052 11.8076 14.9468 11.2754 14.9468H4.72021ZM4.99854 13.6211H11.0117C11.1533 13.6211 11.2607 13.5771 11.334 13.4893C11.4121 13.4062 11.4512 13.2842 11.4512 13.123V8.3623C11.4512 8.20117 11.4121 8.08154 11.334 8.00342C11.2607 7.92041 11.1533 7.87891 11.0117 7.87891H4.99854C4.85205 7.87891 4.73975 7.92041 4.66162 8.00342C4.58838 8.08154 4.55176 8.20117 4.55176 8.3623V13.123C4.55176 13.2842 4.58838 13.4062 4.66162 13.4893C4.73975 13.5771 4.85205 13.6211 4.99854 13.6211ZM4.39795 7.14648V4.93457C4.39795 4.08984 4.56396 3.37939 4.896 2.80322C5.22803 2.22705 5.66748 1.79248 6.21436 1.49951C6.76611 1.20166 7.36182 1.05273 8.00146 1.05273C8.64111 1.05273 9.23438 1.20166 9.78125 1.49951C10.333 1.79248 10.7749 2.22705 11.1069 2.80322C11.4438 3.37939 11.6123 4.08984 11.6123 4.93457V7.14648H10.228V4.81738C10.228 4.2998 10.1255 3.86035 9.92041 3.49902C9.72021 3.13281 9.45166 2.85693 9.11475 2.67139C8.77783 2.48096 8.40674 2.38574 8.00146 2.38574C7.59619 2.38574 7.2251 2.48096 6.88818 2.67139C6.55127 2.85693 6.28027 3.13281 6.0752 3.49902C5.875 3.86035 5.7749 4.2998 5.7749 4.81738V7.14648H4.39795Z",fill:"#1A1A1A"}))},tt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8.00391 13.749C7.34766 13.749 6.7347 13.626 6.16504 13.3799C5.59538 13.1338 5.0918 12.7943 4.6543 12.3613C4.22135 11.9284 3.88184 11.4271 3.63574 10.8574C3.39421 10.2878 3.27344 9.6748 3.27344 9.01855C3.27344 8.36686 3.39421 7.75619 3.63574 7.18652C3.88184 6.6123 4.22135 6.10872 4.6543 5.67578C5.0918 5.24284 5.59538 4.9056 6.16504 4.66406C6.7347 4.41797 7.34766 4.29492 8.00391 4.29492C8.6556 4.29492 9.26628 4.41797 9.83594 4.66406C10.4102 4.9056 10.9137 5.24284 11.3467 5.67578C11.7796 6.10872 12.1169 6.6123 12.3584 7.18652C12.6045 7.75619 12.7275 8.36686 12.7275 9.01855C12.7275 9.6748 12.6045 10.2878 12.3584 10.8574C12.1169 11.4271 11.7796 11.9284 11.3467 12.3613C10.9137 12.7943 10.4102 13.1338 9.83594 13.3799C9.26628 13.626 8.6556 13.749 8.00391 13.749ZM7.99707 12.4639C8.47559 12.4639 8.9222 12.375 9.33691 12.1973C9.75163 12.015 10.1162 11.7666 10.4307 11.4521C10.7497 11.1377 10.998 10.7731 11.1758 10.3584C11.3535 9.94368 11.4424 9.49707 11.4424 9.01855C11.4424 8.5446 11.3535 8.10026 11.1758 7.68555C10.998 7.26628 10.7497 6.89941 10.4307 6.58496C10.1162 6.27051 9.75163 6.02441 9.33691 5.84668C8.9222 5.66895 8.47559 5.58008 7.99707 5.58008C7.52311 5.58008 7.07878 5.66895 6.66406 5.84668C6.24935 6.02441 5.88249 6.27051 5.56348 6.58496C5.24902 6.89941 5.00293 7.26628 4.8252 7.68555C4.64746 8.10026 4.55859 8.5446 4.55859 9.01855C4.55859 9.49707 4.64746 9.94368 4.8252 10.3584C5.00293 10.7731 5.24902 11.1377 5.56348 11.4521C5.88249 11.7666 6.24935 12.015 6.66406 12.1973C7.07878 12.375 7.52311 12.4639 7.99707 12.4639ZM10.1572 11.8623L7.58008 9.34668C7.46159 9.2373 7.40234 9.10514 7.40234 8.9502C7.4069 8.79525 7.46615 8.65853 7.58008 8.54004C7.68034 8.43522 7.8125 8.38053 7.97656 8.37598C8.14062 8.37142 8.27506 8.42611 8.37988 8.54004L10.8887 11.1172L10.1572 11.8623ZM12.9258 14.6787C12.7161 14.6787 12.5384 14.6058 12.3926 14.46C12.2467 14.3141 12.1738 14.1387 12.1738 13.9336C12.1738 13.724 12.2467 13.5462 12.3926 13.4004C12.5384 13.2546 12.7161 13.1816 12.9258 13.1816C13.1309 13.1816 13.3063 13.2546 13.4521 13.4004C13.598 13.5462 13.6709 13.724 13.6709 13.9336C13.6709 14.1387 13.598 14.3141 13.4521 14.46C13.3063 14.6058 13.1309 14.6787 12.9258 14.6787ZM14.9561 9.77051C14.751 9.77051 14.5755 9.69759 14.4297 9.55176C14.2839 9.40592 14.2109 9.22819 14.2109 9.01855C14.2109 8.81348 14.2839 8.63802 14.4297 8.49219C14.5755 8.34635 14.751 8.27344 14.9561 8.27344C15.1657 8.27344 15.3434 8.34635 15.4893 8.49219C15.6351 8.63802 15.708 8.81348 15.708 9.01855C15.708 9.22819 15.6351 9.40592 15.4893 9.55176C15.3434 9.69759 15.1657 9.77051 14.9561 9.77051ZM12.9258 4.86914C12.7161 4.86914 12.5384 4.79622 12.3926 4.65039C12.2467 4.50456 12.1738 4.3291 12.1738 4.12402C12.1738 3.91439 12.2467 3.73665 12.3926 3.59082C12.5384 3.44499 12.7161 3.37207 12.9258 3.37207C13.1309 3.37207 13.3063 3.44499 13.4521 3.59082C13.598 3.73665 13.6709 3.91439 13.6709 4.12402C13.6709 4.3291 13.598 4.50456 13.4521 4.65039C13.3063 4.79622 13.1309 4.86914 12.9258 4.86914ZM8.00391 2.81836C7.79427 2.81836 7.61654 2.74544 7.4707 2.59961C7.32487 2.45378 7.25195 2.27604 7.25195 2.06641C7.25195 1.85677 7.32487 1.68132 7.4707 1.54004C7.61654 1.39421 7.79427 1.32129 8.00391 1.32129C8.20898 1.32129 8.38444 1.39421 8.53027 1.54004C8.67611 1.68132 8.74902 1.85677 8.74902 2.06641C8.74902 2.27604 8.67611 2.45378 8.53027 2.59961C8.38444 2.74544 8.20898 2.81836 8.00391 2.81836ZM3.08203 4.86914C2.8724 4.86914 2.69466 4.79622 2.54883 4.65039C2.40299 4.50456 2.33008 4.3291 2.33008 4.12402C2.33008 3.91439 2.40299 3.73665 2.54883 3.59082C2.69466 3.44499 2.8724 3.37207 3.08203 3.37207C3.28711 3.37207 3.46257 3.44499 3.6084 3.59082C3.75423 3.73665 3.82715 3.91439 3.82715 4.12402C3.82715 4.3291 3.75423 4.50456 3.6084 4.65039C3.46257 4.79622 3.28711 4.86914 3.08203 4.86914ZM1.04492 9.77051C0.839844 9.77051 0.662109 9.69759 0.511719 9.55176C0.365885 9.40592 0.292969 9.22819 0.292969 9.01855C0.292969 8.81348 0.365885 8.63802 0.511719 8.49219C0.662109 8.34635 0.839844 8.27344 1.04492 8.27344C1.25 8.27344 1.42546 8.34635 1.57129 8.49219C1.72168 8.63802 1.79688 8.81348 1.79688 9.01855C1.79688 9.22819 1.72168 9.40592 1.57129 9.55176C1.42546 9.69759 1.25 9.77051 1.04492 9.77051ZM3.08203 14.6787C2.8724 14.6787 2.69466 14.6058 2.54883 14.46C2.40299 14.3141 2.33008 14.1387 2.33008 13.9336C2.33008 13.724 2.40299 13.5462 2.54883 13.4004C2.69466 13.2546 2.8724 13.1816 3.08203 13.1816C3.28711 13.1816 3.46257 13.2546 3.6084 13.4004C3.75423 13.5462 3.82715 13.724 3.82715 13.9336C3.82715 14.1387 3.75423 14.3141 3.6084 14.46C3.46257 14.6058 3.28711 14.6787 3.08203 14.6787Z",fill:"white"}))},nt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",null,a.createElement("path",{d:"M7.3418 15.0615C7.0638 15.0615 6.82454 14.9818 6.62402 14.8223C6.4235 14.6673 6.29134 14.4577 6.22754 14.1934L5.97461 13.0791L5.81055 13.0176L4.84668 13.6191C4.61426 13.765 4.37044 13.8197 4.11523 13.7832C3.86003 13.7513 3.63444 13.6396 3.43848 13.4482L2.53613 12.5391C2.33561 12.3385 2.2194 12.113 2.1875 11.8623C2.16016 11.6071 2.21712 11.3656 2.3584 11.1377L2.95996 10.167L2.90527 10.0234L1.79785 9.76367C1.53809 9.70443 1.32845 9.57227 1.16895 9.36719C1.00944 9.16211 0.929688 8.92285 0.929688 8.64941V7.37793C0.929688 7.10449 1.00716 6.86751 1.16211 6.66699C1.32161 6.46647 1.53353 6.33203 1.79785 6.26367L2.89844 5.99707L2.95996 5.84668L2.35156 4.88281C2.21484 4.65039 2.16016 4.40658 2.1875 4.15137C2.21484 3.89616 2.32878 3.67057 2.5293 3.47461L3.43848 2.57227C3.62988 2.3763 3.85091 2.26237 4.10156 2.23047C4.35677 2.19857 4.60059 2.25326 4.83301 2.39453L5.81055 2.98242L5.97461 2.9209L6.22754 1.80664C6.29134 1.54688 6.4235 1.33724 6.62402 1.17773C6.82454 1.01823 7.0638 0.938477 7.3418 0.938477H8.6543C8.93229 0.938477 9.17155 1.01823 9.37207 1.17773C9.57715 1.33268 9.70931 1.54232 9.76855 1.80664L10.0283 2.9209L10.1924 2.98242L11.1562 2.39453C11.3932 2.2487 11.637 2.19401 11.8877 2.23047C12.1429 2.26237 12.3662 2.3763 12.5576 2.57227L13.4668 3.47461C13.6673 3.67057 13.7812 3.89616 13.8086 4.15137C13.8405 4.40658 13.7835 4.65039 13.6377 4.88281L13.0361 5.84668L13.0977 5.99707L14.1982 6.26367C14.4626 6.32747 14.6722 6.46191 14.8271 6.66699C14.9867 6.86751 15.0664 7.10449 15.0664 7.37793V8.64941C15.0664 8.92285 14.9867 9.16211 14.8271 9.36719C14.6722 9.57227 14.4626 9.70443 14.1982 9.76367L13.084 10.0234L13.0293 10.167L13.6377 11.1377C13.779 11.3656 13.8337 11.6071 13.8018 11.8623C13.7744 12.113 13.6605 12.3385 13.46 12.5391L12.5508 13.4482C12.3548 13.6396 12.1315 13.7513 11.8809 13.7832C11.6302 13.8197 11.3887 13.765 11.1562 13.6191L10.1787 13.0176L10.0283 13.0791L9.76855 14.1934C9.70931 14.4577 9.57715 14.6673 9.37207 14.8223C9.17155 14.9818 8.93229 15.0615 8.6543 15.0615H7.3418ZM7.52637 13.8242H8.46973C8.56999 13.8242 8.62923 13.7741 8.64746 13.6738L9.03711 12.0879C9.25586 12.0378 9.45866 11.974 9.64551 11.8965C9.83236 11.8145 10.0124 11.7188 10.1855 11.6094L11.5732 12.4639C11.6553 12.5231 11.7327 12.514 11.8057 12.4365L12.4551 11.7803C12.5234 11.7165 12.5326 11.6413 12.4824 11.5547L11.6279 10.167C11.7191 10.0075 11.8057 9.82975 11.8877 9.63379C11.9743 9.43783 12.0404 9.2373 12.0859 9.03223L13.6787 8.65625C13.7744 8.63802 13.8223 8.57878 13.8223 8.47852V7.54883C13.8223 7.44857 13.7744 7.38932 13.6787 7.37109L12.0928 6.98828C12.0426 6.77409 11.9743 6.56901 11.8877 6.37305C11.8057 6.17253 11.7214 5.99707 11.6348 5.84668L12.4893 4.46582C12.5439 4.37467 12.5371 4.29492 12.4688 4.22656L11.8057 3.57715C11.7373 3.51335 11.6598 3.50423 11.5732 3.5498L10.1855 4.39746C10.0169 4.2972 9.83464 4.20605 9.63867 4.12402C9.44727 4.04199 9.24675 3.97363 9.03711 3.91895L8.64746 2.32617C8.62923 2.23047 8.56999 2.18262 8.46973 2.18262H7.52637C7.42611 2.18262 7.36686 2.23047 7.34863 2.32617L6.97266 3.91895C6.75846 3.96908 6.54655 4.03743 6.33691 4.12402C6.13184 4.21061 5.95638 4.29948 5.81055 4.39062L4.42285 3.54297C4.33626 3.4974 4.25651 3.50879 4.18359 3.57715L3.52051 4.21973C3.45215 4.29264 3.44759 4.3724 3.50684 4.45898L4.36133 5.84668C4.27474 5.99707 4.18815 6.17253 4.10156 6.37305C4.01953 6.56901 3.95345 6.77409 3.90332 6.98828L2.31738 7.37109C2.22168 7.38932 2.17383 7.44857 2.17383 7.54883V8.47852C2.17383 8.57878 2.22168 8.63802 2.31738 8.65625L3.91016 9.03223C3.95573 9.2373 4.01953 9.43783 4.10156 9.63379C4.18815 9.8252 4.27702 10.0029 4.36816 10.167L3.50684 11.5547C3.45671 11.6458 3.46582 11.721 3.53418 11.7803L4.19043 12.4434C4.25879 12.5208 4.33626 12.5299 4.42285 12.4707L5.81738 11.6094C5.98145 11.7188 6.16146 11.8145 6.35742 11.8965C6.55339 11.9785 6.75619 12.0423 6.96582 12.0879L7.34863 13.6738C7.36686 13.7741 7.42611 13.8242 7.52637 13.8242ZM7.99805 10.4473C7.54688 10.4473 7.13444 10.3379 6.76074 10.1191C6.3916 9.89583 6.09766 9.59961 5.87891 9.23047C5.66016 8.86133 5.55078 8.45117 5.55078 8C5.55078 7.54883 5.66016 7.13867 5.87891 6.76953C6.09766 6.40039 6.3916 6.10645 6.76074 5.8877C7.13444 5.66439 7.54688 5.55273 7.99805 5.55273C8.44922 5.55273 8.85938 5.66439 9.22852 5.8877C9.59766 6.10645 9.8916 6.40039 10.1104 6.76953C10.3337 7.13867 10.4453 7.54883 10.4453 8C10.4453 8.45117 10.3337 8.86133 10.1104 9.23047C9.8916 9.59961 9.59766 9.89583 9.22852 10.1191C8.85938 10.3379 8.44922 10.4473 7.99805 10.4473ZM7.99805 9.29199C8.23503 9.29199 8.44922 9.23503 8.64062 9.12109C8.83659 9.0026 8.99154 8.84538 9.10547 8.64941C9.22396 8.45345 9.2832 8.23698 9.2832 8C9.2832 7.76302 9.22396 7.54655 9.10547 7.35059C8.99154 7.15462 8.83659 6.99967 8.64062 6.88574C8.44922 6.76725 8.23503 6.70801 7.99805 6.70801C7.76107 6.70801 7.5446 6.76725 7.34863 6.88574C7.15267 6.99967 6.99772 7.15462 6.88379 7.35059C6.76986 7.54655 6.71289 7.76302 6.71289 8C6.71289 8.23698 6.76986 8.45345 6.88379 8.64941C6.99772 8.84538 7.15267 9.0026 7.34863 9.12109C7.5446 9.23503 7.76107 9.29199 7.99805 9.29199Z",fill:"#1A1A1A"})))},rt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8.65625 8.21875C8.61979 8.61979 8.40104 8.83854 8 8.875C7.59896 8.83854 7.38021 8.61979 7.34375 8.21875V1.65625C7.38021 1.25521 7.59896 1.03646 8 1C8.40104 1.03646 8.61979 1.25521 8.65625 1.65625V8.21875ZM2.53125 8.16406C2.56771 9.65885 3.07812 10.8984 4.0625 11.8828C5.04688 12.8672 6.28646 13.3776 7.78125 13.4141C9.27604 13.3776 10.5156 12.8672 11.5 11.8828C12.4844 10.8984 12.9948 9.65885 13.0312 8.16406C13.0312 7.28906 12.8398 6.48698 12.457 5.75781C12.0742 5.02865 11.5547 4.41797 10.8984 3.92578C10.5885 3.67057 10.543 3.36979 10.7617 3.02344C11.0169 2.71354 11.3177 2.66797 11.6641 2.88672C12.4844 3.48828 13.1315 4.24479 13.6055 5.15625C14.0794 6.06771 14.3255 7.07031 14.3438 8.16406C14.3255 9.38542 14.0247 10.4883 13.4414 11.4727C12.8581 12.457 12.0742 13.2409 11.0898 13.8242C10.1055 14.4076 9.0026 14.7083 7.78125 14.7266C6.5599 14.7083 5.45703 14.4076 4.47266 13.8242C3.48828 13.2409 2.70443 12.457 2.12109 11.4727C1.53776 10.4883 1.23698 9.38542 1.21875 8.16406C1.23698 7.07031 1.48307 6.06771 1.95703 5.15625C2.43099 4.24479 3.07812 3.48828 3.89844 2.88672C4.24479 2.66797 4.54557 2.71354 4.80078 3.02344C5.01953 3.36979 4.97396 3.67057 4.66406 3.92578C4.00781 4.41797 3.48828 5.02865 3.10547 5.75781C2.72266 6.48698 2.52214 7.28906 2.50391 8.16406H2.53125Z",fill:"#1A1A1A"}))},ot=function(){return a.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M1.328 -3.8147e-06H12C12.3733 -3.8147e-06 12.688 0.13333 12.944 0.399997C13.2 0.655997 13.328 0.970663 13.328 1.344V12C13.328 12.3733 13.2 12.6933 12.944 12.96C12.688 13.216 12.3733 13.344 12 13.344H1.328C0.965333 13.344 0.650667 13.216 0.384 12.96C0.128 12.6933 0 12.3733 0 12V1.344C0 0.970663 0.128 0.655997 0.384 0.399997C0.650667 0.13333 0.965333 -3.8147e-06 1.328 -3.8147e-06ZM3.36 2.864H1.84V4.384H3.36V2.864ZM3.872 1.344V2.864H5.392V1.344H3.872ZM8.432 1.344H6.912V2.864H8.432V1.344ZM8.432 1.344V12H11.312C11.4933 12 11.6533 11.936 11.792 11.808C11.9307 11.6693 12 11.504 12 11.312V2.032C12 1.84 11.9307 1.68 11.792 1.552C11.6533 1.41333 11.4933 1.344 11.312 1.344H8.432ZM5.392 4.384H3.872V5.904H5.392V4.384ZM5.392 2.864V4.384H6.912V2.864H5.392ZM8.432 4.384H6.912V5.904H8.432V4.384ZM3.872 7.44V8.96H5.392V7.44H6.912V5.904H5.392V7.44H3.872ZM8.432 7.44H6.912V8.96H8.432V7.44ZM1.84 5.904V7.44H3.36V5.904H1.84ZM5.392 10.48H3.872V12H5.392V10.48ZM1.84 8.96V10.48H3.36V8.96H1.84ZM8.432 10.48H6.912V12H8.432V10.48ZM6.912 8.96H5.392V10.48H6.912V8.96Z",fill:"#1A1A1A"}))},at=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8 1C4.15 1 1 4.15 1 8C1 11.85 4.15 15 8 15C11.85 15 15 11.85 15 8C15 4.15 11.85 1 8 1ZM8 13.6C6.88 13.6 5.9 12.62 5.9 11.5C5.9 10.38 6.88 9.4 8 9.4C9.12 9.4 10.1 10.38 10.1 11.5C10.1 12.62 9.12 13.6 8 13.6ZM11.78 10.52C11.71 10.8 11.64 11.08 11.5 11.36C11.43 10.45 11.08 9.68 10.45 9.05C9.82 8.35 8.91 8 8 8C7.3 8 6.6 8.21 6.04 8.56C5.48 8.91 4.99 9.47 4.78 10.1C4.64 10.52 4.5 10.94 4.5 11.36C4.29 10.87 4.15 10.31 4.15 9.75C4.15 8.7 4.57 7.72 5.27 7.02C5.97 6.32 6.95 5.9 8 5.9C8.77 5.9 9.54 6.11 10.17 6.53C10.8 6.95 11.29 7.58 11.57 8.28C11.85 8.98 11.92 9.75 11.78 10.52ZM13.18 9.96C13.18 9.89 13.18 9.82 13.18 9.75C13.18 8.35 12.62 7.02 11.64 6.04C10.66 5.06 9.4 4.5 8 4.5C6.95 4.5 5.97 4.78 5.06 5.41C4.22 5.97 3.52 6.81 3.1 7.79C2.82 8.49 2.68 9.26 2.68 10.03C2.54 9.33 2.4 8.7 2.4 8C2.4 6.53 2.96 5.06 4.01 4.01C5.06 2.96 6.53 2.4 8 2.4C9.12 2.4 10.17 2.75 11.08 3.31C11.99 3.94 12.69 4.78 13.11 5.83C13.6 6.88 13.74 8 13.46 9.12C13.39 9.4 13.32 9.68 13.18 9.96Z",fill:"#1A1A1A"}))},it=function(){return a.createElement("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_19103_1992)"},a.createElement("path",{d:"M7.5225 2.9025C7.3125 2.9025 7.1475 3.0675 7.1475 3.2775V7.0275C7.1475 7.155 6.8325 7.155 6.8325 7.0275V3.7725C6.8325 3.72 6.8175 3.6675 6.8025 3.6225C6.7275 3.2175 6.375 2.9025 5.925 2.9025C5.4225 2.9025 5.0175 3.2925 5.0175 3.7725V7.0275C5.0175 7.155 4.7025 7.155 4.7025 7.0275V3.7725C4.7025 3.72 4.6875 3.6675 4.6725 3.6225C4.5975 3.2175 4.245 2.9025 3.795 2.9025C3.2925 2.9025 2.8875 3.2925 2.8875 3.7725V7.5225C2.8875 7.7325 3.0525 7.8975 3.2625 7.8975C3.4725 7.8975 3.6375 7.7325 3.6375 7.5225V3.7725C3.6375 3.645 3.9525 3.645 3.9525 3.7725V7.0275C3.9525 7.5075 4.3575 7.8975 4.86 7.8975C5.3025 7.8975 5.6625 7.5825 5.7375 7.1775C5.76 7.1325 5.7675 7.08 5.7675 7.0275V3.7725C5.7675 3.645 6.0825 3.645 6.0825 3.7725V7.0275C6.0825 7.5075 6.4875 7.8975 6.99 7.8975C7.4325 7.8975 7.785 7.5825 7.8675 7.1775C7.89 7.1325 7.8975 7.08 7.8975 7.0275V3.2775C7.8975 3.0675 7.7325 2.9025 7.5225 2.9025ZM5.4 0C2.415 0 0 2.415 0 5.4C0 8.385 2.415 10.8 5.4 10.8C8.385 10.8 10.8 8.385 10.8 5.4C10.8 2.415 8.385 0 5.4 0ZM5.4 9.735C3.0075 9.735 1.065 7.7925 1.065 5.4C1.065 3.0075 3.0075 1.065 5.4 1.065C7.7925 1.065 9.735 3.0075 9.735 5.4C9.735 7.7925 7.7925 9.735 5.4 9.735Z",fill:"#666666"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_19103_1992"},a.createElement("rect",{width:"10.8",height:"10.8",fill:"white"}))))},lt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_7809_38293)"},a.createElement("path",{d:"M4.95132 4.67891C4.9847 4.57877 5.00695 4.47864 5.00695 4.38962C5.00695 4.2561 4.97357 4.12259 4.90682 4.00019C4.84006 3.8778 4.75104 3.78879 4.62865 3.72203C4.50626 3.65527 4.37274 3.61076 4.22809 3.61076C4.1057 3.61076 4.00556 3.63302 3.90542 3.67752C3.80529 3.72203 3.7274 3.78879 3.64951 3.85555L0.278164 7.37154C0.189152 7.47168 0.122392 7.56069 0.0667594 7.66083C0.0111266 7.76097 0 7.87224 0 7.9835C0 8.09477 0.0222531 8.21716 0.0667594 8.3173C0.111266 8.41744 0.189152 8.51758 0.278164 8.61772L3.63839 12.1226C3.71627 12.2005 3.79416 12.2561 3.8943 12.3117C3.99444 12.3674 4.09458 12.3896 4.21697 12.3896C4.37274 12.3896 4.50626 12.3562 4.61752 12.2784C4.72879 12.2005 4.82893 12.1115 4.89569 11.9891C4.96245 11.8667 4.99583 11.7443 4.99583 11.5996C4.99583 11.4995 4.9847 11.4105 4.95132 11.3103C4.91794 11.2102 4.86231 11.1212 4.7733 11.0322L1.8025 7.99463L4.7733 4.9682C4.85118 4.87919 4.91794 4.79018 4.95132 4.69004V4.67891Z"}),a.createElement("path",{d:"M15.9232 7.6717C15.8787 7.57156 15.8008 7.47142 15.7118 7.38241L12.3516 3.86641C12.2737 3.78853 12.1847 3.73289 12.0957 3.68839C12.0067 3.64388 11.8954 3.62163 11.7841 3.62163C11.6284 3.62163 11.4948 3.65501 11.3724 3.73289C11.2501 3.81078 11.161 3.89979 11.0943 4.01106C11.0275 4.12232 10.9941 4.25584 10.9941 4.40049C10.9941 4.50063 11.0164 4.58964 11.0498 4.68978C11.0832 4.78992 11.1388 4.87893 11.2278 4.96794L14.1986 7.99437L11.2278 11.0319C11.1388 11.1209 11.0832 11.2099 11.0498 11.3101C11.0164 11.4102 11.0053 11.5104 11.0053 11.5994C11.0053 11.7329 11.0386 11.8664 11.1054 11.9888C11.1722 12.1112 11.2612 12.2002 11.3836 12.2781C11.506 12.356 11.6395 12.3894 11.7953 12.3894C11.9176 12.3894 12.0178 12.3671 12.1068 12.3115C12.1958 12.2558 12.2848 12.2002 12.3627 12.1223L15.7229 8.61745C15.8119 8.51732 15.8898 8.41718 15.9343 8.31704C15.9788 8.2169 16.0122 8.10563 16.0122 7.98324C16.0122 7.86085 15.99 7.76071 15.9343 7.66057L15.9232 7.6717Z"}),a.createElement("path",{d:"M9.32342 3.49932C8.96737 3.39918 8.60019 3.59946 8.48893 3.95551L6.21911 11.6662C6.11897 12.0223 6.31925 12.3894 6.6753 12.4896C6.74206 12.5118 6.79769 12.5118 6.86445 12.5118C7.15374 12.5118 7.42078 12.3227 7.50979 12.0334L9.76848 4.33381C9.86862 3.97776 9.66834 3.61059 9.31229 3.51045L9.32342 3.49932Z"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_7809_38293"},a.createElement("rect",{width:"16",height:"9.0459",fill:"white",transform:"translate(0 3.47705)"}))))},ct=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"13",viewBox:"0 0 12 13",fill:"none"},a.createElement("path",{d:"M2.672 -3.8147e-06L1.84 1.84L0 2.672L1.84 3.504L2.672 5.344L3.504 3.504L5.328 2.672L3.504 1.84L2.672 -3.8147e-06ZM9.376 8.624L10 10L10.624 8.624L12 8L10.624 7.376L10 6L9.376 7.376L8 8L9.376 8.624ZM3.216 11.888C2.98133 12.1227 2.704 12.2827 2.384 12.368C2.07467 12.4427 1.76 12.4427 1.44 12.368C1.13067 12.2827 0.858667 12.1227 0.624 11.888C0.389333 11.6533 0.229333 11.3813 0.144 11.072C0.0586667 10.752 0.0586667 10.4373 0.144 10.128C0.229333 9.808 0.389333 9.53066 0.624 9.296L7.808 2.112C8.064 1.84533 8.37867 1.712 8.752 1.712C9.12533 1.712 9.44 1.84533 9.696 2.112L10.4 2.816C10.6667 3.072 10.8 3.38666 10.8 3.76C10.8 4.12266 10.6667 4.43733 10.4 4.704L3.216 11.888ZM8.752 3.04L7.808 3.984L8.512 4.704L9.456 3.76L8.752 3.04ZM6.624 5.168L1.568 10.24C1.472 10.336 1.424 10.4533 1.424 10.592C1.424 10.72 1.472 10.832 1.568 10.928C1.664 11.024 1.78133 11.0773 1.92 11.088C2.05867 11.088 2.176 11.04 2.272 10.944L7.344 5.872L6.624 5.168Z",fill:"#1A1A1A"}))},st=["color"];var ut=function(e){var t=e.color,n=void 0===t?"#D70015":t;!function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}}(e,st);return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M5.01953 3.64893V2.26807C5.01953 1.76221 5.1722 1.368 5.47754 1.08545C5.78288 0.802897 6.21126 0.661621 6.7627 0.661621H9.22363C9.77507 0.661621 10.2035 0.802897 10.5088 1.08545C10.8141 1.368 10.9668 1.76221 10.9668 2.26807V3.64893H9.70215V2.32275C9.70215 2.16325 9.64974 2.03564 9.54492 1.93994C9.44466 1.84424 9.30794 1.79639 9.13477 1.79639H6.85156C6.68294 1.79639 6.54622 1.84424 6.44141 1.93994C6.33659 2.03564 6.28418 2.16325 6.28418 2.32275V3.64893H5.01953ZM2.18262 4.42822C2.014 4.42822 1.87044 4.37126 1.75195 4.25732C1.63346 4.14339 1.57422 3.99756 1.57422 3.81982C1.57422 3.6512 1.63346 3.50993 1.75195 3.396C1.87044 3.28206 2.014 3.2251 2.18262 3.2251H13.8174C13.986 3.2251 14.1296 3.28206 14.248 3.396C14.3665 3.50993 14.4258 3.6512 14.4258 3.81982C14.4258 3.99756 14.3665 4.14339 14.248 4.25732C14.1296 4.37126 13.986 4.42822 13.8174 4.42822H2.18262ZM5.02637 15.3384C4.51139 15.3384 4.10124 15.1948 3.7959 14.9077C3.49056 14.6206 3.3265 14.2218 3.30371 13.7114L2.86621 4.30518H4.11035L4.54785 13.4858C4.55697 13.6727 4.61849 13.8254 4.73242 13.9438C4.84635 14.0623 4.99219 14.1216 5.16992 14.1216H10.8164C10.9987 14.1216 11.1468 14.0623 11.2607 13.9438C11.3747 13.8299 11.4362 13.6772 11.4453 13.4858L11.8691 4.30518H13.1338L12.6895 13.7046C12.6667 14.2196 12.5026 14.6206 12.1973 14.9077C11.8919 15.1948 11.484 15.3384 10.9736 15.3384H5.02637Z",fill:n}))},mt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M0.496495 6.64195H3.66739C3.91471 6.64195 4.06871 6.72362 4.12937 6.88694C4.19004 7.04561 4.15504 7.21593 4.02437 7.39793L2.46343 9.55385C2.36076 9.70318 2.23477 9.77785 2.08544 9.77785C1.93611 9.77785 1.81012 9.70318 1.70745 9.55385L0.146507 7.40493C0.00651141 7.21827 -0.0331539 7.04561 0.0275107 6.88694C0.0881753 6.72362 0.244503 6.64195 0.496495 6.64195ZM15 7.99991C15 8.95187 14.8203 9.84318 14.461 10.6738C14.1064 11.4998 13.6117 12.2278 12.9771 12.8577C12.3471 13.4924 11.6168 13.987 10.7861 14.3417C9.95551 14.701 9.06654 14.8807 8.11924 14.8807C7.40526 14.8807 6.71928 14.7733 6.06131 14.5587C5.40799 14.3487 4.80135 14.0477 4.24137 13.6557C3.68605 13.2684 3.19374 12.8064 2.76442 12.2698C2.60576 12.0878 2.53576 11.8918 2.55442 11.6818C2.57776 11.4718 2.66875 11.3085 2.82742 11.1918C3.00008 11.0611 3.18207 11.0168 3.3734 11.0588C3.56472 11.0961 3.73272 11.1965 3.87738 11.3598C4.2087 11.7798 4.59369 12.1461 5.03234 12.4588C5.47099 12.7667 5.94931 13.0047 6.46729 13.1727C6.98994 13.3454 7.54059 13.4317 8.11924 13.4317C8.87054 13.4317 9.57285 13.2894 10.2262 13.0047C10.8841 12.7247 11.4605 12.3374 11.9551 11.8428C12.4544 11.3435 12.8441 10.7671 13.1241 10.1138C13.4087 9.45586 13.551 8.75121 13.551 7.99991C13.551 7.2486 13.4087 6.54629 13.1241 5.89298C12.8441 5.235 12.4544 4.65869 11.9551 4.16404C11.4605 3.66472 10.8841 3.27507 10.2262 2.99508C9.57285 2.71042 8.87054 2.56809 8.11924 2.56809C7.36793 2.56809 6.66328 2.71042 6.00531 2.99508C5.352 3.27507 4.77568 3.66472 4.27637 4.16404C3.77705 4.65869 3.3874 5.235 3.10741 5.89298C2.82742 6.54629 2.68742 7.25093 2.68742 8.00691C2.68742 8.2029 2.61509 8.37089 2.47043 8.51089C2.32577 8.65088 2.15544 8.72088 1.95944 8.72088C1.76345 8.72088 1.59546 8.65322 1.45546 8.51789C1.31547 8.37789 1.24314 8.20757 1.23847 8.00691C1.23847 7.05494 1.4158 6.16364 1.77045 5.333C2.12977 4.49769 2.62442 3.76505 3.2544 3.13507C3.88905 2.50509 4.61935 2.01278 5.44533 1.65812C6.27596 1.2988 7.16727 1.11914 8.11924 1.11914C9.06654 1.11914 9.95551 1.2988 10.7861 1.65812C11.6168 2.01278 12.3471 2.50509 12.9771 3.13507C13.6117 3.76505 14.1064 4.49536 14.461 5.326C14.8203 6.15664 15 7.04794 15 7.99991Z",fill:"#1A1A1A"}))},ft=function(){return a.createElement("svg",{width:"13",height:"15",viewBox:"0 0 13 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M12.3633 4.60693C12.3633 4.93896 12.2803 5.24658 12.1143 5.52978C11.9531 5.8081 11.731 6.03027 11.4478 6.19629C11.1694 6.35742 10.8643 6.43799 10.5322 6.43799C10.1953 6.43799 9.88769 6.35742 9.60937 6.19629C9.33105 6.03027 9.11133 5.80811 8.95019 5.52978C8.78418 5.24658 8.70117 4.93896 8.70117 4.60693C8.70117 4.26514 8.78418 3.95752 8.95019 3.68408C9.11133 3.40576 9.33105 3.18603 9.60937 3.0249C9.88769 2.85889 10.1953 2.77588 10.5322 2.77588C10.8643 2.77588 11.1694 2.85889 11.4478 3.0249C11.731 3.18603 11.9531 3.40576 12.1143 3.68408C12.2803 3.9624 12.3633 4.27002 12.3633 4.60693ZM11.3965 4.60693C11.3965 4.35791 11.3135 4.15039 11.1475 3.98437C10.9766 3.81836 10.7715 3.73535 10.5322 3.73535C10.2881 3.73535 10.083 3.81836 9.91699 3.98437C9.75098 4.15039 9.66797 4.35791 9.66797 4.60693C9.66797 4.84619 9.75098 5.05127 9.91699 5.22217C10.083 5.38818 10.2881 5.47119 10.5322 5.47119C10.7715 5.47119 10.9766 5.38818 11.1475 5.22217C11.3135 5.05127 11.3965 4.84619 11.3965 4.60693ZM9.8291 5.81543L11.228 5.81543L11.228 13.7402C11.228 13.9307 11.1597 14.0942 11.0229 14.231C10.8813 14.3628 10.7178 14.4287 10.5322 14.4287C10.3418 14.4287 10.1782 14.3628 10.0415 14.231C9.8999 14.0942 9.8291 13.9307 9.8291 13.7402L9.8291 5.81543ZM9.8291 0.666503C9.8291 0.480957 9.89746 0.324707 10.0342 0.197753C10.1709 0.0659175 10.3369 -4.51841e-07 10.5322 -4.60378e-07C10.7178 -4.68489e-07 10.8813 0.0659175 11.0229 0.197753C11.1597 0.324707 11.228 0.480957 11.228 0.666503L11.228 3.32519L9.8291 3.32519L9.8291 0.666503ZM8.0127 9.74121C8.0127 10.0781 7.93213 10.3857 7.771 10.6641C7.60498 10.9375 7.38281 11.1572 7.10449 11.3232C6.82617 11.4893 6.51855 11.5723 6.18164 11.5723C5.84961 11.5723 5.54443 11.4893 5.26611 11.3232C4.98291 11.1572 4.76074 10.9375 4.59961 10.6641C4.43359 10.3857 4.35059 10.0781 4.35059 9.74121C4.35059 9.4043 4.43359 9.09912 4.59961 8.82568C4.76074 8.54736 4.98291 8.3252 5.26611 8.15918C5.54443 7.99316 5.84961 7.91016 6.18164 7.91016C6.51855 7.91016 6.82617 7.99316 7.10449 8.15918C7.38281 8.32519 7.60498 8.54736 7.771 8.82568C7.93213 9.09912 8.0127 9.4043 8.0127 9.74121ZM7.0459 9.74121C7.0459 9.49219 6.96289 9.28711 6.79687 9.12598C6.62598 8.95996 6.4209 8.87695 6.18164 8.87695C5.9375 8.87695 5.73242 8.95996 5.56641 9.12598C5.40039 9.28711 5.31738 9.49219 5.31738 9.74121C5.31738 9.98047 5.40039 10.1855 5.56641 10.3564C5.73242 10.5225 5.9375 10.6055 6.18164 10.6055C6.4209 10.6055 6.62598 10.5225 6.79687 10.3564C6.96289 10.1855 7.0459 9.98047 7.0459 9.74121ZM5.48584 13.7549L5.48584 10.9863L6.88477 10.9863L6.88477 13.7549C6.88477 13.9404 6.81641 14.0991 6.67969 14.231C6.53809 14.3628 6.37207 14.4287 6.18164 14.4287C5.99121 14.4287 5.82764 14.3628 5.69092 14.231C5.5542 14.0991 5.48584 13.9404 5.48584 13.7549ZM5.48584 0.688476C5.48584 0.493164 5.5542 0.32959 5.69092 0.197754C5.82275 0.0659177 5.98633 -2.61671e-07 6.18164 -2.70208e-07C6.37207 -2.78532e-07 6.53809 0.0659177 6.67969 0.197754C6.81641 0.32959 6.88477 0.493164 6.88477 0.688476L6.88477 8.54736L5.48584 8.54736L5.48584 0.688476ZM3.66211 4.60693C3.66211 4.93896 3.5791 5.24658 3.41309 5.52979C3.24707 5.80811 3.02734 6.03027 2.75391 6.19629C2.47559 6.35742 2.16797 6.43799 1.83105 6.43799C1.49414 6.43799 1.18896 6.35742 0.915527 6.19629C0.637207 6.03027 0.415039 5.80811 0.249023 5.52979C0.0830074 5.24658 -4.1481e-07 4.93896 -4.29324e-07 4.60693C-4.44051e-07 4.27002 0.0830074 3.9624 0.249023 3.68408C0.415039 3.40576 0.637207 3.18604 0.915527 3.0249C1.18896 2.85889 1.49414 2.77588 1.83105 2.77588C2.16797 2.77588 2.47559 2.85889 2.75391 3.0249C3.02734 3.18604 3.24707 3.40576 3.41309 3.68408C3.5791 3.9624 3.66211 4.27002 3.66211 4.60693ZM2.69531 4.60693C2.69531 4.35791 2.6123 4.15039 2.44629 3.98437C2.27539 3.81836 2.06787 3.73535 1.82373 3.73535C1.57959 3.73535 1.37695 3.81836 1.21582 3.98437C1.0498 4.15039 0.966796 4.35791 0.966796 4.60693C0.966796 4.84619 1.0498 5.05127 1.21582 5.22217C1.37695 5.38818 1.57959 5.47119 1.82373 5.47119C2.06787 5.47119 2.27539 5.38818 2.44629 5.22217C2.6123 5.05127 2.69531 4.84619 2.69531 4.60693ZM1.13525 5.78613L2.53418 5.78613L2.53418 13.7402C2.53418 13.9307 2.46582 14.0942 2.3291 14.231C2.1875 14.3628 2.02148 14.4287 1.83105 14.4287C1.64062 14.4287 1.47705 14.3628 1.34033 14.231C1.20361 14.0942 1.13525 13.9307 1.13525 13.7402L1.13525 5.78613ZM1.13525 0.666504C1.13525 0.480957 1.20361 0.324707 1.34033 0.197754C1.47217 0.0659179 1.63574 -7.15006e-08 1.83105 -8.00379e-08C2.02148 -8.83619e-08 2.1875 0.0659179 2.3291 0.197754C2.46582 0.324707 2.53418 0.480957 2.53418 0.666504L2.53418 3.39844L1.13525 3.39844L1.13525 0.666504Z",fill:"white"}))},pt=function(){return a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-gif"},a.createElement("span",null,"GIF"))},dt=function(){return a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-iframe"},a.createElement("span",null,"IFRAME"))},vt=function(){return a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-jpg"},a.createElement("span",null,"JPEG"))},ht=["className"];var Ct=function(e){e.className,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}}(e,ht);return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8.72344 12.2623C8.72344 12.4581 8.6526 12.6269 8.51094 12.7686C8.37344 12.9102 8.20469 12.9811 8.00469 12.9811C7.80469 12.9811 7.63385 12.9102 7.49219 12.7686C7.35469 12.6269 7.28594 12.4581 7.28594 12.2623V3.74355C7.28594 3.54772 7.35469 3.37897 7.49219 3.2373C7.63385 3.09147 7.80469 3.01855 8.00469 3.01855C8.20469 3.01855 8.37344 3.09147 8.51094 3.2373C8.6526 3.37897 8.72344 3.54772 8.72344 3.74355V12.2623ZM3.74219 8.7248C3.54635 8.7248 3.3776 8.65397 3.23594 8.5123C3.09427 8.37064 3.02344 8.1998 3.02344 7.9998C3.02344 7.80397 3.09427 7.63522 3.23594 7.49356C3.3776 7.35189 3.54635 7.28105 3.74219 7.28105H12.2672C12.463 7.28105 12.6297 7.35189 12.7672 7.49356C12.9089 7.63522 12.9797 7.80397 12.9797 7.9998C12.9797 8.1998 12.9089 8.37064 12.7672 8.5123C12.6297 8.65397 12.463 8.7248 12.2672 8.7248H3.74219Z",fill:"#1A1A1A"}))},gt=function(){return a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-png"},a.createElement("span",null,"PNG"))},bt=function(){return a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-svg"},a.createElement("span",null,"SVG"))},yt=function(){return a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-webp"},a.createElement("span",null,"WEBP"))},wt=function(){return a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-avif"},a.createElement("span",null,"AVIF"))},_t=function(){return a.createElement("span",{className:"wpmudev-tag-icon wpmudev-tag-icon-pro"},a.createElement("svg",{width:"30",height:"18",viewBox:"0 0 30 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M9 0.5H21C25.6944 0.5 29.5 4.30558 29.5 9C29.5 13.6944 25.6944 17.5 21 17.5H9C4.30558 17.5 0.5 13.6944 0.5 9C0.5 4.30558 4.30558 0.5 9 0.5Z",fill:"url(#paint0_radial_76_52537)"}),a.createElement("path",{d:"M9 0.5H21C25.6944 0.5 29.5 4.30558 29.5 9C29.5 13.6944 25.6944 17.5 21 17.5H9C4.30558 17.5 0.5 13.6944 0.5 9C0.5 4.30558 4.30558 0.5 9 0.5Z",stroke:"url(#paint1_linear_76_52537)"}),a.createElement("defs",null,a.createElement("radialGradient",{id:"paint0_radial_76_52537",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(15 9) scale(15 9)"},a.createElement("stop",{stopColor:"#571EE7"}),a.createElement("stop",{offset:"1",stopColor:"#571EE7",stopOpacity:"0.6"})),a.createElement("linearGradient",{id:"paint1_linear_76_52537",x1:"14.9235",y1:"-4.77849e-07",x2:"22.9052",y2:"13.3028",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#571EE7",stopOpacity:"0.2"}),a.createElement("stop",{offset:"0.5",stopColor:"white"}),a.createElement("stop",{offset:"1",stopColor:"#571EE7",stopOpacity:"0.2"})))),a.createElement("span",null,"Pro"))},Et=function(){return a.createElement("span",{className:"wpmudev-tag-icon wpmudev-tag-icon-new"},a.createElement("svg",{width:"37",height:"18",viewBox:"0 0 37 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M9 0.5H28C32.6944 0.5 36.5 4.30558 36.5 9C36.5 13.6944 32.6944 17.5 28 17.5H9C4.30558 17.5 0.5 13.6944 0.5 9C0.5 4.30558 4.30558 0.5 9 0.5Z",fill:"url(#paint0_radial_76_52858)"}),a.createElement("path",{d:"M9 0.5H28C32.6944 0.5 36.5 4.30558 36.5 9C36.5 13.6944 32.6944 17.5 28 17.5H9C4.30558 17.5 0.5 13.6944 0.5 9C0.5 4.30558 4.30558 0.5 9 0.5Z",stroke:"url(#paint1_linear_76_52858)"}),a.createElement("defs",null,a.createElement("radialGradient",{id:"paint0_radial_76_52858",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(18.5 9) scale(18.5 9)"},a.createElement("stop",{stopColor:"#0059FF",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#0059FF",stopOpacity:"0.05"})),a.createElement("linearGradient",{id:"paint1_linear_76_52858",x1:"18.4056",y1:"-4.77849e-07",x2:"25.5227",y2:"14.6295",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#0059FF",stopOpacity:"0.2"}),a.createElement("stop",{offset:"0.5",stopColor:"white"}),a.createElement("stop",{offset:"1",stopColor:"#0059FF",stopOpacity:"0.2"})))),a.createElement("span",null,"New"))},Ot=function(){return a.createElement("span",{className:"wpmudev-tag-icon wpmudev-tag-icon-default"},a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"18",viewBox:"0 0 50 18",fill:"none"},a.createElement("path",{d:"M9 0.5H41C45.6944 0.5 49.5 4.30558 49.5 9C49.5 13.6944 45.6944 17.5 41 17.5H9C4.30558 17.5 0.5 13.6944 0.5 9C0.5 4.30558 4.30558 0.5 9 0.5Z",fill:"url(#paint0_radial_76_52836)"}),a.createElement("path",{d:"M9 0.5H41C45.6944 0.5 49.5 4.30558 49.5 9C49.5 13.6944 45.6944 17.5 41 17.5H9C4.30558 17.5 0.5 13.6944 0.5 9C0.5 4.30558 4.30558 0.5 9 0.5Z",stroke:"url(#paint1_linear_76_52836)"}),a.createElement("defs",null,a.createElement("radialGradient",{id:"paint0_radial_76_52836",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(25 9) scale(25 9)"},a.createElement("stop",{stopColor:"#1A1A1A",stopOpacity:"0.6"}),a.createElement("stop",{offset:"1",stopColor:"#1A1A1A",stopOpacity:"0.3"})),a.createElement("linearGradient",{id:"paint1_linear_76_52836",x1:"24.8724",y1:"-4.77849e-07",x2:"30.6383",y2:"16.0161",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#1A1A1A",stopOpacity:"0.2"}),a.createElement("stop",{offset:"0.5",stopColor:"white"}),a.createElement("stop",{offset:"1",stopColor:"#1A1A1A",stopOpacity:"0.2"})))),a.createElement("span",null,"Default"))},St=function(){return a.createElement("svg",{width:"42",height:"56",viewBox:"0 0 42 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_88_23792)"},a.createElement("g",{clipPath:"url(#clip1_88_23792)"},a.createElement("rect",{width:"2.8",height:"2.8",transform:"translate(7.7002 9.10001)",fill:"#1A1A1A",fillOpacity:"0.6"}),a.createElement("rect",{width:"2.8",height:"2.8",transform:"translate(19.5996 9.10001)",fill:"#1A1A1A",fillOpacity:"0.3"}),a.createElement("rect",{width:"2.8",height:"2.8",transform:"translate(31.5 9.10001)",fill:"#1A1A1A",fillOpacity:"0.3"}),a.createElement("rect",{width:"2.8",height:"2.8",transform:"translate(7.7002 21)",fill:"#1A1A1A",fillOpacity:"0.45"}),a.createElement("rect",{width:"2.8",height:"2.8",transform:"translate(19.5996 21)",fill:"#1A1A1A",fillOpacity:"0.3"}),a.createElement("rect",{width:"2.8",height:"2.8",transform:"translate(31.5 21)",fill:"#1A1A1A",fillOpacity:"0.15"}),a.createElement("rect",{width:"2.8",height:"2.8",transform:"translate(7.7002 32.9)",fill:"#1A1A1A",fillOpacity:"0.3"}),a.createElement("rect",{width:"2.8",height:"2.8",transform:"translate(19.5996 32.9001)",fill:"#1A1A1A",fillOpacity:"0.15"}),a.createElement("rect",{width:"2.8",height:"2.8",transform:"translate(31.5 32.9001)",fill:"#1A1A1A",fillOpacity:"0.05"})),a.createElement("rect",{x:"0.42",y:"0.42",width:"41.16",height:"54.46",rx:"3.08",stroke:"#1A1A1A",strokeWidth:"0.84",strokeLinejoin:"bevel"}),a.createElement("g",{clipPath:"url(#clip2_88_23792)"},a.createElement("path",{d:"M30.0527 -0.699951H42.6527V11.9H33.5527C31.6197 11.9 30.0527 10.333 30.0527 8.40005V-0.699951Z",fill:"#F8F8F8"}),a.createElement("path",{d:"M30.0527 -0.699951L42.6527 11.9H30.0527V-0.699951Z",fill:"#1A1A1A"}))),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_88_23792"},a.createElement("rect",{width:"42",height:"55.3",fill:"white"})),a.createElement("clipPath",{id:"clip1_88_23792"},a.createElement("rect",{width:"42",height:"55.3",rx:"3.5",fill:"white"})),a.createElement("clipPath",{id:"clip2_88_23792"},a.createElement("path",{d:"M30.0527 -0.699951H42.6527V11.9H33.5527C31.6197 11.9 30.0527 10.333 30.0527 8.40005V-0.699951Z",fill:"white"}))))},jt=function(){return a.createElement("span",{className:"wpmudev-document-icon wpmudev-document-icon--avif"},a.createElement(St,null),a.createElement("span",null,"AVIF"))},Nt=function(){return a.createElement("span",{className:"wpmudev-document-icon wpmudev-document-icon--webp"},a.createElement(St,null),a.createElement("span",null,"WEBP"))},Pt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M7.34375 4.28125C7.38021 3.88021 7.59896 3.66146 8 3.625C8.40104 3.66146 8.61979 3.88021 8.65625 4.28125V7.64453L10.9805 9.20312C11.3086 9.45833 11.3633 9.75911 11.1445 10.1055C10.9076 10.4336 10.6159 10.4883 10.2695 10.2695L7.64453 8.51953C7.44401 8.41016 7.34375 8.22786 7.34375 7.97266V4.28125ZM8 1C9.3125 1.01823 10.4883 1.33724 11.5273 1.95703C12.5846 2.57682 13.4232 3.41536 14.043 4.47266C14.6628 5.51172 14.9818 6.6875 15 8C14.9818 9.3125 14.6628 10.4883 14.043 11.5273C13.4232 12.5846 12.5846 13.4232 11.5273 14.043C10.4883 14.6628 9.3125 14.9818 8 15C6.6875 14.9818 5.51172 14.6628 4.47266 14.043C3.41536 13.4232 2.57682 12.5846 1.95703 11.5273C1.33724 10.4883 1.01823 9.3125 1 8C1.01823 6.6875 1.33724 5.51172 1.95703 4.47266C2.57682 3.41536 3.41536 2.57682 4.47266 1.95703C5.51172 1.33724 6.6875 1.01823 8 1ZM2.3125 8C2.34896 9.60417 2.90495 10.944 3.98047 12.0195C5.05599 13.0951 6.39583 13.651 8 13.6875C9.60417 13.651 10.944 13.0951 12.0195 12.0195C13.0951 10.944 13.651 9.60417 13.6875 8C13.651 6.39583 13.0951 5.05599 12.0195 3.98047C10.944 2.90495 9.60417 2.34896 8 2.3125C6.39583 2.34896 5.05599 2.90495 3.98047 3.98047C2.90495 5.05599 2.34896 6.39583 2.3125 8Z",fill:"#777777"}))},xt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M3.99756 13.646L2.12988 14.3492C1.98828 14.4029 1.85645 14.3711 1.73438 14.2539C1.61719 14.1416 1.58789 14.0074 1.64648 13.8511L2.35693 12.0054L10.7358 3.6265L12.3691 5.26712L3.99756 13.646ZM13.1821 4.46878L11.5342 2.82816L12.4131 1.9639C12.623 1.75394 12.8452 1.64163 13.0796 1.62699C13.3188 1.61234 13.5386 1.70511 13.7388 1.90531L14.0977 2.27152C14.2979 2.4766 14.3931 2.69632 14.3833 2.9307C14.3735 3.16019 14.2637 3.38236 14.0537 3.5972L13.1821 4.46878Z",fill:"#1A1A1A"}))},kt=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},a.createElement("path",{d:"M9.57031 3.82129H10.5C10.86 3.82129 11.1585 3.86003 11.3955 3.9375C11.637 4.01042 11.8626 4.13574 12.0723 4.31348C12.2819 4.49121 12.5143 4.73275 12.7695 5.03809L14.9707 7.71094C15.0938 7.85677 15.1872 8.00033 15.251 8.1416C15.3193 8.27832 15.3649 8.43555 15.3877 8.61328C15.415 8.79102 15.4287 9.00521 15.4287 9.25586V13.0703C15.4287 13.7721 15.2441 14.3053 14.875 14.6699C14.5104 15.0345 13.9727 15.2168 13.2617 15.2168H2.16016C1.45378 15.2168 0.916016 15.0345 0.546875 14.6699C0.182292 14.3053 0 13.7721 0 13.0703V9.25586C0 9.00521 0.0136719 8.79102 0.0410156 8.61328C0.0683594 8.43555 0.113932 8.27832 0.177734 8.1416C0.241536 8.00033 0.334961 7.85677 0.458008 7.71094L2.65918 5.04492C2.90983 4.73503 3.13997 4.49121 3.34961 4.31348C3.55924 4.13574 3.78483 4.01042 4.02637 3.9375C4.27246 3.86003 4.57324 3.82129 4.92871 3.82129H5.8584V4.94238H4.8877C4.67806 4.94238 4.48893 4.9834 4.32031 5.06543C4.15625 5.14746 4.00358 5.27734 3.8623 5.45508L1.53125 8.34668C1.47656 8.41504 1.46061 8.48568 1.4834 8.55859C1.50618 8.63151 1.57227 8.66797 1.68164 8.66797H5.83789C6.00651 8.66797 6.12956 8.7181 6.20703 8.81836C6.28906 8.91406 6.33008 9.02572 6.33008 9.15332V9.17383C6.33008 9.40169 6.38477 9.625 6.49414 9.84375C6.60807 10.0579 6.76758 10.2357 6.97266 10.377C7.18229 10.5182 7.43066 10.5889 7.71777 10.5889C8.00033 10.5889 8.24414 10.5182 8.44922 10.377C8.65885 10.2357 8.81836 10.0579 8.92773 9.84375C9.04167 9.625 9.09863 9.40169 9.09863 9.17383V9.15332C9.09863 9.02572 9.13737 8.91406 9.21484 8.81836C9.29688 8.7181 9.42448 8.66797 9.59766 8.66797H13.7539C13.8542 8.66797 13.9157 8.63151 13.9385 8.55859C13.9613 8.48568 13.9476 8.41504 13.8975 8.34668L11.5596 5.45508C11.4229 5.27734 11.2702 5.14746 11.1016 5.06543C10.9375 4.9834 10.7507 4.94238 10.541 4.94238H9.57031V3.82129ZM2.24219 13.8428H13.1865C13.4736 13.8428 13.6947 13.7676 13.8496 13.6172C14.0046 13.4668 14.082 13.2412 14.082 12.9404V9.86426H10.2402C10.1673 10.2425 10.0124 10.582 9.77539 10.8828C9.54297 11.179 9.24902 11.4137 8.89355 11.5869C8.54264 11.7555 8.15072 11.8398 7.71777 11.8398C7.28483 11.8398 6.89062 11.7555 6.53516 11.5869C6.17969 11.4137 5.88346 11.179 5.64648 10.8828C5.41406 10.582 5.25911 10.2425 5.18164 9.86426H1.34668V12.9404C1.34668 13.2412 1.42415 13.4668 1.5791 13.6172C1.73405 13.7676 1.95508 13.8428 2.24219 13.8428ZM5.57812 5.66699C5.74219 5.66699 5.87891 5.72624 5.98828 5.84473L6.8291 6.74023L7.71777 7.85449L8.59961 6.74023L9.44043 5.84473C9.5498 5.72624 9.68425 5.66699 9.84375 5.66699C9.99414 5.66699 10.1217 5.71712 10.2266 5.81738C10.3359 5.91309 10.3906 6.03841 10.3906 6.19336C10.3906 6.33464 10.3314 6.46224 10.2129 6.57617L8.18262 8.53125C8.10059 8.61328 8.02083 8.67025 7.94336 8.70215C7.87044 8.73405 7.79525 8.75 7.71777 8.75C7.63574 8.75 7.55599 8.73405 7.47852 8.70215C7.40104 8.67025 7.32357 8.61328 7.24609 8.53125L5.20898 6.57617C5.09505 6.46224 5.03809 6.33464 5.03809 6.19336C5.03809 6.03841 5.09049 5.91309 5.19531 5.81738C5.30013 5.71712 5.42773 5.66699 5.57812 5.66699ZM7.71777 0C7.89095 0 8.03906 0.0615234 8.16211 0.18457C8.28971 0.30306 8.35352 0.446615 8.35352 0.615234V6.18652L8.23047 7.89551C8.2168 8.03678 8.16211 8.15983 8.06641 8.26465C7.97526 8.36491 7.85905 8.41504 7.71777 8.41504C7.5765 8.41504 7.45573 8.36491 7.35547 8.26465C7.25977 8.15983 7.20736 8.03678 7.19824 7.89551L7.0752 6.18652V0.615234C7.0752 0.446615 7.13672 0.30306 7.25977 0.18457C7.38737 0.0615234 7.54004 0 7.71777 0Z",fill:"#1A1A1A"}))},At=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.4038 8.875H9.35303V15H6.61865V8.875H4.37646V6.35938H6.61865V4.41797C6.61865 2.23047 7.93115 1 9.92725 1C10.8843 1 11.896 1.19141 11.896 1.19141V3.35156H10.7749C9.68115 3.35156 9.35303 4.00781 9.35303 4.71875V6.35938H11.7866L11.4038 8.875Z",fill:"#1A1A1A"}))},Lt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M3.69238 14.4966C2.49121 14.4966 1.89062 14.0889 1.89062 13.2734C1.89062 12.79 2.03223 12.2896 2.31543 11.772C2.60352 11.2544 3.01611 10.7734 3.55322 10.3291C4.09033 9.87988 4.73486 9.51855 5.48682 9.24512C6.23877 8.9668 7.07861 8.82764 8.00635 8.82764C8.9292 8.82764 9.76416 8.9668 10.5112 9.24512C11.2632 9.51855 11.9077 9.87988 12.4448 10.3291C12.9819 10.7734 13.3921 11.2544 13.6753 11.772C13.9634 12.2896 14.1074 12.79 14.1074 13.2734C14.1074 14.0889 13.5068 14.4966 12.3057 14.4966H3.69238ZM3.50928 13.2295H12.4888C12.5718 13.2295 12.6279 13.2148 12.6572 13.1855C12.6914 13.1611 12.7085 13.1196 12.7085 13.061C12.7085 12.7974 12.6035 12.4995 12.3936 12.1675C12.1836 11.8306 11.8784 11.5034 11.478 11.186C11.0776 10.8687 10.5845 10.6074 9.99854 10.4023C9.41748 10.1924 8.75342 10.0874 8.00635 10.0874C7.24951 10.0874 6.57812 10.1924 5.99219 10.4023C5.41113 10.6074 4.92041 10.8687 4.52002 11.186C4.11963 11.5034 3.81445 11.8306 3.60449 12.1675C3.39941 12.4995 3.29688 12.7974 3.29688 13.061C3.29688 13.1196 3.31152 13.1611 3.34082 13.1855C3.375 13.2148 3.43115 13.2295 3.50928 13.2295ZM8.00635 8.03662C7.44482 8.03662 6.93213 7.89014 6.46826 7.59717C6.00928 7.29932 5.64307 6.90137 5.36963 6.40332C5.09619 5.90527 4.95947 5.35107 4.95947 4.74072C4.95947 4.1499 5.09619 3.61035 5.36963 3.12207C5.64307 2.62891 6.00928 2.23584 6.46826 1.94287C6.93213 1.6499 7.44482 1.50342 8.00635 1.50342C8.56299 1.50342 9.07324 1.64746 9.53711 1.93555C10.001 2.22363 10.3696 2.61182 10.6431 3.1001C10.9165 3.58838 11.0532 4.13281 11.0532 4.7334C11.0532 5.33887 10.9141 5.89307 10.6357 6.396C10.3623 6.89404 9.99365 7.29199 9.52979 7.58984C9.0708 7.8877 8.56299 8.03662 8.00635 8.03662ZM8.00635 6.77686C8.31885 6.77686 8.60449 6.68896 8.86328 6.51318C9.12695 6.33252 9.33691 6.08838 9.49316 5.78076C9.6543 5.46826 9.73486 5.11914 9.73486 4.7334C9.73486 4.35742 9.6543 4.02295 9.49316 3.72998C9.33691 3.43213 9.12939 3.19775 8.87061 3.02686C8.61182 2.85596 8.32373 2.77051 8.00635 2.77051C7.68896 2.77051 7.39844 2.85596 7.13477 3.02686C6.87598 3.19775 6.66602 3.43213 6.50488 3.72998C6.34863 4.02783 6.27051 4.36475 6.27051 4.74072C6.27051 5.12646 6.34863 5.47314 6.50488 5.78076C6.66602 6.08838 6.87842 6.33252 7.14209 6.51318C7.40576 6.68896 7.69385 6.77686 8.00635 6.77686Z",fill:"#1A1A1A"}))},Tt=function(){return a.createElement("svg",{width:"17",height:"12",viewBox:"0 0 17 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M12.7825 0.50762C10.103 0.363554 8.50056 2.2753 8.50056 3.77784C8.50056 2.2753 6.83725 0.402443 4.2186 0.50762C1.74648 0.606611 -0.520103 3.06104 0.982389 5.98744C2.37736 8.70349 6.91147 9.1021 8.17132 11.2251C8.23793 11.3373 8.36258 11.408 8.49961 11.408C8.63663 11.408 8.76128 11.3365 8.82789 11.2251C10.0877 9.10122 14.6228 8.7026 16.0168 5.98744C17.5212 3.06104 15.2527 0.640197 12.7825 0.50762Z",stroke:"white"}))},Mt=function(){return a.createElement("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M6.13867 2.9668C7.86133 2.9668 9.2832 4.38867 9.2832 6.11133C9.2832 7.86133 7.86133 9.25586 6.13867 9.25586C4.38867 9.25586 2.99414 7.86133 2.99414 6.11133C2.99414 4.38867 4.38867 2.9668 6.13867 2.9668ZM6.13867 8.16211C7.25977 8.16211 8.16211 7.25977 8.16211 6.11133C8.16211 4.99023 7.25977 4.08789 6.13867 4.08789C4.99023 4.08789 4.08789 4.99023 4.08789 6.11133C4.08789 7.25977 5.01758 8.16211 6.13867 8.16211ZM10.1309 2.85742C10.1309 2.44727 9.80273 2.11914 9.39258 2.11914C8.98242 2.11914 8.6543 2.44727 8.6543 2.85742C8.6543 3.26758 8.98242 3.5957 9.39258 3.5957C9.80273 3.5957 10.1309 3.26758 10.1309 2.85742ZM12.209 3.5957C12.2637 4.60742 12.2637 7.64258 12.209 8.6543C12.1543 9.63867 11.9355 10.4863 11.2246 11.2246C10.5137 11.9355 9.63867 12.1543 8.6543 12.209C7.64258 12.2637 4.60742 12.2637 3.5957 12.209C2.61133 12.1543 1.76367 11.9355 1.02539 11.2246C0.314453 10.4863 0.0957031 9.63867 0.0410156 8.6543C-0.0136719 7.64258 -0.0136719 4.60742 0.0410156 3.5957C0.0957031 2.61133 0.314453 1.73633 1.02539 1.02539C1.76367 0.314453 2.61133 0.0957031 3.5957 0.0410156C4.60742 -0.0136719 7.64258 -0.0136719 8.6543 0.0410156C9.63867 0.0957031 10.5137 0.314453 11.2246 1.02539C11.9355 1.73633 12.1543 2.61133 12.209 3.5957ZM10.8965 9.7207C11.2246 8.92773 11.1426 7.01367 11.1426 6.11133C11.1426 5.23633 11.2246 3.32227 10.8965 2.50195C10.6777 1.98242 10.2676 1.54492 9.74805 1.35352C8.92773 1.02539 7.01367 1.10742 6.13867 1.10742C5.23633 1.10742 3.32227 1.02539 2.5293 1.35352C1.98242 1.57227 1.57227 1.98242 1.35352 2.50195C1.02539 3.32227 1.10742 5.23633 1.10742 6.11133C1.10742 7.01367 1.02539 8.92773 1.35352 9.7207C1.57227 10.2676 1.98242 10.6777 2.5293 10.8965C3.32227 11.2246 5.23633 11.1426 6.13867 11.1426C7.01367 11.1426 8.92773 11.2246 9.74805 10.8965C10.2676 10.6777 10.7051 10.2676 10.8965 9.7207Z",fill:"#1A1A1A"}))},It=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M5.67383 4.98535C5.55078 4.98535 5.44824 4.94434 5.36621 4.8623C5.28874 4.78027 5.25 4.68001 5.25 4.56152C5.25 4.44759 5.28874 4.35189 5.36621 4.27441C5.44824 4.19694 5.55078 4.1582 5.67383 4.1582H10.3291C10.4476 4.1582 10.5456 4.19694 10.623 4.27441C10.7051 4.35189 10.7461 4.44759 10.7461 4.56152C10.7461 4.68001 10.7051 4.78027 10.623 4.8623C10.5456 4.94434 10.4476 4.98535 10.3291 4.98535H5.67383ZM5.67383 7.17285C5.55078 7.17285 5.44824 7.13411 5.36621 7.05664C5.28874 6.97461 5.25 6.87207 5.25 6.74902C5.25 6.63509 5.28874 6.53939 5.36621 6.46191C5.44824 6.38444 5.55078 6.3457 5.67383 6.3457H10.3291C10.4476 6.3457 10.5456 6.38444 10.623 6.46191C10.7051 6.53939 10.7461 6.63509 10.7461 6.74902C10.7461 6.87207 10.7051 6.97461 10.623 7.05664C10.5456 7.13411 10.4476 7.17285 10.3291 7.17285H5.67383ZM5.67383 9.36035C5.55078 9.36035 5.44824 9.32161 5.36621 9.24414C5.28874 9.16667 5.25 9.07096 5.25 8.95703C5.25 8.83854 5.28874 8.74056 5.36621 8.66309C5.44824 8.58105 5.55078 8.54004 5.67383 8.54004H7.94336C8.06185 8.54004 8.16211 8.58105 8.24414 8.66309C8.32617 8.74056 8.36719 8.83854 8.36719 8.95703C8.36719 9.07096 8.32617 9.16667 8.24414 9.24414C8.16211 9.32161 8.06185 9.36035 7.94336 9.36035H5.67383ZM2.40625 12.874V3.13965C2.40625 2.42871 2.58854 1.89095 2.95312 1.52637C3.31771 1.15723 3.84863 0.972656 4.5459 0.972656H11.4502C12.152 0.972656 12.6829 1.15723 13.043 1.52637C13.4076 1.89095 13.5898 2.42871 13.5898 3.13965V12.874C13.5898 13.5804 13.4076 14.1159 13.043 14.4805C12.6829 14.8451 12.152 15.0273 11.4502 15.0273H4.5459C3.84863 15.0273 3.31771 14.8451 2.95312 14.4805C2.58854 14.1159 2.40625 13.5804 2.40625 12.874ZM3.78027 12.7646C3.78027 13.0563 3.85319 13.2773 3.99902 13.4277C4.14941 13.5827 4.37728 13.6602 4.68262 13.6602H11.3135C11.6188 13.6602 11.8467 13.5827 11.9971 13.4277C12.1475 13.2773 12.2227 13.0563 12.2227 12.7646V3.24219C12.2227 2.95052 12.1475 2.72949 11.9971 2.5791C11.8467 2.42415 11.6188 2.34668 11.3135 2.34668H4.68262C4.37728 2.34668 4.14941 2.42415 3.99902 2.5791C3.85319 2.72949 3.78027 2.95052 3.78027 3.24219V12.7646Z",fill:"#1A1A1A"}))},zt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.4414 8.875C13.806 9.03906 13.9427 9.32161 13.8516 9.72266C13.4505 11.0352 12.7122 12.0924 11.6367 12.8945C10.5794 13.6966 9.35807 14.1068 7.97266 14.125C6.87891 14.1068 5.8763 13.8333 4.96484 13.3047C4.05339 12.7578 3.3151 12.0286 2.75 11.1172V13.9062C2.71354 14.3073 2.49479 14.526 2.09375 14.5625C1.69271 14.526 1.47396 14.3073 1.4375 13.9062V9.53125C1.47396 9.13021 1.69271 8.91146 2.09375 8.875H6.46875C6.85156 8.91146 7.0612 9.13021 7.09766 9.53125C7.0612 9.93229 6.84245 10.151 6.44141 10.1875H3.70703C4.1263 10.9896 4.70964 11.6276 5.45703 12.1016C6.20443 12.5573 7.04297 12.7943 7.97266 12.8125C9.06641 12.7943 10.0326 12.4753 10.8711 11.8555C11.7279 11.2174 12.3112 10.3698 12.6211 9.3125C12.7669 8.94792 13.0404 8.80208 13.4414 8.875ZM13.9062 1.4375C14.3073 1.47396 14.526 1.69271 14.5625 2.09375V6.46875C14.526 6.86979 14.3073 7.08854 13.9062 7.125H9.53125C9.13021 7.08854 8.91146 6.86979 8.875 6.46875C8.91146 6.06771 9.13021 5.84896 9.53125 5.8125H12.293C11.8555 5.01042 11.263 4.3724 10.5156 3.89844C9.76823 3.44271 8.92969 3.20573 8 3.1875C6.90625 3.20573 5.9401 3.52474 5.10156 4.14453C4.28125 4.78255 3.70703 5.62109 3.37891 6.66016C3.23307 7.02474 2.95964 7.17057 2.55859 7.09766C2.19401 6.95182 2.04818 6.67839 2.12109 6.27734C2.52214 4.96484 3.26042 3.90755 4.33594 3.10547C5.39323 2.30339 6.61458 1.89323 8 1.875C9.11198 1.89323 10.1237 2.16667 11.0352 2.69531C11.9466 3.24219 12.6849 3.97135 13.25 4.88281V2.09375C13.2865 1.69271 13.5052 1.47396 13.9062 1.4375Z",fill:"#1A1A1A"}))},Ht=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_6776_16410)"},a.createElement("path",{d:"M-0.0351562 12.3271V9.49023C-0.0351562 9.18945 0.0537109 8.9502 0.231445 8.77246C0.413737 8.59473 0.632487 8.50586 0.887695 8.50586C1.03353 8.50586 1.17253 8.5332 1.30469 8.58789C1.43685 8.64258 1.56673 8.72461 1.69434 8.83398C1.84473 8.96159 1.99967 9.06641 2.15918 9.14844C2.32324 9.23047 2.4987 9.27148 2.68555 9.27148C3.0319 9.27148 3.32585 9.15527 3.56738 8.92285C3.80892 8.69043 3.92969 8.38509 3.92969 8.00684C3.92969 7.62402 3.80892 7.31869 3.56738 7.09082C3.32585 6.8584 3.0319 6.74219 2.68555 6.74219C2.4987 6.74219 2.32324 6.7832 2.15918 6.86523C1.99967 6.94271 1.84473 7.04525 1.69434 7.17285C1.56673 7.27767 1.43685 7.3597 1.30469 7.41895C1.17253 7.47363 1.03353 7.50098 0.887695 7.50098C0.632487 7.50098 0.413737 7.41211 0.231445 7.23438C0.0537109 7.05664 -0.0351562 6.81738 -0.0351562 6.5166V3.66602C-0.0351562 3.01432 0.144857 2.51302 0.504883 2.16211C0.864909 1.80664 1.3776 1.62891 2.04297 1.62891H10.0342C10.695 1.62891 11.2054 1.80664 11.5654 2.16211C11.9255 2.51302 12.1055 3.01432 12.1055 3.66602V5.81934C12.1055 5.87402 12.1237 5.91048 12.1602 5.92871C12.1966 5.94694 12.2445 5.93555 12.3037 5.89453C12.486 5.77148 12.6865 5.6735 12.9053 5.60059C13.124 5.52311 13.3564 5.48438 13.6025 5.48438C14.0264 5.48438 14.4229 5.58919 14.792 5.79883C15.1611 6.00846 15.4596 6.30241 15.6875 6.68066C15.9199 7.05892 16.0361 7.50326 16.0361 8.01367C16.0361 8.52865 15.9199 8.97526 15.6875 9.35352C15.4596 9.73177 15.1611 10.0257 14.792 10.2354C14.4229 10.445 14.0264 10.5498 13.6025 10.5498C13.3564 10.5498 13.124 10.5111 12.9053 10.4336C12.6865 10.3561 12.486 10.2581 12.3037 10.1396C12.2445 10.1032 12.1966 10.0941 12.1602 10.1123C12.1237 10.126 12.1055 10.1602 12.1055 10.2148V12.3271C12.1055 12.9834 11.9255 13.487 11.5654 13.8379C11.2054 14.1934 10.695 14.3711 10.0342 14.3711H2.04297C1.3776 14.3711 0.864909 14.1934 0.504883 13.8379C0.144857 13.487 -0.0351562 12.9834 -0.0351562 12.3271ZM1.25684 12.2725C1.25684 12.5277 1.32747 12.7259 1.46875 12.8672C1.61458 13.0085 1.81283 13.0791 2.06348 13.0791H10.0205C10.2666 13.0791 10.4603 13.0085 10.6016 12.8672C10.7474 12.7259 10.8203 12.5277 10.8203 12.2725V9.51758C10.8203 9.2168 10.9092 8.97526 11.0869 8.79297C11.2646 8.60612 11.4811 8.5127 11.7363 8.5127C11.8867 8.5127 12.0257 8.54232 12.1533 8.60156C12.2855 8.66081 12.4154 8.74284 12.543 8.84766C12.6934 8.97526 12.8506 9.08008 13.0146 9.16211C13.1787 9.23958 13.3542 9.27832 13.541 9.27832C13.8828 9.27832 14.1745 9.16439 14.416 8.93652C14.6576 8.7041 14.7783 8.39648 14.7783 8.01367C14.7783 7.63542 14.6576 7.33236 14.416 7.10449C14.1745 6.87207 13.8828 6.75586 13.541 6.75586C13.3542 6.75586 13.1787 6.79688 13.0146 6.87891C12.8506 6.95638 12.6934 7.05892 12.543 7.18652C12.4154 7.29134 12.2855 7.37337 12.1533 7.43262C12.0257 7.4873 11.8867 7.51465 11.7363 7.51465C11.4811 7.51465 11.2646 7.4235 11.0869 7.24121C10.9092 7.05892 10.8203 6.8151 10.8203 6.50977V3.72754C10.8203 3.46777 10.7474 3.26725 10.6016 3.12598C10.4603 2.9847 10.2666 2.91406 10.0205 2.91406H2.06348C1.81283 2.91406 1.61458 2.9847 1.46875 3.12598C1.32747 3.26725 1.25684 3.46777 1.25684 3.72754V5.73047C1.25684 5.86719 1.28418 5.92871 1.33887 5.91504C1.39811 5.90137 1.45964 5.8763 1.52344 5.83984C1.69661 5.73047 1.88574 5.6416 2.09082 5.57324C2.2959 5.50488 2.51693 5.4707 2.75391 5.4707C3.17773 5.4707 3.57422 5.57552 3.94336 5.78516C4.3125 5.99479 4.611 6.29102 4.83887 6.67383C5.07129 7.05208 5.1875 7.49642 5.1875 8.00684C5.1875 8.51725 5.07129 8.96387 4.83887 9.34668C4.611 9.72493 4.3125 10.0189 3.94336 10.2285C3.57422 10.4336 3.17773 10.5361 2.75391 10.5361C2.51693 10.5361 2.2959 10.502 2.09082 10.4336C1.88574 10.3652 1.69661 10.2786 1.52344 10.1738C1.45964 10.1328 1.39811 10.1077 1.33887 10.0986C1.28418 10.085 1.25684 10.1419 1.25684 10.2695V12.2725Z",fill:"#1A1A1A"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_6776_16410"},a.createElement("rect",{width:"16",height:"16",fill:"white"}))))},Bt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M12.0248 1.75H14.1725L9.48153 7.1033L15 14.3889H10.6801L7.29422 9.97135L3.4246 14.3889H1.27379L6.29031 8.66189L1 1.75H5.42938L8.48674 5.78776L12.0248 1.75ZM11.2703 13.1068H12.4598L4.7814 2.96528H3.50369L11.2703 13.1068Z",fill:"#1A1A1A"}))},Dt=function(){return a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-chatbot"},a.createElement("span",null,"🤖"))},Vt=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"59",height:"9",viewBox:"0 0 59 9",fill:"none"},a.createElement("path",{d:"M18 8C18.9 8 20 8 21 7L27.1 1.02162C28.5 -0.340538 30.6 -0.340538 32 1.02162L38 7C39 8 40 8 41 8L41 9L18 9L18 8Z",fill:"#0B4E5A"}))},Zt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.0625 8C11.0807 7.63542 11.2083 7.32552 11.4453 7.07031C11.7005 6.83333 12.0104 6.70573 12.375 6.6875C12.7396 6.70573 13.0495 6.83333 13.3047 7.07031C13.5417 7.32552 13.6693 7.63542 13.6875 8C13.6693 8.36458 13.5417 8.67448 13.3047 8.92969C13.0495 9.16667 12.7396 9.29427 12.375 9.3125C12.0104 9.29427 11.7005 9.16667 11.4453 8.92969C11.2083 8.67448 11.0807 8.36458 11.0625 8ZM6.6875 8C6.70573 7.63542 6.83333 7.32552 7.07031 7.07031C7.32552 6.83333 7.63542 6.70573 8 6.6875C8.36458 6.70573 8.67448 6.83333 8.92969 7.07031C9.16667 7.32552 9.29427 7.63542 9.3125 8C9.29427 8.36458 9.16667 8.67448 8.92969 8.92969C8.67448 9.16667 8.36458 9.29427 8 9.3125C7.63542 9.29427 7.32552 9.16667 7.07031 8.92969C6.83333 8.67448 6.70573 8.36458 6.6875 8ZM4.9375 8C4.91927 8.36458 4.79167 8.67448 4.55469 8.92969C4.29948 9.16667 3.98958 9.29427 3.625 9.3125C3.26042 9.29427 2.95052 9.16667 2.69531 8.92969C2.45833 8.67448 2.33073 8.36458 2.3125 8C2.33073 7.63542 2.45833 7.32552 2.69531 7.07031C2.95052 6.83333 3.26042 6.70573 3.625 6.6875C3.98958 6.70573 4.29948 6.83333 4.55469 7.07031C4.79167 7.32552 4.91927 7.63542 4.9375 8Z",fill:"#1A1A1A"}))},Ft=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8 11.0625C8.36458 11.0807 8.67448 11.2083 8.92969 11.4453C9.16667 11.7005 9.29427 12.0104 9.3125 12.375C9.29427 12.7396 9.16667 13.0495 8.92969 13.3047C8.67448 13.5417 8.36458 13.6693 8 13.6875C7.63542 13.6693 7.32552 13.5417 7.07031 13.3047C6.83333 13.0495 6.70573 12.7396 6.6875 12.375C6.70573 12.0104 6.83333 11.7005 7.07031 11.4453C7.32552 11.2083 7.63542 11.0807 8 11.0625ZM8 6.6875C8.36458 6.70573 8.67448 6.83333 8.92969 7.07031C9.16667 7.32552 9.29427 7.63542 9.3125 8C9.29427 8.36458 9.16667 8.67448 8.92969 8.92969C8.67448 9.16667 8.36458 9.29427 8 9.3125C7.63542 9.29427 7.32552 9.16667 7.07031 8.92969C6.83333 8.67448 6.70573 8.36458 6.6875 8C6.70573 7.63542 6.83333 7.32552 7.07031 7.07031C7.32552 6.83333 7.63542 6.70573 8 6.6875ZM8 4.9375C7.63542 4.91927 7.32552 4.79167 7.07031 4.55469C6.83333 4.29948 6.70573 3.98958 6.6875 3.625C6.70573 3.26042 6.83333 2.95052 7.07031 2.69531C7.32552 2.45833 7.63542 2.33073 8 2.3125C8.36458 2.33073 8.67448 2.45833 8.92969 2.69531C9.16667 2.95052 9.29427 3.26042 9.3125 3.625C9.29427 3.98958 9.16667 4.29948 8.92969 4.55469C8.67448 4.79167 8.36458 4.91927 8 4.9375Z",fill:"#777777"}))},Rt=function(){return a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8.99896 15.2997C8.12738 15.2997 7.31134 15.1352 6.55084 14.8062C5.79462 14.4815 5.12598 14.0286 4.54492 13.4476C3.96814 12.8708 3.51526 12.2043 3.18628 11.4481C2.86157 10.6876 2.69922 9.87152 2.69922 8.99994C2.69922 8.12836 2.86157 7.31232 3.18628 6.55182C3.51526 5.79132 3.96814 5.12268 4.54492 4.5459C5.12598 3.96912 5.79462 3.51837 6.55084 3.19366C7.31134 2.86469 8.12738 2.7002 8.99896 2.7002C9.87054 2.7002 10.6866 2.86469 11.4471 3.19366C12.2076 3.51837 12.8762 3.96912 13.453 4.5459C14.0298 5.12268 14.4805 5.79132 14.8052 6.55182C15.1342 7.31232 15.2987 8.12836 15.2987 8.99994C15.2987 9.87152 15.1342 10.6876 14.8052 11.4481C14.4805 12.2043 14.0298 12.8708 13.453 13.4476C12.8762 14.0286 12.2076 14.4815 11.4471 14.8062C10.6866 15.1352 9.87054 15.2997 8.99896 15.2997ZM8.99896 13.9731C9.68683 13.9731 10.3298 13.8428 10.928 13.5822C11.5304 13.3258 12.0602 12.9712 12.5173 12.5183C12.9745 12.0612 13.3312 11.5335 13.5876 10.9354C13.8439 10.3329 13.9721 9.68781 13.9721 8.99994C13.9721 8.31207 13.8439 7.66907 13.5876 7.07092C13.3312 6.46851 12.9745 5.94086 12.5173 5.48798C12.0602 5.03082 11.5304 4.67407 10.928 4.41772C10.3298 4.1571 9.68683 4.02679 8.99896 4.02679C8.3111 4.02679 7.66596 4.1571 7.06354 4.41772C6.46539 4.67407 5.93774 5.03082 5.48059 5.48798C5.02344 5.94086 4.66669 6.46851 4.41034 7.07092C4.15399 7.66907 4.02582 8.31207 4.02582 8.99994C4.02582 9.68781 4.15399 10.3329 4.41034 10.9354C4.66669 11.5335 5.02344 12.0612 5.48059 12.5183C5.93774 12.9712 6.46539 13.3258 7.06354 13.5822C7.66596 13.8428 8.3111 13.9731 8.99896 13.9731ZM7.93512 12.3004C7.7984 12.3004 7.68091 12.2556 7.58264 12.1658C7.48865 12.0761 7.44165 11.9608 7.44165 11.8198C7.44165 11.6916 7.48865 11.5826 7.58264 11.4929C7.68091 11.3989 7.7984 11.3519 7.93512 11.3519H8.64008V8.92304H8.04407C7.90308 8.92304 7.78558 8.87817 7.69159 8.78845C7.5976 8.69873 7.5506 8.58337 7.5506 8.44238C7.5506 8.30994 7.5976 8.19885 7.69159 8.10913C7.78558 8.01514 7.90308 7.96814 8.04407 7.96814H9.18481C9.35999 7.96814 9.49243 8.02368 9.58215 8.13477C9.67615 8.24585 9.72315 8.39752 9.72315 8.58978V11.3519H10.364C10.5007 11.3519 10.6161 11.3989 10.7101 11.4929C10.8084 11.5826 10.8575 11.6916 10.8575 11.8198C10.8575 11.9608 10.8084 12.0761 10.7101 12.1658C10.6161 12.2556 10.5007 12.3004 10.364 12.3004H7.93512ZM8.96692 7.05811C8.73621 7.05811 8.53967 6.97693 8.37732 6.81458C8.21497 6.65222 8.13379 6.45782 8.13379 6.23138C8.13379 5.9964 8.21497 5.79773 8.37732 5.63538C8.53967 5.47302 8.73621 5.39185 8.96692 5.39185C9.19763 5.39185 9.39203 5.47302 9.55011 5.63538C9.71246 5.79773 9.79364 5.9964 9.79364 6.23138C9.79364 6.45782 9.71246 6.65222 9.55011 6.81458C9.39203 6.97693 9.19763 7.05811 8.96692 7.05811Z",fill:"#666666"}))},Ut=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M4.60156 12.7217C4.60156 12.5029 4.68359 12.3184 4.84766 12.168C5.01172 12.0176 5.21452 11.9424 5.45605 11.9424H7.34961V6.6377H5.68164C5.44466 6.6377 5.24186 6.5625 5.07324 6.41211C4.90918 6.26172 4.82487 6.07943 4.82031 5.86523C4.82031 5.64648 4.90234 5.46191 5.06641 5.31152C5.23503 5.16113 5.4401 5.08594 5.68164 5.08594H8.23828C8.46159 5.08594 8.65072 5.16569 8.80566 5.3252C8.96517 5.48014 9.04492 5.67155 9.04492 5.89941V11.9424H10.5557C10.7972 11.9424 11 12.0176 11.1641 12.168C11.3281 12.3184 11.4079 12.5029 11.4033 12.7217C11.4033 12.9359 11.3213 13.1182 11.1572 13.2686C10.9932 13.4189 10.7926 13.4941 10.5557 13.4941H5.45605C5.21452 13.4941 5.01172 13.4189 4.84766 13.2686C4.68815 13.1182 4.60612 12.9359 4.60156 12.7217ZM7.90332 2.9873C7.67546 2.9873 7.4681 2.93262 7.28125 2.82324C7.0944 2.70931 6.94401 2.55892 6.83008 2.37207C6.7207 2.18066 6.66602 1.97331 6.66602 1.75C6.66602 1.51758 6.7207 1.30794 6.83008 1.12109C6.94401 0.934245 7.0944 0.786133 7.28125 0.676758C7.4681 0.562826 7.67546 0.505859 7.90332 0.505859C8.13118 0.505859 8.33854 0.562826 8.52539 0.676758C8.71224 0.786133 8.86035 0.934245 8.96973 1.12109C9.0791 1.30794 9.13379 1.51758 9.13379 1.75C9.13379 1.97331 9.0791 2.18066 8.96973 2.37207C8.86035 2.55892 8.71224 2.70931 8.52539 2.82324C8.33854 2.93262 8.13118 2.9873 7.90332 2.9873Z",fill:"#1A1A1A"}))},Gt=function(){return a.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",null,a.createElement("path",{d:"M10 0H2C0.9 0 0 0.9 0 2V10C0 11.1 0.9 12 2 12H10C11.1 12 12 11.1 12 10V2C12 0.9 11.1 0 10 0ZM1 10V2C1 1.45 1.45 1 2 1H10C10.55 1 11 1.45 11 2V10C11 10.23 10.91 10.42 10.79 10.59L7.92 6L5.55 9.79L4.09 7.45L1.89 10.97C1.4 10.91 1.01 10.5 1.01 9.99L1 10Z",fill:"black"}),a.createElement("path",{d:"M4.08008 5.70996C4.63236 5.70996 5.08008 5.26225 5.08008 4.70996C5.08008 4.15768 4.63236 3.70996 4.08008 3.70996C3.52779 3.70996 3.08008 4.15768 3.08008 4.70996C3.08008 5.26225 3.52779 5.70996 4.08008 5.70996Z",fill:"black"})))},Wt=function(){return a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",fill:"white"}),a.createElement("rect",{x:"0.5",y:"0.5",width:"21",height:"21",rx:"6.5",stroke:"#F2F2F2"}),a.createElement("g",{clipPath:"url(#clip0_7509_17642)"},a.createElement("g",{clipPath:"url(#clip1_7509_17642)"},a.createElement("path",{d:"M9.68786 11.3189C9.77974 11.3751 9.88182 11.4006 9.99411 11.4006C10.1064 11.4006 10.2034 11.3751 10.2953 11.3189C10.3871 11.2628 10.4586 11.1913 10.5147 11.0994C10.5709 11.0076 10.5964 10.9055 10.5964 10.7932C10.5964 10.6809 10.5709 10.5839 10.5147 10.492C10.4586 10.4002 10.3871 10.3236 10.2953 10.2675C10.2034 10.2113 10.1013 10.1858 9.99411 10.1858C9.88693 10.1858 9.77464 10.2113 9.68786 10.2675C9.59599 10.3236 9.52453 10.4002 9.46839 10.492C9.41224 10.5839 9.38672 10.686 9.38672 10.7932C9.38672 10.9055 9.41224 11.0076 9.46839 11.0994C9.52453 11.1913 9.59599 11.2628 9.68786 11.3189Z",fill:"black"}),a.createElement("path",{d:"M13.5878 8.40952C13.2765 8.09817 12.8324 7.93994 12.2556 7.93994H9.73927C9.45344 7.93994 9.19313 7.98077 8.96854 8.06244C8.74396 8.14411 8.5551 8.2615 8.40708 8.40952C8.09063 8.72088 7.9375 9.16494 7.9375 9.74682V12.2632C7.9375 12.845 8.09573 13.2891 8.40708 13.5954C8.5551 13.7485 8.74396 13.8608 8.96854 13.9424C9.19313 14.0241 9.44833 14.0649 9.73927 14.0649H12.2607C12.5517 14.0649 12.8069 14.0241 13.0366 13.9424C13.2611 13.8608 13.4449 13.7485 13.598 13.5954C13.9145 13.2891 14.0676 12.845 14.0676 12.2632V9.74171C14.0676 9.15984 13.9094 8.71577 13.598 8.40442L13.5878 8.40952ZM8.53469 9.75192C8.53469 9.34869 8.63677 9.04244 8.84094 8.84338C9.0451 8.63411 9.35135 8.53202 9.74948 8.53202H12.2454C12.4496 8.53202 12.6231 8.55755 12.7762 8.60859C12.9294 8.65963 13.0519 8.73619 13.154 8.83827C13.3632 9.04244 13.4653 9.34359 13.4653 9.74682V12.2428C13.4653 12.3193 13.4602 12.3908 13.45 12.4622L12.2352 11.324C12.1791 11.273 12.1178 11.2321 12.0566 11.2066C11.9902 11.1811 11.929 11.1658 11.8626 11.1658C11.7911 11.1658 11.7248 11.176 11.6635 11.2015C11.6023 11.227 11.541 11.2628 11.4849 11.3138L10.3467 12.3346L9.88219 11.911C9.83115 11.865 9.775 11.8293 9.71375 11.8038C9.6576 11.7783 9.59635 11.7681 9.54021 11.7681C9.48406 11.7681 9.42792 11.7783 9.37177 11.8038C9.32073 11.8293 9.26969 11.8599 9.21354 11.9059L8.5551 12.498C8.5449 12.4163 8.53979 12.3295 8.53979 12.2325V9.75192H8.53469Z",fill:"black"}))),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_7509_17642"},a.createElement("rect",{width:"7",height:"7",fill:"white",transform:"translate(7.5 7.5)"})),a.createElement("clipPath",{id:"clip1_7509_17642"},a.createElement("rect",{width:"6.125",height:"6.1199",fill:"white",transform:"translate(7.9375 7.93994)"}))))},qt=function(){return a.createElement("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M3.69141 0.492188C3.85547 0.182292 4.11979 0.0182292 4.48438 0H7.76562C8.13021 0.0182292 8.39453 0.182292 8.55859 0.492188L8.75 0.875H11.375C11.6302 0.875 11.8398 0.957031 12.0039 1.12109C12.168 1.28516 12.25 1.49479 12.25 1.75C12.25 2.00521 12.168 2.21484 12.0039 2.37891C11.8398 2.54297 11.6302 2.625 11.375 2.625H0.875C0.619792 2.625 0.410156 2.54297 0.246094 2.37891C0.0820312 2.21484 0 2.00521 0 1.75C0 1.49479 0.0820312 1.28516 0.246094 1.12109C0.410156 0.957031 0.619792 0.875 0.875 0.875H3.5L3.69141 0.492188ZM0.847656 3.5H11.375V12.25C11.3568 12.7422 11.1836 13.1523 10.8555 13.4805C10.5273 13.8086 10.1172 13.9818 9.625 14H2.59766C2.10547 13.9818 1.69531 13.8086 1.36719 13.4805C1.03906 13.1523 0.865885 12.7422 0.847656 12.25V3.5ZM3.03516 5.6875V11.8125C3.07161 12.0859 3.21745 12.2318 3.47266 12.25C3.74609 12.2318 3.89193 12.0859 3.91016 11.8125V5.6875C3.89193 5.41406 3.74609 5.26823 3.47266 5.25C3.21745 5.26823 3.07161 5.41406 3.03516 5.6875ZM5.66016 5.6875V11.8125C5.69661 12.0859 5.84245 12.2318 6.09766 12.25C6.38932 12.2318 6.54427 12.0859 6.5625 11.8125V5.6875C6.54427 5.41406 6.38932 5.26823 6.09766 5.25C5.84245 5.26823 5.69661 5.41406 5.66016 5.6875ZM8.3125 5.6875V11.8125C8.33073 12.0859 8.47656 12.2318 8.75 12.25C9.02344 12.2318 9.16927 12.0859 9.1875 11.8125V5.6875C9.16927 5.41406 9.02344 5.26823 8.75 5.25C8.47656 5.26823 8.33073 5.41406 8.3125 5.6875Z",fill:"#1A1A1A"}))},$t=function(){return a.createElement("svg",{style:{transform:"rotate(180deg)"},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.0586 9.12109L8.46484 13.9336C8.33724 14.0612 8.18229 14.125 8 14.125C7.81771 14.125 7.66276 14.0612 7.53516 13.9336L2.94141 9.12109C2.6862 8.79297 2.6862 8.48307 2.94141 8.19141C3.26953 7.9362 3.57943 7.9362 3.87109 8.19141L7.34375 11.8281V2.53125C7.38021 2.13021 7.58984 1.91146 7.97266 1.875C8.15495 1.875 8.3099 1.9388 8.4375 2.06641C8.58333 2.19401 8.65625 2.34896 8.65625 2.53125V11.8281L12.1289 8.19141C12.4206 7.9362 12.7305 7.9362 13.0586 8.19141C13.3138 8.48307 13.3138 8.79297 13.0586 9.12109Z",fill:"#1A1A1A"}))},Kt=function(e){var t=e.style;return a.createElement("svg",{style:{style:t},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.0586 9.12109L8.46484 13.9336C8.33724 14.0612 8.18229 14.125 8 14.125C7.81771 14.125 7.66276 14.0612 7.53516 13.9336L2.94141 9.12109C2.6862 8.79297 2.6862 8.48307 2.94141 8.19141C3.26953 7.9362 3.57943 7.9362 3.87109 8.19141L7.34375 11.8281V2.53125C7.38021 2.13021 7.58984 1.91146 7.97266 1.875C8.15495 1.875 8.3099 1.9388 8.4375 2.06641C8.58333 2.19401 8.65625 2.34896 8.65625 2.53125V11.8281L12.1289 8.19141C12.4206 7.9362 12.7305 7.9362 13.0586 8.19141C13.3138 8.48307 13.3138 8.79297 13.0586 9.12109Z",fill:"#1A1A1A"}))};Kt.propTypes={style:l().object};var Xt=Kt,Jt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M12.6211 6.87892C13.0221 7.15235 13.2318 7.52605 13.25 8.00001C13.2318 8.4922 13.0221 8.85678 12.6211 9.09376L4.74609 13.9063C4.30859 14.1797 3.87109 14.1979 3.43359 13.9609C2.99609 13.7057 2.76823 13.3229 2.75 12.8125V3.18751C2.76823 2.67709 2.99609 2.29428 3.43359 2.03907C3.87109 1.80209 4.30859 1.81121 4.74609 2.06642L12.6211 6.87892Z",fill:"#1A1A1A"}))},Yt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M2.47363 9.88721C2.29297 9.88721 2.1416 9.82617 2.01953 9.7041C1.90234 9.57715 1.84375 9.42822 1.84375 9.25732V6.74512C1.84375 6.56934 1.90234 6.41797 2.01953 6.29102C2.1416 6.16406 2.29297 6.10059 2.47363 6.10059C2.6543 6.10059 2.80811 6.16406 2.93506 6.29102C3.06201 6.41797 3.12549 6.56934 3.12549 6.74512V9.25732C3.12549 9.42822 3.06201 9.57715 2.93506 9.7041C2.80811 9.82617 2.6543 9.88721 2.47363 9.88721ZM4.8833 12.7949C4.70264 12.7949 4.55127 12.7339 4.4292 12.6118C4.31201 12.4897 4.25342 12.3384 4.25342 12.1577V3.84473C4.25342 3.66406 4.31201 3.5127 4.4292 3.39062C4.55127 3.26367 4.70264 3.2002 4.8833 3.2002C5.06396 3.2002 5.21533 3.26367 5.3374 3.39062C5.46436 3.5127 5.52783 3.66406 5.52783 3.84473V12.1577C5.52783 12.3384 5.46436 12.4897 5.3374 12.6118C5.21533 12.7339 5.06396 12.7949 4.8833 12.7949ZM7.29297 15.4536C7.11719 15.4536 6.96826 15.3901 6.84619 15.2632C6.72412 15.1411 6.66309 14.9897 6.66309 14.8091V1.19336C6.66309 1.0127 6.72412 0.861328 6.84619 0.739258C6.96826 0.612305 7.11719 0.548828 7.29297 0.548828C7.47363 0.548828 7.625 0.612305 7.74707 0.739258C7.87402 0.861328 7.9375 1.0127 7.9375 1.19336V14.8091C7.9375 14.9897 7.87402 15.1411 7.74707 15.2632C7.625 15.3901 7.47363 15.4536 7.29297 15.4536ZM9.70996 11.8721C9.52441 11.8721 9.37061 11.811 9.24854 11.689C9.13135 11.5669 9.07275 11.418 9.07275 11.2422V4.76025C9.07275 4.58447 9.13135 4.43311 9.24854 4.30615C9.37061 4.1792 9.52441 4.11572 9.70996 4.11572C9.88574 4.11572 10.0347 4.1792 10.1567 4.30615C10.2837 4.43311 10.3472 4.58447 10.3472 4.76025V11.2422C10.3472 11.418 10.2837 11.5669 10.1567 11.689C10.0347 11.811 9.88574 11.8721 9.70996 11.8721ZM12.1123 13.9229C11.9316 13.9229 11.7803 13.8594 11.6582 13.7324C11.541 13.6104 11.4824 13.4614 11.4824 13.2856V2.7168C11.4824 2.54102 11.541 2.38965 11.6582 2.2627C11.7803 2.13574 11.9316 2.07227 12.1123 2.07227C12.293 2.07227 12.4443 2.13574 12.5664 2.2627C12.6885 2.38965 12.7495 2.54102 12.7495 2.7168V13.2856C12.7495 13.4614 12.6885 13.6104 12.5664 13.7324C12.4443 13.8594 12.293 13.9229 12.1123 13.9229ZM14.522 10.5391C14.3413 10.5391 14.1899 10.478 14.0679 10.356C13.9458 10.229 13.8848 10.0776 13.8848 9.90186V6.09326C13.8848 5.91748 13.9458 5.76611 14.0679 5.63916C14.1899 5.51221 14.3413 5.44873 14.522 5.44873C14.7026 5.44873 14.854 5.51221 14.9761 5.63916C15.0981 5.76611 15.1592 5.91748 15.1592 6.09326V9.90186C15.1592 10.0776 15.0981 10.229 14.9761 10.356C14.854 10.478 14.7026 10.5391 14.522 10.5391Z",fill:"#1A1A1A"}))},Qt=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M3.72953 12.275C3.59203 12.1416 3.51703 11.9833 3.50453 11.8C3.4962 11.6166 3.5712 11.4437 3.72953 11.2812L9.36703 5.63745L10.667 4.4437C10.817 4.30203 10.9754 4.23537 11.142 4.2437C11.3087 4.25203 11.4524 4.31662 11.5733 4.43745C11.6941 4.55828 11.7545 4.70203 11.7545 4.8687C11.7587 5.03537 11.692 5.18953 11.5545 5.3312L10.3545 6.6312L4.71703 12.2625C4.56286 12.4166 4.39411 12.4916 4.21078 12.4875C4.03161 12.4875 3.8712 12.4166 3.72953 12.275ZM11.1233 7.97495L11.267 4.7562L7.93578 4.87495H5.81078C5.61911 4.87495 5.45245 4.81037 5.31078 4.6812C5.16911 4.54787 5.09828 4.38745 5.09828 4.19995C5.09828 4.01245 5.16495 3.85203 5.29828 3.7187C5.43578 3.5812 5.61078 3.51245 5.82328 3.51245H11.7608C11.9858 3.51245 12.1649 3.5812 12.2983 3.7187C12.4316 3.8562 12.4983 4.03328 12.4983 4.24995V10.1812C12.4983 10.3854 12.4295 10.5583 12.292 10.7C12.1545 10.8375 11.992 10.9062 11.8045 10.9062C11.6129 10.9062 11.4504 10.8375 11.317 10.7C11.1879 10.5583 11.1233 10.3895 11.1233 10.1937V7.97495Z",fill:"#1A1A1A"}))},en=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M5.39258 3.3208C5.39258 2.83773 5.50879 2.39795 5.74121 2.00146C5.97819 1.60498 6.29264 1.28825 6.68457 1.05127C7.08105 0.81429 7.52083 0.695801 8.00391 0.695801C8.49154 0.695801 8.93131 0.81429 9.32324 1.05127C9.71973 1.28825 10.0342 1.60498 10.2666 2.00146C10.499 2.39795 10.6152 2.83773 10.6152 3.3208C10.6152 3.72184 10.5332 4.09554 10.3691 4.44189C10.2051 4.78369 9.97949 5.07764 9.69238 5.32373C9.40527 5.56527 9.07943 5.73844 8.71484 5.84326V9.90381C8.71484 10.4689 8.67611 10.9634 8.59863 11.3872C8.52116 11.8065 8.42546 12.1323 8.31152 12.3647C8.20215 12.5926 8.09961 12.7065 8.00391 12.7065C7.9082 12.7065 7.80339 12.5903 7.68945 12.3579C7.58008 12.1255 7.48665 11.7996 7.40918 11.3804C7.33171 10.9611 7.29297 10.4689 7.29297 9.90381V5.84326C6.92383 5.73844 6.5957 5.56299 6.30859 5.31689C6.02604 5.0708 5.80273 4.77686 5.63867 4.43506C5.47461 4.09326 5.39258 3.72184 5.39258 3.3208ZM7.25879 3.46436C7.50488 3.46436 7.71452 3.37549 7.8877 3.19775C8.06543 3.02002 8.1543 2.81038 8.1543 2.56885C8.1543 2.32731 8.06543 2.11995 7.8877 1.94678C7.71452 1.76904 7.50488 1.68018 7.25879 1.68018C7.02637 1.68018 6.81901 1.76904 6.63672 1.94678C6.45898 2.11995 6.37012 2.32731 6.37012 2.56885C6.37012 2.81038 6.45898 3.02002 6.63672 3.19775C6.81901 3.37549 7.02637 3.46436 7.25879 3.46436ZM8.00391 15.3042C6.95573 15.3042 6.01693 15.2244 5.1875 15.0649C4.36263 14.9054 3.65853 14.6844 3.0752 14.4019C2.49642 14.1239 2.05436 13.8003 1.74902 13.4312C1.44368 13.0666 1.29102 12.6792 1.29102 12.269C1.29102 11.8315 1.43913 11.4351 1.73535 11.0796C2.03158 10.7196 2.41895 10.4097 2.89746 10.1499C3.38053 9.89014 3.9069 9.68506 4.47656 9.53467C5.05078 9.37972 5.61816 9.28857 6.17871 9.26123V10.478C5.80501 10.5008 5.41992 10.5578 5.02344 10.6489C4.63151 10.7355 4.26921 10.8517 3.93652 10.9976C3.60384 11.1434 3.33496 11.3143 3.12988 11.5103C2.9248 11.7062 2.82227 11.9181 2.82227 12.146C2.82227 12.5197 3.04557 12.8478 3.49219 13.1304C3.9388 13.4129 4.55176 13.6317 5.33105 13.7866C6.11035 13.9461 7.0013 14.0259 8.00391 14.0259C9.00195 14.0259 9.89062 13.9461 10.6699 13.7866C11.4492 13.6317 12.0599 13.4129 12.502 13.1304C12.9486 12.8478 13.1719 12.5197 13.1719 12.146C13.1719 11.9181 13.0693 11.7062 12.8643 11.5103C12.6592 11.3143 12.3903 11.1434 12.0576 10.9976C11.7295 10.8517 11.3695 10.7355 10.9775 10.6489C10.5856 10.5578 10.2005 10.5008 9.82227 10.478V9.26123C10.3828 9.28857 10.9479 9.37972 11.5176 9.53467C12.0918 9.68506 12.6204 9.89014 13.1035 10.1499C13.5866 10.4097 13.974 10.7196 14.2656 11.0796C14.5618 11.4351 14.71 11.8315 14.71 12.269C14.71 12.6792 14.5573 13.0666 14.252 13.4312C13.9466 13.8003 13.5023 14.1239 12.9189 14.4019C12.3402 14.6844 11.6361 14.9054 10.8066 15.0649C9.98177 15.2244 9.04753 15.3042 8.00391 15.3042Z",fill:"#1A1A1A"}))},tn=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",null,a.createElement("path",{d:"M15.1098 7.7398V7.7698C15.0798 7.6898 15.0198 7.6098 14.9398 7.5298L12.8998 5.3998C12.7798 5.2798 12.6498 5.2198 12.4998 5.2198C12.3498 5.2198 12.2198 5.2698 12.1098 5.3798C12.0098 5.4898 11.9598 5.6198 11.9598 5.7798C11.9598 5.9498 12.0198 6.0898 12.1498 6.1998L13.0998 7.0898L13.5298 7.4298L12.5698 7.3698H7.27984C7.11984 7.3698 6.96984 7.4298 6.83984 7.5498C6.71984 7.6698 6.65984 7.8198 6.65984 7.9998C6.65984 8.1798 6.71984 8.3198 6.83984 8.4498C6.96984 8.56981 7.10984 8.6298 7.27984 8.6298H12.5698L13.5298 8.56981L13.0998 8.9098L12.1498 9.8098C12.0198 9.9198 11.9598 10.0598 11.9598 10.2298C11.9598 10.3798 12.0098 10.5098 12.1098 10.6298C12.2098 10.7398 12.3398 10.7898 12.4998 10.7898C12.6598 10.7898 12.7798 10.7298 12.8998 10.6098L14.9398 8.4798C15.0198 8.3998 15.0798 8.3198 15.1098 8.2398C15.1498 8.1598 15.1598 8.0798 15.1598 7.9898C15.1598 7.8998 15.1398 7.8198 15.1098 7.7398ZM6.25984 5.3398C6.43984 5.3398 6.58984 5.2798 6.71984 5.1598C6.84984 5.0298 6.90984 4.8798 6.90984 4.7098V1.1898C6.90984 1.0098 6.84984 0.859805 6.71984 0.739805C6.58984 0.609805 6.43984 0.549805 6.25984 0.549805C6.07984 0.549805 5.92984 0.609805 5.80984 0.739805C5.68984 0.869805 5.62984 1.0198 5.62984 1.1898V4.6998C5.62984 4.8698 5.68984 5.0198 5.80984 5.1498C5.92984 5.2698 6.07984 5.3298 6.25984 5.3298V5.3398ZM8.74984 5.3398C8.92984 5.3398 9.07984 5.2798 9.19984 5.1598C9.31984 5.0298 9.37984 4.8798 9.37984 4.7098V2.1898C9.37984 2.0098 9.31984 1.8598 9.19984 1.7398C9.07984 1.6098 8.92984 1.5498 8.74984 1.5498C8.56984 1.5498 8.41984 1.6098 8.28984 1.7398C8.15984 1.8698 8.09984 2.0198 8.09984 2.1898V4.6998C8.09984 4.8698 8.15984 5.0198 8.28984 5.1498C8.41984 5.2698 8.56984 5.3298 8.74984 5.3298V5.3398ZM1.46984 6.0998C1.28984 6.0998 1.13984 6.1598 1.01984 6.2898C0.899844 6.4198 0.839844 6.5698 0.839844 6.7398V9.2498C0.839844 9.4198 0.899844 9.5698 1.01984 9.6998C1.13984 9.8198 1.28984 9.8798 1.46984 9.8798C1.64984 9.8798 1.79984 9.8198 1.92984 9.6998C2.05984 9.5698 2.11984 9.4198 2.11984 9.2498V6.7398C2.11984 6.5598 2.05984 6.4098 1.92984 6.2898C1.79984 6.1698 1.64984 6.0998 1.46984 6.0998ZM8.74984 10.6698C8.56984 10.6698 8.41984 10.7298 8.28984 10.8598C8.15984 10.9898 8.09984 11.1398 8.09984 11.3098V13.8198C8.09984 13.9898 8.15984 14.1398 8.28984 14.2698C8.41984 14.3898 8.56984 14.4498 8.74984 14.4498C8.92984 14.4498 9.07984 14.3898 9.19984 14.2698C9.31984 14.1398 9.37984 13.9898 9.37984 13.8198V11.3098C9.37984 11.1298 9.31984 10.9798 9.19984 10.8598C9.07984 10.7298 8.92984 10.6698 8.74984 10.6698ZM6.25984 10.6698C6.07984 10.6698 5.92984 10.7298 5.80984 10.8598C5.68984 10.9898 5.62984 11.1398 5.62984 11.3098V14.8198C5.62984 14.9898 5.68984 15.1398 5.80984 15.2698C5.92984 15.3898 6.07984 15.4498 6.25984 15.4498C6.43984 15.4498 6.58984 15.3898 6.71984 15.2698C6.84984 15.1398 6.90984 14.9898 6.90984 14.8198V11.3098C6.90984 11.1298 6.84984 10.9798 6.71984 10.8598C6.58984 10.7298 6.43984 10.6698 6.25984 10.6698ZM3.87984 3.1998C3.69984 3.1998 3.54984 3.2598 3.42984 3.3898C3.30984 3.5098 3.24984 3.6598 3.24984 3.8398V12.1498C3.24984 12.3298 3.30984 12.4798 3.42984 12.5998C3.54984 12.7198 3.69984 12.7798 3.87984 12.7798C4.05984 12.7798 4.20984 12.7198 4.32984 12.5998C4.45984 12.4798 4.51984 12.3298 4.51984 12.1498V3.8498C4.51984 3.6698 4.45984 3.5198 4.32984 3.3998C4.20984 3.2698 4.05984 3.2098 3.87984 3.2098V3.1998Z",fill:"#1A1A1A"})))},nn=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M3.73984 8.71875C3.61484 8.71875 3.49818 8.6875 3.38984 8.625C3.28568 8.55833 3.19818 8.47083 3.12734 8.3625C3.06068 8.25417 3.02734 8.13333 3.02734 8C3.02734 7.87083 3.06068 7.75208 3.12734 7.64375C3.19818 7.53542 3.28568 7.44792 3.38984 7.38125C3.49818 7.31458 3.61484 7.28125 3.73984 7.28125H12.2648C12.4523 7.28125 12.6169 7.35417 12.7586 7.5C12.9003 7.64167 12.9711 7.80833 12.9711 8C12.9711 8.19583 12.9003 8.36458 12.7586 8.50625C12.6169 8.64792 12.4523 8.71875 12.2648 8.71875H3.73984Z",fill:"#1A1A1A"}))},rn=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M3.00684 14.231C2.62858 14.231 2.29818 14.1466 2.01562 13.978C1.73763 13.814 1.52116 13.5907 1.36621 13.3081C1.21582 13.0256 1.14062 12.7134 1.14062 12.3716C1.14062 12.0389 1.22721 11.7244 1.40039 11.4282L6.39746 2.70557C6.5752 2.39567 6.80762 2.16325 7.09473 2.0083C7.38184 1.8488 7.68262 1.76904 7.99707 1.76904C8.31152 1.76904 8.6123 1.8488 8.89941 2.0083C9.18652 2.16325 9.42122 2.39567 9.60352 2.70557L14.6006 11.4214C14.6872 11.5763 14.751 11.7336 14.792 11.8931C14.8376 12.0526 14.8604 12.2121 14.8604 12.3716C14.8604 12.7134 14.7829 13.0256 14.6279 13.3081C14.4775 13.5907 14.2611 13.814 13.9785 13.978C13.7005 14.1466 13.3724 14.231 12.9941 14.231H3.00684ZM8.01074 9.75342C8.41178 9.75342 8.61914 9.54378 8.63281 9.12451L8.73535 5.98682C8.73991 5.78174 8.67383 5.61312 8.53711 5.48096C8.40039 5.34424 8.22266 5.27588 8.00391 5.27588C7.7806 5.27588 7.60059 5.34196 7.46387 5.47412C7.32715 5.60628 7.26335 5.77718 7.27246 5.98682L7.36816 9.13135C7.38184 9.54606 7.59603 9.75342 8.01074 9.75342ZM8.01074 12.0093C8.23405 12.0093 8.42546 11.9386 8.58496 11.7974C8.74902 11.6561 8.83105 11.4738 8.83105 11.2505C8.83105 11.0317 8.7513 10.8517 8.5918 10.7104C8.43229 10.5646 8.23861 10.4917 8.01074 10.4917C7.78288 10.4917 7.58691 10.5646 7.42285 10.7104C7.26335 10.8517 7.18359 11.0317 7.18359 11.2505C7.18359 11.4692 7.26335 11.6515 7.42285 11.7974C7.58691 11.9386 7.78288 12.0093 8.01074 12.0093Z",fill:"#1A1A1A"}))},on=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M2.33276 15.5774C1.85994 15.5774 1.44694 15.472 1.09375 15.2612C0.746257 15.0562 0.475667 14.777 0.281982 14.4238C0.0939941 14.0706 0 13.6804 0 13.2532C0 12.8373 0.108236 12.4443 0.324707 12.074L6.57104 1.17065C6.79321 0.783284 7.08374 0.492757 7.44263 0.299072C7.80151 0.0996908 8.17749 0 8.57056 0C8.96362 0 9.3396 0.0996908 9.69849 0.299072C10.0574 0.492757 10.3507 0.783284 10.5786 1.17065L16.825 12.0654C16.9332 12.2591 17.0129 12.4556 17.0642 12.655C17.1212 12.8544 17.1497 13.0538 17.1497 13.2532C17.1497 13.6804 17.0528 14.0706 16.8591 14.4238C16.6711 14.777 16.4006 15.0562 16.0474 15.2612C15.6999 15.472 15.2897 15.5774 14.8169 15.5774H2.33276ZM2.5293 13.9453H14.6204C14.8596 13.9453 15.0476 13.8627 15.1843 13.6975C15.3267 13.538 15.3979 13.3529 15.3979 13.1421C15.3979 12.994 15.3609 12.8516 15.2869 12.7148L9.22852 2.1106C9.16016 1.98527 9.06616 1.89412 8.94653 1.83716C8.8269 1.7745 8.70158 1.74316 8.57056 1.74316C8.44523 1.74316 8.31991 1.77165 8.19458 1.82861C8.07495 1.88558 7.97811 1.97673 7.90405 2.10205L1.85425 12.6978C1.81437 12.7718 1.78589 12.8487 1.7688 12.9285C1.75741 13.0082 1.75171 13.0794 1.75171 13.1421C1.75171 13.3529 1.82007 13.538 1.95679 13.6975C2.0992 13.8627 2.29004 13.9453 2.5293 13.9453ZM8.5791 9.9292C8.08919 9.9292 7.83569 9.68425 7.8186 9.19434L7.70752 5.40039C7.69613 5.14974 7.77303 4.94751 7.93823 4.7937C8.10343 4.6342 8.31421 4.55444 8.57056 4.55444C8.8269 4.55444 9.04053 4.6342 9.21143 4.7937C9.38232 4.95321 9.46208 5.15828 9.45068 5.40894L9.32251 9.18579C9.30542 9.6814 9.05762 9.9292 8.5791 9.9292ZM8.5791 12.6294C8.31136 12.6294 8.08065 12.5439 7.88696 12.373C7.69897 12.2021 7.60498 11.9857 7.60498 11.7236C7.60498 11.4616 7.69897 11.2451 7.88696 11.0742C8.07495 10.9033 8.30566 10.8179 8.5791 10.8179C8.85254 10.8179 9.08325 10.9033 9.27124 11.0742C9.46492 11.2451 9.56177 11.4616 9.56177 11.7236C9.56177 11.9914 9.46492 12.2107 9.27124 12.3816C9.08325 12.5468 8.85254 12.6294 8.5791 12.6294Z",fill:"white"}))},an=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8.93994 15.458C8.83057 15.458 8.73942 15.4215 8.6665 15.3486C8.59359 15.2803 8.54801 15.1914 8.52979 15.082C8.42497 14.3893 8.31331 13.8037 8.19482 13.3252C8.08089 12.8512 7.9305 12.4639 7.74365 12.1631C7.56136 11.8623 7.31982 11.6208 7.01904 11.4385C6.71826 11.2562 6.33317 11.1104 5.86377 11.001C5.39893 10.887 4.82471 10.7845 4.14111 10.6934C4.02718 10.6797 3.93376 10.6341 3.86084 10.5566C3.79248 10.4792 3.7583 10.3857 3.7583 10.2764C3.7583 10.167 3.79248 10.0758 3.86084 10.0029C3.93376 9.92546 4.02946 9.87988 4.14795 9.86621C4.83154 9.78874 5.40804 9.69759 5.87744 9.59277C6.34684 9.48796 6.73193 9.3444 7.03271 9.16211C7.33805 8.97526 7.58187 8.72917 7.76416 8.42383C7.95101 8.11393 8.1014 7.71973 8.21533 7.24121C8.32926 6.7627 8.43408 6.17253 8.52979 5.4707C8.54801 5.36589 8.59359 5.2793 8.6665 5.21094C8.73942 5.13802 8.83057 5.10156 8.93994 5.10156C9.04476 5.10156 9.13363 5.13802 9.20654 5.21094C9.27946 5.2793 9.32503 5.36589 9.34326 5.4707C9.44352 6.17253 9.55062 6.7627 9.66455 7.24121C9.78304 7.71517 9.93343 8.1071 10.1157 8.41699C10.3026 8.72233 10.5464 8.96842 10.8472 9.15527C11.1479 9.33757 11.533 9.48112 12.0024 9.58594C12.4718 9.69075 13.0483 9.78418 13.7319 9.86621C13.8413 9.87988 13.9325 9.92546 14.0054 10.0029C14.0783 10.0804 14.1147 10.1715 14.1147 10.2764C14.1147 10.3903 14.0783 10.486 14.0054 10.5635C13.9325 10.6364 13.839 10.6797 13.7251 10.6934C13.0415 10.7708 12.465 10.862 11.9956 10.9668C11.5262 11.0716 11.1388 11.2174 10.8335 11.4043C10.5327 11.5866 10.2889 11.8327 10.1021 12.1426C9.91976 12.4479 9.77165 12.8398 9.65771 13.3184C9.54378 13.8014 9.43896 14.3893 9.34326 15.082C9.32503 15.1914 9.27946 15.2803 9.20654 15.3486C9.13363 15.4215 9.04476 15.458 8.93994 15.458ZM4.42139 8.28027C4.271 8.28027 4.18669 8.20052 4.16846 8.04102C4.11833 7.61263 4.06364 7.27767 4.00439 7.03613C3.94971 6.79004 3.85856 6.60547 3.73096 6.48242C3.60791 6.35938 3.42106 6.26595 3.17041 6.20215C2.91976 6.13835 2.57796 6.07227 2.14502 6.00391C1.97184 5.97656 1.88525 5.88997 1.88525 5.74414C1.88525 5.60286 1.96045 5.51855 2.11084 5.49121C2.5529 5.40918 2.90153 5.33626 3.15674 5.27246C3.41195 5.2041 3.60335 5.11068 3.73096 4.99219C3.85856 4.86914 3.94971 4.68913 4.00439 4.45215C4.06364 4.21517 4.11833 3.88477 4.16846 3.46094C4.18669 3.29688 4.271 3.21484 4.42139 3.21484C4.57633 3.21484 4.66292 3.2946 4.68115 3.4541C4.73584 3.88704 4.79281 4.22656 4.85205 4.47266C4.9113 4.71875 5.00244 4.9056 5.12549 5.0332C5.24854 5.15625 5.43538 5.24967 5.68604 5.31348C5.94124 5.37272 6.29215 5.43197 6.73877 5.49121C6.80257 5.50033 6.85498 5.52767 6.896 5.57324C6.94157 5.61881 6.96436 5.67578 6.96436 5.74414C6.96436 5.88997 6.88916 5.97656 6.73877 6.00391C6.29215 6.08594 5.94352 6.16113 5.69287 6.22949C5.44222 6.29785 5.25309 6.39355 5.12549 6.5166C5.00244 6.63509 4.9113 6.8151 4.85205 7.05664C4.79281 7.29362 4.73584 7.6263 4.68115 8.05469C4.67204 8.11849 4.64242 8.17318 4.59229 8.21875C4.54671 8.25977 4.48975 8.28027 4.42139 8.28027ZM7.56592 3.73438C7.47021 3.73438 7.41325 3.68424 7.39502 3.58398C7.33577 3.23763 7.27881 2.98698 7.22412 2.83203C7.17399 2.67253 7.06917 2.56087 6.90967 2.49707C6.75472 2.43327 6.4904 2.36719 6.1167 2.29883C6.01644 2.2806 5.96631 2.22591 5.96631 2.13477C5.96631 2.04362 6.01644 1.98893 6.1167 1.9707C6.48584 1.90234 6.75016 1.83626 6.90967 1.77246C7.06917 1.70866 7.17399 1.59928 7.22412 1.44434C7.27881 1.28939 7.33577 1.03874 7.39502 0.692383C7.41325 0.592122 7.47021 0.541992 7.56592 0.541992C7.65706 0.541992 7.71175 0.592122 7.72998 0.692383C7.78923 1.04329 7.84391 1.2985 7.89404 1.45801C7.94873 1.61296 8.05583 1.72233 8.21533 1.78613C8.37484 1.84538 8.63916 1.9069 9.0083 1.9707C9.10856 1.98893 9.15869 2.04362 9.15869 2.13477C9.15869 2.22591 9.11084 2.2806 9.01514 2.29883C8.64144 2.37174 8.37484 2.4401 8.21533 2.50391C8.05583 2.56771 7.94873 2.67936 7.89404 2.83887C7.84391 2.99382 7.78923 3.24219 7.72998 3.58398C7.70719 3.68424 7.65251 3.73438 7.56592 3.73438Z",fill:"white"}))};function ln(){return ln=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ln.apply(null,arguments)}var cn=function(e){var t=ln({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e));return a.createElement("svg",ln({width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("path",{d:"M0 8.00003C0 7.24669 0.14901 6.59063 0.447031 6.03185C0.749192 5.47306 1.16725 5.04051 1.7012 4.73421C2.2393 4.42377 2.86224 4.26855 3.57004 4.26855C4.12469 4.26855 4.6483 4.38859 5.14086 4.62866C5.63756 4.86874 6.13633 5.22884 6.63717 5.70899L8.0031 7.03146L9.36903 5.70899C9.86987 5.22884 10.3666 4.86874 10.8591 4.62866C11.3558 4.38859 11.8815 4.26855 12.4362 4.26855C13.1481 4.26855 13.7711 4.42377 14.305 4.73421C14.839 5.04051 15.2549 5.47306 15.553 6.03185C15.851 6.59063 16 7.24669 16 8.00003C16 8.74922 15.851 9.40321 15.553 9.962C15.2549 10.5208 14.839 10.9554 14.305 11.2658C13.7711 11.5763 13.1481 11.7315 12.4362 11.7315C11.8815 11.7315 11.3558 11.6115 10.8591 11.3714C10.3666 11.1313 9.86987 10.7712 9.36903 10.2911L8.0031 8.96859L6.63717 10.2911C6.13633 10.7712 5.63756 11.1313 5.14086 11.3714C4.6483 11.6115 4.12469 11.7315 3.57004 11.7315C2.86224 11.7315 2.2393 11.5763 1.7012 11.2658C1.16725 10.9554 0.749192 10.5208 0.447031 9.962C0.14901 9.40321 0 8.74922 0 8.00003ZM1.42181 8.00003C1.42181 8.47189 1.5108 8.88167 1.68879 9.22936C1.86677 9.57291 2.11719 9.83989 2.44005 10.0303C2.7629 10.2207 3.13957 10.3159 3.57004 10.3159C3.92187 10.3159 4.26336 10.229 4.59449 10.0551C4.92976 9.88128 5.27745 9.62258 5.63756 9.27903L7.0097 8.00003L5.64377 6.72102C5.27952 6.37747 4.92976 6.11877 4.59449 5.94492C4.26336 5.77108 3.92187 5.68415 3.57004 5.68415C3.13957 5.68415 2.7629 5.77936 2.44005 5.96976C2.11719 6.16016 1.86677 6.42921 1.68879 6.7769C1.5108 7.12045 1.42181 7.52816 1.42181 8.00003ZM9.00272 8.00003L10.3624 9.27903C10.7267 9.62258 11.0744 9.88128 11.4055 10.0551C11.7408 10.229 12.0843 10.3159 12.4362 10.3159C12.8666 10.3159 13.2412 10.2207 13.56 10.0303C13.8828 9.83989 14.1332 9.57291 14.3112 9.22936C14.4933 8.88167 14.5844 8.47189 14.5844 8.00003C14.5844 7.52816 14.4933 7.12045 14.3112 6.7769C14.1332 6.42921 13.8828 6.16016 13.56 5.96976C13.2412 5.77936 12.8666 5.68415 12.4362 5.68415C12.0843 5.68415 11.7408 5.77108 11.4055 5.94492C11.0744 6.11877 10.7267 6.37747 10.3624 6.72102L9.00272 8.00003Z"}))};function sn(e){return sn="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},sn(e)}var un=["name","size","width","height","className","circle","spin","flip","color"];function mn(){return mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mn.apply(null,arguments)}function fn(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 pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach(function(t){dn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=sn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=sn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Cn=function(e){var t=e.name,n=e.size,o=e.width,i=e.height,l=e.className,c=e.circle,s=e.spin,u=e.flip,m=e.color,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,un),p=r[t];if(!p)return null;var d=["wpmudev-icon","wpmudev-icon-"+t.toLowerCase(),c&&"icon-circle",s&&"spin",u&&"flip-".concat(u),m&&"colored",l].filter(Boolean).join(" "),v=pn(pn({},Object.fromEntries(Object.entries({"--wpmudev-icon-width":o||n?"".concat(o||n,"px"):null,"--wpmudev-icon-height":i||n?"".concat(i||n,"px"):null,"--wpmudev-icon-color":m||null}).filter(function(e){var t=vn(e,2)[1];return null!=t}))),f.style||{});return a.createElement("span",mn({className:d},f,{style:v}),a.createElement(p,null))};Cn.Group=function(e){var t=e.children,n=e.className,r=e.type,o={overlap:"overlap-group"},i=["wpmudev-group-icons",n,null==o?void 0:o[void 0===r?"overlap":r]].filter(Boolean).join(" ");return a.createElement("span",{className:i},t)},Cn.displayName="Icon",Cn.Group.displayName="Icon.Group",Cn.propTypes={name:l().string.isRequired,className:l().string,width:l().number,height:l().number,circle:l().bool,spin:l().bool,flip:l().oneOf(["horizontal","vertical"]),color:l().string,size:l().number,style:l().object},Cn.Group.propTypes={children:l().node.isRequired,className:l().string,type:l().oneOf(["overlap"])};var gn=Cn;function bn(e){return bn="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},bn(e)}var yn=["variant","size","children","disabled","appearance","loading","className","loadingIconName","ref"],wn=["variant","size","type"];function _n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function En(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=bn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=bn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==bn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function On(){return On=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},On.apply(null,arguments)}function Sn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var jn=function(e){var t=e.variant,n=void 0===t?"primary":t,r=e.size,o=void 0===r?"md":r,i=e.children,l=e.disabled,c=void 0!==l&&l,s=e.appearance,u=void 0===s?"default":s,m=e.loading,f=void 0!==m&&m,p=e.className,d=void 0===p?"":p,v=e.loadingIconName,h=e.ref,C=Sn(e,yn),g="wpmudev-button",b=[g,"".concat(g,"--").concat(n),"".concat(g,"--").concat(o),"icon"===u&&"".concat(g,"--icon"),f&&"".concat(g,"--loading"),c&&"".concat(g,"--disabled"),d].filter(Boolean).join(" ");return v=v||(c?"SpinnerWhite":"Spinner"),a.createElement("button",On({ref:h,className:b,disabled:c||f},C),f&&a.createElement("span",{className:"".concat(g,"__spinner")},a.createElement(gn,{spin:"true",name:v})),a.createElement("span",{className:"".concat(g,"__content")},i))};jn.displayName="Button",(jn.Icon=function(e){var t=e.variant,n=void 0===t?"ghost":t,r=e.size,o=void 0===r?"sm":r,i=e.type,l=void 0===i?"button":i,c=Sn(e,wn);return a.createElement(jn,On({variant:n,size:o,appearance:"icon",type:l},c))}).displayName="Button.Icon",jn.propTypes={variant:l().oneOf(["primary","secondary","ghost","danger","success","black","smush","transparent","pro","purple"]),size:l().oneOf(["sm","md","lg"]),appearance:l().oneOf(["default","icon"]),children:l().node.isRequired,disabled:l().bool,loading:l().bool,className:l().string,loadingIconName:l().string,ref:l().oneOfType([l().func,l().shape({current:l().any})])},jn.Icon.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_n(Object(n),!0).forEach(function(t){En(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_n(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},jn.propTypes);var Nn=jn,Pn=["children","className","padding","shadow","border"],xn=["children","className"],kn=["children","className","as"],An=["children","className","padding"],Ln=["children","className"];function Tn(){return Tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tn.apply(null,arguments)}function Mn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var In=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.padding,i=void 0===o||o,l=e.shadow,c=void 0!==l&&l,s=e.border,u=void 0===s||s,m=Mn(e,Pn),f=["wpmudev-card",!i&&"wpmudev-card--no-padding",!c&&"wpmudev-card--no-shadow",!u&&"wpmudev-card--no-border",r].filter(Boolean).join(" ");return a.createElement("div",Tn({className:f},m),t)},zn=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=Mn(e,xn);return a.createElement("div",Tn({className:"wpmudev-card__header ".concat(r)},o),t)},Hn=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.as,i=void 0===o?"h3":o,l=Mn(e,kn);return a.createElement(i,Tn({className:"wpmudev-card__title ".concat(r)},l),t)},Bn=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.padding,i=void 0===o||o,l=Mn(e,An),c=["wpmudev-card__body",!i&&"wpmudev-card__body--no-padding",r].filter(Boolean).join(" ");return a.createElement("div",Tn({className:c},l),t)},Dn=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=Mn(e,Ln);return a.createElement("div",Tn({className:"wpmudev-card__footer ".concat(r)},o),t)};In.Header=zn,In.Title=Hn,In.Body=Bn,In.Footer=Dn,In.propTypes={children:l().node.isRequired,className:l().string,padding:l().bool,shadow:l().bool,border:l().bool},zn.propTypes={children:l().node.isRequired,className:l().string},Hn.propTypes={children:l().node.isRequired,className:l().string,as:l().string},Bn.propTypes={children:l().node.isRequired,className:l().string,padding:l().bool},Dn.propTypes={children:l().node.isRequired,className:l().string};var Vn=In,Zn=wp.i18n,Fn=["variant","size","interactive","children","className","ref"];function Rn(){return Rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rn.apply(null,arguments)}var Un=function(e){var t=e.variant,n=void 0===t?"default":t,r=e.size,o=void 0===r?"md":r,i=e.interactive,l=void 0===i||i,c=e.children,s=e.className,u=void 0===s?"":s,m=e.ref,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Fn),p="wpmudev-badge",d=[p,"".concat(p,"--").concat(n),"".concat(p,"--").concat(o),!l&&"".concat(p,"--non-interactive"),u].filter(Boolean).join(" ");return a.createElement("span",Rn({ref:m,className:d},f),c)};Un.displayName="Badge",Un.propTypes={variant:l().oneOf(["default","primary","success","warning","error","info","pro","new","purple-tag","gray-tag","brand-light-tag"]),size:l().oneOf(["sm","md","lg"]),interactive:l().bool,children:l().node.isRequired,className:l().string};function Gn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Array.isArray(e)?e.map(function(e){return Gn(e,t)}):null!==e&&e.constructor===Object?Object.keys(e).reduce(function(n,r){var o=r.replace(/-/g,"_").replace(/_([a-z])/g,function(e){return e[1].toUpperCase()});return r.includes("-")&&(t[o]=r),n[o]=Gn(e[r],t),n},{}):e}var Wn=n.p+"images/default-white-avatar.png";function qn(e){return qn="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},qn(e)}var $n=new function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={url:ajaxurl,method:arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST",cache:!1};if(t instanceof FormData){var r;if(t.append("action",e),!t.has("_ajax_nonce"))t.append("_ajax_nonce",null===(r=window.smushUIData)||void 0===r||null===(r=r.wpAjax)||void 0===r?void 0:r.nonce);n.contentType=!1,n.processData=!1}else{var o;t._ajax_nonce=t._ajax_nonce||window.smush_global.nonce||(null===(o=window.smushUIData)||void 0===o||null===(o=o.wpAjax)||void 0===o?void 0:o.nonce),t.action=e}return n.data=t,new Promise(function(e,t){jQuery.ajax(n).done(e).fail(t)}).then(function(e){return"object"!==qn(e)&&(e=JSON.parse(e)),e}).catch(function(e){return console.error("Error:",e),e})}var t={background:{start:function(){return e("bulk_smush_start")},cancel:function(){return e("bulk_smush_cancel")},pause:function(){return e("bulk_smush_pause")},resume:function(){return e("bulk_smush_resume")},initState:function(){return e("bulk_smush_get_status")},getStatus:function(){return e("bulk_smush_get_status")},getStats:function(){return e("bulk_smush_get_global_stats")},backgroundHealthyCheck:function(){return e("smush_start_background_pre_flight_check")},backgroundHealthyStatus:function(){return e("smush_get_background_pre_flight_status")}},smush:{syncStats:function(t){return e("get_stats",t=t||{})},ignoreAll:function(t){return e("wp_smush_ignore_all_failed_items",{type:t})}},configs:{save:function(){var t;return e("smush_save_config",{_ajax_nonce:(null===(t=window.smushUIData)||void 0===t||null===(t=t.configsData)||void 0===t?void 0:t.nonce)||""})},apply:function(t){var n;return e("smush_apply_config",{id:t,_ajax_nonce:(null===(n=window.smushUIData)||void 0===n||null===(n=n.configsData)||void 0===n?void 0:n.nonce)||""})},upload:function(t){var n,r=new FormData;return r.append("_ajax_nonce",(null===(n=window.smushUIData)||void 0===n||null===(n=n.configsData)||void 0===n?void 0:n.nonce)||""),r.append("file",t),e("smush_upload_config",r)},syncToHub:function(t){var n;return e("smush_hub_sync_config",{_ajax_nonce:(null===(n=window.smushUIData)||void 0===n||null===(n=n.configsData)||void 0===n?void 0:n.nonce)||"",config:JSON.stringify(t)})}},common:{hideUpgradeModal:function(){return e("hide_new_features")},dismissNotice:function(t){return e("smush_dismiss_notice",{key:t})},remindReviewPrompt:function(){return e("wp_smush_review_prompts_remind_later")},hideModal:function(t){return e("hide_modal",{modal_id:t})},track:function(t,n){return e("smush_analytics_track_event",{event:t,properties:n})},request:function(t){return t.action&&e(t.action,t)},poll:function(){return e("smush_frontend_poll",{})}},scanMediaLibrary:{start:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e("wp_smush_start_background_scan",{optimize_on_scan_completed:t=t?1:0,_ajax_nonce:window.smushUIData.scanStatus.nonce})},cancel:function(){return e("wp_smush_cancel_background_scan",{_ajax_nonce:window.smushUIData.scanStatus.nonce})},getScanStatus:function(){return e("wp_smush_get_background_scan_status",{_ajax_nonce:window.smushUIData.scanStatus.nonce})}},webp:{switchMethod:function(t){return e("webp_switch_method",{method:t})},recheckStatus:function(){return e("smush_webp_get_status")},showWizard:function(){return e("smush_show_webp_wizard")},hideWizard:function(){return e("smush_hide_webp_wizard")},applyHtaccessRules:function(){return e("smush_webp_apply_htaccess_rules")}},cdn:{toggle:function(t){return e("smush_toggle_cdn",{param:t})},getStats:function(){return e("get_cdn_stats")}},settings:{disconnectSite:function(){return e("wp_smush_disconnect_site")},checkApiStatus:function(){return e("recheck_api_status")}},rating:{completed:function(){return e("smush_rating_completed")},remindLater:function(){return e("smush_rating_remind_later")},dismissed:function(){return e("smush_rating_dismissed")},firstCompletion:function(){return e("smush_rating_first_completion")}},onboarding:{resumeWizard:function(){return e("resume_smush_setup")}},request:function(t){return e(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST")}};Object.assign(this,t)},Kn=$n;function Xn(e){return Xn="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},Xn(e)}function Jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(n),!0).forEach(function(t){Qn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Xn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Xn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e,t){return tr(e,t)}function tr(e,t){return Yn(Yn({},e),t)}var nr=function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")};var rr="smush_action",or="smush_onboarding_step",ar="smushRemaingToasts",ir="smush_read_notification_ids",lr="smush_activity_log_visibility",cr=function(){var e,t=window.location.origin+window.location.pathname+"?page=smush";return(null===(e=window.smushUIData)||void 0===e||null===(e=e.pageUrls)||void 0===e?void 0:e.dashboardUrl)||t}(),sr="skip-connect",ur="wizard-current-lossy-level",mr=1,fr=2,pr=3,dr=4,vr="config-welcome-modal",hr="start-bulk-optimization",Cr=!!window.smushUIData.isMultisite,gr=(Cr&&window.smushUIData.isNetworkAdmin,Cr&&!!window.smushUIData.canManageNetwork);function br(){return arguments.length>1&&void 0!==arguments[1]?arguments[1]:null}function yr(){return br(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,!(arguments.length>0&&void 0!==arguments[0])||arguments[0])}function wr(e){var t,n=!(null===(t=window)||void 0===t||null===(t=t.smushUIData)||void 0===t||null===(t=t.hubConnector)||void 0===t||!t.is_logged_in);return br(!1,Number(e)>=1)&&!n}function _r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Er(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Er(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Er(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Or(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(t||(t="https://wpmudev.com/project/wp-smush-pro/"),!e)return t;var n=new URL(t,window.location.origin),r={utm_source:br("smush_pro","smush"),utm_medium:"plugin",utm_campaign:e};return Object.entries(r).forEach(function(e){var t=_r(e,2),r=t[0],o=t[1];n.searchParams.set(r,String(o))}),n.toString()}function Sr(e,t){return n=rr,r=e,(o=new URL(t||cr,window.location.origin)).searchParams.set(n,r),o.toString();var n,r,o}function jr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).remove,n=void 0!==t&&t,r=new URL(window.location),o={};return e.forEach(function(e){var t=r.searchParams.get(e),a=e.replace(/_([a-z])/g,function(e,t){return t.toUpperCase()});o[a]=t,("function"==typeof n?n(t,e):n)&&null!==t&&r.searchParams.delete(e)}),r.search!==window.location.search&&window.history.replaceState({},"",r),o}var Nr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var n=localStorage.getItem(e);return null!==n?n:t}catch(e){return t}},Pr=function(e,t){try{localStorage.setItem(e,t)}catch(e){}},xr=function(e){try{localStorage.removeItem(e)}catch(e){}},kr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var n=localStorage.getItem(e);return null===n?t:JSON.parse(n)}catch(e){return t}},Ar=function(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch(e){}},Lr=function(){return window.smushUIData||{}};function Tr(e){return Tr="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},Tr(e)}var Mr=["iconSrc"];function Ir(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 zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(n),!0).forEach(function(t){Hr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ir(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Hr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Tr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Tr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Tr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Br(e){return function(e){if(Array.isArray(e))return Rr(e)}(e)||Dr(e)||Fr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dr(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Vr(e,t){return Ur(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||Fr(e,t)||Zr()}function Zr(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fr(e,t){if(e){if("string"==typeof e)return Rr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rr(e,t):void 0}}function Rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ur(e){if(Array.isArray(e))return e}var Gr=(0,a.createContext)(null),Wr={open:!1,placement:"top-right",info:null,autoClose:!0,className:"",queueable:!1,queueableKey:null},qr=function(){var e=(0,a.useContext)(Gr);if(!e)throw new Error("usePage must be used within PageProvider");return e},$r=function(e){var t,n,r,o,i,l,c,s,u,m,f,p,d,v=e.children,h=e.showSidebar,C=bo(),g=C.isSideContentVisible,b=C.toggleSideContent,y=C.showSideContent,w=C.hideSideContent,_=Vr((0,a.useState)(!1),2),E=_[0],O=_[1],S=Vr((0,a.useState)(""),2),j=S[0],N=S[1],P=ai(),x=P.openHubConnectionFlow,k=P.setOpenHubConnectionFlow,A=Vr((0,a.useState)(!1),2),L=A[0],T=A[1];(0,a.useEffect)(function(){h&&y()},[h,y,w]);var M=Vr((0,a.useState)(Wr),2),I=M[0],z=M[1],H=(0,a.useRef)({}),B=(0,a.useRef)(I),D=(0,a.useRef)(I);(0,a.useEffect)(function(){B.current=I},[I]);var V=(0,a.useCallback)(function(){var e=kr(ar,[]);return Array.isArray(e)?e:[]},[]),Z=(0,a.useCallback)(function(){Ar(ar,arguments.length>0&&void 0!==arguments[0]?arguments[0]:[])},[]),F=(0,a.useCallback)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=V();r.some(function(t){return(null==t?void 0:t.toastKey)===e})||(r.push({toastKey:e,payload:t,delayMs:n}),Z(r))},[V,Z]),R=(0,a.useCallback)(function(e){var t=V();Z([e].concat(Br(t)))},[V,Z]),U=(0,a.useCallback)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=H.current[e];if("function"!=typeof n)return!1;var r=n(t);return!!r&&(z(function(t){return zr(zr(zr(zr({},Wr),t),r),{},{open:!0,queueable:!0,queueableKey:e})}),!0)},[]),G=(0,a.useCallback)(function(){var e=B.current;if(null!=e&&e.open&&null!=e&&e.queueable)return!1;var t=V();if(!t.length)return!1;var n,r=Ur(n=t)||Dr(n)||Fr(n)||Zr(),o=r[0],a=Rr(r).slice(1);if(null==o||!o.toastKey)return Z(a),!1;if("function"!=typeof H.current[o.toastKey])return!1;Z(a);var i=function(){var e=B.current;null!=e&&e.open&&null!=e&&e.queueable?R(o):U(o.toastKey,o.payload||{})||R(o)},l=Number.isFinite(o.delayMs)?Math.max(0,o.delayMs):0;return l>0?setTimeout(i,l):i(),!0},[V,Z,R,U]),W=(0,a.useCallback)(function(e,t){return e&&"function"==typeof t?(H.current[e]=t,G(),function(){H.current[e]===t&&delete H.current[e]}):function(){}},[G]),q=(0,a.useCallback)(function(e){var t=e.toastKey,n=e.payload,r=void 0===n?{}:n,o=e.delayMs,a=void 0===o?0:o;if(!t)return!1;var i=B.current;return null!=i&&i.open&&null!=i&&i.queueable?(F(t,r,a),!1):!!U(t,r)||(F(t,r,a),!1)},[U,F]),$=(0,a.useCallback)(function(e){var t=e.toastKey,n=e.payload,r=void 0===n?{}:n,o=e.delayMs;return!!t&&(F(t,r,void 0===o?0:o),!0)},[F]);(0,a.useEffect)(function(){var e,t=null===(e=D.current)||void 0===e?void 0:e.open,n=null==I?void 0:I.open;t&&!n&&G(),D.current=I},[I,G]),(0,a.useEffect)(function(){G()},[G]),(0,a.useEffect)(function(){},[]);var K=a.useCallback(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=yr(O);n&&n(e);var r=yr(N);r&&e&&r(t||"")}),X=Gn((null===(t=window.smushUIData)||void 0===t?void 0:t.siteSettings)||{}),J=(null===(n=window.smushUIData)||void 0===n?void 0:n.bulkSmushMetaData)||{},Y={excludePages:"exclude-pages",excludeClasses:"exclude-classes"},Q=Gn((null===(r=window.smushUIData)||void 0===r?void 0:r.lazyloadSettings)||{},Y),ee=Gn((null===(o=window.smushUIData)||void 0===o?void 0:o.preloadSettings)||{}),te=Gn((null===(i=window.smushUIData)||void 0===i?void 0:i.cdnSettings)||{}),ne=Gn((null===(l=window.smushUIData)||void 0===l?void 0:l.nextgenSettings)||{}),re=(null===(c=window.smushUIData)||void 0===c?void 0:c.activeSettingsTab)||"",oe=(null===(s=window.smushUIData)||void 0===s?void 0:s.canUseBgOptimization)||!1,ae=(null===(u=window.smushUIData)||void 0===u?void 0:u.pageUrls)||{},ie=(null===(m=window.smushUIData)||void 0===m?void 0:m.metaData)||{},le={isSideContentVisible:g,toggleSideContent:b,showSideContent:y,hideSideContent:w,canUseBgOptimization:oe,openProFeatures:E,setOpenProFeatures:K,proFeaturesCampaign:j,openHubConnectionFlow:x,setOpenHubConnectionFlow:k,isBulkSmushCancelModalOpen:L,setIsBulkSmushCancelModalOpen:T,siteSettings:X,pageUrls:ae,metaData:ie,bulkSmushMetaData:J,lazyLoadSettings:Q,lazyLoadKebabMap:Y,preloadSettings:ee,cdnSettings:te,nextgenSettings:ne,activeSettingsTab:re,setToast:z,registerQueueableToast:W,showQueueableToast:q,enqueueQueueableToast:$},ce=zr(zr({},Wr),I).info||{},se=ce.iconSrc,ue=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(ce,Mr);return a.createElement(Gr.Provider,{value:le},v,a.createElement(ef,{className:I.className,closable:null===(f=null===(p=I.info)||void 0===p?void 0:p.closable)||void 0===f||f,autoClose:I.autoClose,open:I.open,placement:I.placement,onClose:function(){return z(Wr)},toastInfo:zr(zr({},ue),{},{useAvatar:!1,icon:(null===(d=I.info)||void 0===d?void 0:d.icon)||a.createElement("img",{width:"48px",src:se||Wn})})}))};$r.displayName="PageProvider",$r.propTypes={children:l().node.isRequired,showSidebar:l().bool};var Kr=["children","className"];function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xr.apply(null,arguments)}var Jr=(0,a.createContext)({}),Yr=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Kr),i={className:r};return a.createElement(Jr.Provider,{value:i},a.createElement(A,Xr({className:r},o),t))};Yr.propTypes={children:l().node,className:l().string};var Qr=["children","isDisabled","onDisabledClick","className"];function eo(){return eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eo.apply(null,arguments)}var to=(0,a.createContext)({}),no=function(e){var t=e.children,n=e.isDisabled,r=void 0!==n&&n,o=e.onDisabledClick,i=e.className,l=void 0===i?"":i,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Qr),s={isDisabled:r};return a.createElement(to.Provider,{value:s},a.createElement(Rf,eo({className:l,isDisabled:r,onClick:function(){r&&o&&o()}},c),t))};no.propTypes={children:l().node,className:l().string,isDisabled:l().bool,onDisabledClick:l().func};var ro=(0,a.createContext)(),oo=function(e){return Object.keys(e.current.processes).length>0},ao=function(e){e.current.interval&&(clearInterval(e.current.interval),e.current.interval=null)},io=function(e){!e.current.interval&&oo(e)&&(e.current.interval=setInterval(function(){Kn.common.poll().then(function(t){return function(e,t){if(t&&t.success&&t.data){var n=t.data;Object.keys(e.current.processes).forEach(function(t){var r=e.current.processes[t];"function"==typeof r&&r(n&&n[t])})}}(e,t)})},3e3))},lo=function(){return(0,a.useContext)(ro)},co=lodash;function so(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return uo(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(uo(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,uo(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,uo(m,"constructor",s),uo(s,"constructor",c),c.displayName="GeneratorFunction",uo(s,o,"GeneratorFunction"),uo(m),uo(m,o,"Generator"),uo(m,r,function(){return this}),uo(m,"toString",function(){return"[object Generator]"}),(so=function(){return{w:a,m:f}})()}function uo(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}uo=function(e,t,n,r){function a(t,n){uo(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},uo(e,t,n,r)}function mo(e){return function(e){if(Array.isArray(e))return Co(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ho(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fo(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function po(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){fo(a,r,o,i,l,"next",e)}function l(e){fo(a,r,o,i,l,"throw",e)}i(void 0)})}}function vo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||ho(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ho(e,t){if(e){if("string"==typeof e)return Co(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Co(e,t):void 0}}function Co(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var go=(0,a.createContext)(null),bo=function(){var e=(0,a.useContext)(go);if(!e)throw new Error("useActivityLog must be used within ActivityLogProvider");return e};function yo(e){var t=e.content,n=e.module,r=void 0===n?"":n,o=e.url,i=void 0===o?"":o,l=e.variant,c=void 0===l?"default":l;return{id:"client_".concat(Date.now(),"_").concat(Math.random().toString(36).slice(2)),timestamp:(new Date).toISOString(),variant:c,icon:a.createElement(gn,{name:"Settings",color:"#fff",size:16}),content:t,selfLink:i||null,action:null,_module:r}}function wo(e){return{variant:"default",id:String(e.id),timestamp:e.timestamp?new Date(1e3*e.timestamp).toISOString():(new Date).toISOString(),icon:a.createElement(gn,{name:"Settings",color:"#fff",size:16}),content:e.content||"",selfLink:e.url||null,action:null}}var _o=function(e){var t=e.children,n=vo((0,a.useState)(!1),2),r=n[0],o=n[1],i=(0,a.useState)(function(){var e,t=(null===(e=window)||void 0===e||null===(e=e.smushUIData)||void 0===e||null===(e=e.activityLog)||void 0===e?void 0:e.notifications)||[];return Array.isArray(t)?t.map(wo):[]}),l=vo(i,2),c=l[0],s=l[1],u=(0,a.useCallback)(function(){return o(function(e){return!e})},[]),m=(0,a.useCallback)(function(){return o(!0)},[]),f=(0,a.useCallback)(function(){return o(!1)},[]),p=(0,a.useCallback)(function(){var e=po(so().m(function e(t){var n;return so().w(function(e){for(;;)switch(e.p=e.n){case 0:if(null!=t&&t.content){e.n=1;break}return e.a(2);case 1:return n=yo(t),s(function(e){return[n].concat(mo(e))}),e.p=2,e.n=3,Kn.request("smush_add_notification",{notification:JSON.stringify({id:n.id,content:t.content,module:t.module||"",url:t.url||""})});case 3:e.n=5;break;case 4:e.p=4,e.v,s(function(e){return e.filter(function(e){return e.id!==n.id})});case 5:return e.a(2)}},e,null,[[2,4]])}));return function(t){return e.apply(this,arguments)}}(),[]),d=(0,a.useCallback)(po(so().m(function e(){var t,n;return so().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,Kn.request("smush_get_notifications",{});case 1:null!=(n=e.v)&&null!==(t=n.data)&&void 0!==t&&t.notifications&&s(n.data.notifications.map(wo)),e.n=3;break;case 2:e.p=2,e.v;case 3:return e.a(2)}},e,null,[[0,2]])})),[]),v=(0,a.useMemo)(function(){return(0,co.debounce)(function(e){!function(e){Ar(ir,e)}(e)},2e3)},[]),h=vo((0,a.useState)(kr(ir,[])),2),C=h[0],g=h[1];a.useEffect(function(){v(C)},[C,v]);var b=c.some(function(e){return!C.includes(e.id)}),y=(0,a.useMemo)(function(){return{isSideContentVisible:r,toggleSideContent:u,showSideContent:m,hideSideContent:f,notifications:c,readNotificationIds:C,setReadNotificationIds:g,hasUnreadNotifications:b,addNotification:p,syncNotifications:d}},[c,C,b,r,p,d]);return a.createElement(go.Provider,{value:y},t)};_o.displayName="ActivityLogProvider",_o.propTypes={children:l().node.isRequired};function Eo(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Oo(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Oo(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Oo(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Oo(m,"constructor",s),Oo(s,"constructor",c),c.displayName="GeneratorFunction",Oo(s,o,"GeneratorFunction"),Oo(m),Oo(m,o,"Generator"),Oo(m,r,function(){return this}),Oo(m,"toString",function(){return"[object Generator]"}),(Eo=function(){return{w:a,m:f}})()}function Oo(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Oo=function(e,t,n,r){function a(t,n){Oo(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Oo(e,t,n,r)}function So(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function jo(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){So(a,r,o,i,l,"next",e)}function l(e){So(a,r,o,i,l,"throw",e)}i(void 0)})}}function No(){return Kn.background.start()}function Po(e){return xo.apply(this,arguments)}function xo(){return(xo=jo(Eo().m(function e(t){var n;return Eo().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,Kn.background.getStatus();case 1:(n=e.v)&&n.success&&n.data&&t(function(e){return er(e,Gn(n.data))}),e.n=3;break;case 2:e.p=2,e.v;case 3:return e.a(2)}},e,null,[[0,2]])}))).apply(this,arguments)}function ko(e){return Ao.apply(this,arguments)}function Ao(){return(Ao=jo(Eo().m(function e(t){var n;return Eo().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,Kn.background.getStats();case 1:(n=e.v)&&n.success&&n.data&&t(function(e){return er(e,Gn(n.data))}),e.n=3;break;case 2:e.p=2,e.v;case 3:return e.a(2)}},e,null,[[0,2]])}))).apply(this,arguments)}function Lo(){return Kn.background.cancel()}function To(){return Kn.background.pause()}function Mo(){return Kn.background.resume()}function Io(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return zo(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(zo(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,zo(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,zo(m,"constructor",s),zo(s,"constructor",c),c.displayName="GeneratorFunction",zo(s,o,"GeneratorFunction"),zo(m),zo(m,o,"Generator"),zo(m,r,function(){return this}),zo(m,"toString",function(){return"[object Generator]"}),(Io=function(){return{w:a,m:f}})()}function zo(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}zo=function(e,t,n,r){function a(t,n){zo(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},zo(e,t,n,r)}function Ho(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function Bo(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Ho(a,r,o,i,l,"next",e)}function l(e){Ho(a,r,o,i,l,"throw",e)}i(void 0)})}}function Do(){return Kn.scanMediaLibrary.start()}function Vo(){return(Vo=Bo(Io().m(function e(t){var n;return Io().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,Kn.scanMediaLibrary.getScanStatus();case 1:(n=e.v)&&n.success&&n.data&&t(function(e){return er(e,Gn(n.data))}),e.n=3;break;case 2:e.p=2,e.v;case 3:return e.a(2)}},e,null,[[0,2]])}))).apply(this,arguments)}function Zo(){return Kn.scanMediaLibrary.cancel()}var Fo=o;function Ro(e){return Ro="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},Ro(e)}function Uo(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Go(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Go(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Go(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Go(m,"constructor",s),Go(s,"constructor",c),c.displayName="GeneratorFunction",Go(s,o,"GeneratorFunction"),Go(m),Go(m,o,"Generator"),Go(m,r,function(){return this}),Go(m,"toString",function(){return"[object Generator]"}),(Uo=function(){return{w:a,m:f}})()}function Go(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Go=function(e,t,n,r){function a(t,n){Go(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Go(e,t,n,r)}function Wo(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function qo(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Wo(a,r,o,i,l,"next",e)}function l(e){Wo(a,r,o,i,l,"throw",e)}i(void 0)})}}function $o(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 Ko(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$o(Object(n),!0).forEach(function(t){Xo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Ro(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ro(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ro(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Yo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Qo=(0,a.createContext)(),ea=function(){return(0,a.useContext)(Qo)};function ta(e){return ta="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},ta(e)}function na(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return ra(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ra(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,ra(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,ra(m,"constructor",s),ra(s,"constructor",c),c.displayName="GeneratorFunction",ra(s,o,"GeneratorFunction"),ra(m),ra(m,o,"Generator"),ra(m,r,function(){return this}),ra(m,"toString",function(){return"[object Generator]"}),(na=function(){return{w:a,m:f}})()}function ra(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ra=function(e,t,n,r){function a(t,n){ra(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},ra(e,t,n,r)}function oa(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function aa(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){oa(a,r,o,i,l,"next",e)}function l(e){oa(a,r,o,i,l,"throw",e)}i(void 0)})}}function ia(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 la(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ia(Object(n),!0).forEach(function(t){ca(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ia(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ca(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ta(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ta(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ta(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ua(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ua(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ua(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ma=(0,a.createContext)(),fa=function(){return(0,a.useContext)(ma)};function pa(e){return pa="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},pa(e)}function da(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 va(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?da(Object(n),!0).forEach(function(t){ha(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):da(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ha(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=pa(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=pa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pa(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ca(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ga(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ga(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ga(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ba=(0,a.createContext)(),ya=function(){return(0,a.useContext)(ba)};function wa(e){return wa="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},wa(e)}function _a(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Ea(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Ea(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Ea(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Ea(m,"constructor",s),Ea(s,"constructor",c),c.displayName="GeneratorFunction",Ea(s,o,"GeneratorFunction"),Ea(m),Ea(m,o,"Generator"),Ea(m,r,function(){return this}),Ea(m,"toString",function(){return"[object Generator]"}),(_a=function(){return{w:a,m:f}})()}function Ea(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Ea=function(e,t,n,r){function a(t,n){Ea(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Ea(e,t,n,r)}function Oa(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 Sa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oa(Object(n),!0).forEach(function(t){ja(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ja(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=wa(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=wa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wa(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Na(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function Pa(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Na(a,r,o,i,l,"next",e)}function l(e){Na(a,r,o,i,l,"throw",e)}i(void 0)})}}function xa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ka(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ka(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ka(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Aa(){var e="wpmudev-auto-save-notification",t="".concat(e,"--visible"),n=document.querySelector(".".concat(e));n||((n=document.createElement("div")).className=e,n.textContent=(0,Zn.__)("Auto-saved changes","wp-smushit"),document.body.appendChild(n)),n._timer&&clearTimeout(n._timer),n.classList.remove(t),requestAnimationFrame(function(){n.classList.add(t)}),n._timer=setTimeout(function(){n.classList.remove(t)},2500)}var La=function(e){var t=e.initialSettings,n=void 0===t?{}:t,r=e.context,o=e.onSuccess,i=e.onError,l=xa((0,a.useState)(n),2),c=l[0],s=l[1],u=(0,a.useRef)({}),m=xa((0,a.useState)(!1),2),f=(m[0],m[1]),p=xa((0,a.useState)(null),2),d=p[0],v=p[1],h=(0,a.useRef)({}),C=Object.keys(u.current).length>0;(0,a.useEffect)(function(){if(C){var e=function(e){e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",e),function(){return window.removeEventListener("beforeunload",e)}}},[C]);var g=(0,a.useCallback)((0,co.debounce)(Pa(_a().m(function e(){var t,n,a,l,c,m,p,d,C,g;return _a().w(function(e){for(;;)switch(e.p=e.n){case 0:if(t=Sa({},u.current),0!==Object.keys(t).length){e.n=1;break}return e.a(2);case 1:return f(!0),v(null),e.p=2,e.n=3,Kn.request("smush_sync_settings",{settings:JSON.stringify(t),context:r});case 3:if(!(n=e.v).success){e.n=4;break}for(l=Sa({},u.current),c=0,m=Object.keys(t);c<m.length;c++)p=m[c],l[p]===t[p]&&delete l[p];u.current=l,null!==(a=n.data)&&void 0!==a&&a.settings&&s(function(e){return Sa(Sa(Sa({},e),n.data.settings),u.current)}),Aa(),o&&o(n.data),e.n=5;break;case 4:throw new Error((null===(d=n.data)||void 0===d?void 0:d.message)||"Failed to save settings");case 5:e.n=7;break;case 6:e.p=6,g=e.v,C=g.message||"An error occurred while saving settings",v(C),s(h.current),u.current={},alert("Error saving settings: ".concat(C)),i&&i(g);case 7:return e.p=7,f(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])})),1e3),[r,o,i]),b=(0,a.useCallback)(function(e,t){h.current=Sa({},c),u.current=Sa(Sa({},u.current),{},ja({},e,t)),s(function(n){return Sa(Sa({},n),{},ja({},e,t))}),g()},[c,g]),y=(0,a.useCallback)(function(e){h.current=Sa({},c),s(function(t){return Sa(Sa({},t),e)}),u.current=Sa(Sa({},u.current),e),g()},[c,g]),w=(0,a.useCallback)(Pa(_a().m(function e(){return _a().w(function(e){for(;;)switch(e.n){case 0:if(0!==Object.keys(u.current).length){e.n=1;break}return e.a(2);case 1:return e.n=2,g.flush();case 2:return e.a(2)}},e)})),[g]),_=(0,a.useCallback)(function(){s(n),u.current={},v(null),g.cancel()},[n,g]);return{settings:c,syncError:d,hasPendingChanges:C,updateSetting:b,updateSettings:y,syncNow:w,resetSettings:_}},Ta=(0,a.createContext)(null),Ma=function(e,t){var n=(0,a.useContext)(Ta);if(!n)throw new Error("useLazyLoadSetting must be used within LazyLoadSettingsProvider");var r=(0,a.useMemo)(function(){var t;return null===(t=n.settings)||void 0===t?void 0:t[e]},[n.settings,e]),o=bo().addNotification;return[r,(0,a.useCallback)(function(r){if(t){var a,i="function"==typeof t?t(r,null===(a=n.settings)||void 0===a?void 0:a[e]):t;i&&o({content:i,module:"lazy_load"})}n.updateSetting(e,r)},[n.updateSetting,n.settings,e,t,o])]},Ia=function(e){var t,n,r=e.children,o=(null===(t=window.smushUIData)||void 0===t?void 0:t.lazyloadSettings)||{},i=(null===(n=window.smushUIData)||void 0===n||null===(n=n.metaData)||void 0===n?void 0:n.customPostTypes)||{},l=La({initialSettings:o,context:"lazyload"}),c=l.settings,s=l.updateSetting,u=(0,a.useMemo)(function(){return{settings:c,updateSetting:s,customPostTypes:i}},[c,s,i]);return a.createElement(Ta.Provider,{value:u},r)};Ia.displayName="LazyLoadSettingsProvider",Ia.propTypes={children:l().node.isRequired};var za=(0,a.createContext)(null),Ha=function(e){var t,n=e.children;(0,a.useEffect)(function(){var e,t=(null===(e=window.smushUIData)||void 0===e?void 0:e.cdnStatus)||{};br()&&!t.endpointUrl&&Kn.cdn.getStats()},[]);var r=(null===(t=window.smushUIData)||void 0===t?void 0:t.cdnSettings)||{},o=La({initialSettings:r,context:"cdn"}),i=o.settings,l=o.updateSetting,c=(0,a.useMemo)(function(){return{settings:i,updateSetting:l}},[i,l]);return a.createElement(za.Provider,{value:c},n)};Ha.displayName="CDNSettingsProvider",Ha.propTypes={children:l().node.isRequired};var Ba=(0,a.createContext)(null),Da=function(e){var t,n=e.children,r=(null===(t=window.smushUIData)||void 0===t?void 0:t.preloadSettings)||{},o=La({initialSettings:r,context:"preload"}),i=o.settings,l=o.updateSetting,c=(0,a.useMemo)(function(){return{settings:i,updateSetting:l}},[i,l]);return a.createElement(Ba.Provider,{value:c},n)};Da.displayName="PreloadSettingsProvider",Da.propTypes={children:l().node.isRequired};function Va(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Za(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Za(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Za(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Fa=(0,a.createContext)(null),Ra=function(){var e=(0,a.useContext)(Fa);if(!e)throw new Error("useNextGenSettings must be used within NextGenSettingsProvider");return e},Ua=function(e,t){var n=(0,a.useContext)(Fa);if(!n)throw new Error("useNextGenSetting must be used within NextGenSettingsProvider");var r=(0,a.useMemo)(function(){var t;return br(null===(t=n.settings)||void 0===t?void 0:t[e])},[n.settings,e]),o=bo().addNotification;return[r,(0,a.useCallback)(function(r){if(t){var a,i=br(null===(a=n.settings)||void 0===a?void 0:a[e]),l="function"==typeof t?t(r,i):t;l&&o({content:l,module:"next_gen"})}n.updateSetting(e,r)},[n.updateSetting,n.settings,e,t,o])]},Ga=function(e){var t,n,r,o=e.children,i=(null===(t=window.smushUIData)||void 0===t?void 0:t.nextgenSettings)||{},l=Va(a.useState(parseInt(null==i||null===(n=i.setupWizard)||void 0===n?void 0:n.startStep)),2),c=l[0],s=l[1],u=La({initialSettings:i,context:"nextgen"}),m=u.settings,f=u.updateSetting,p=u.hasPendingChanges,d=null==i||null===(r=i.setupWizard)||void 0===r?void 0:r.showSetupWizard,v=Va(a.useState(d),2),h=v[0],C=v[1],g=(0,a.useMemo)(function(){return{settings:m,updateSetting:f,hasPendingChanges:p,currentSetupWizardStep:c,setCurrentSetupWizardStep:s,isWebpSetupWizardOpen:h,setIsWebpSetupWizardOpen:C}},[m,f,p,c,h]);return a.createElement(Fa.Provider,{value:g},o)};Ga.displayName="NextGenSettingsProvider",Ga.propTypes={children:l().node.isRequired};var Wa=(0,a.createContext)(null),qa=function(e){var t,n=e.children,r=(null===(t=window.smushUIData)||void 0===t?void 0:t.directorySettings)||{},o=La({initialSettings:r,context:"directory"}),i=o.settings,l=o.hasPendingChanges,c=o.updateSetting,s=(0,a.useMemo)(function(){return{settings:i,hasPendingChanges:l,updateSetting:c}},[i,l,c]);return a.createElement(Wa.Provider,{value:s},n)};qa.displayName="DirectorySettingsProvider",qa.propTypes={children:l().node.isRequired};var $a=function(e){var t=e.providers,n=e.children;return t.reduceRight(function(e,t){return a.createElement(t,null,e)},n)},Ka=(0,a.createContext)(null),Xa=function(){var e=(0,a.useContext)(Ka);if(!e)throw new Error("useSiteSettings must be used within SiteSettingsProvider");return e},Ja=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=(0,a.useContext)(Ka),o=ya().markAsOutdated,i=bo().addNotification;if(!r)throw new Error("useSiteSetting must be used within SiteSettingsProvider");return[(0,a.useMemo)(function(){var t;return null===(t=r.settings)||void 0===t?void 0:t[e]},[r.settings,e]),(0,a.useCallback)(function(a){if(t&&o(),n){var l,c=null===(l=r.settings)||void 0===l?void 0:l[e],s="function"==typeof n?n(a,c):n;s&&i({content:s,module:"settings"})}r.updateSetting(e,a)},[r.updateSetting,r.settings,e,t,o,n,i])]},Ya=function(e){var t,n=e.children,r=(null===(t=window.smushUIData)||void 0===t?void 0:t.siteSettings)||{},o=La({initialSettings:r,context:"site"}),i=o.settings,l=o.hasPendingChanges,c=o.updateSetting,s=o.syncNow,u=(0,a.useMemo)(function(){return{settings:i,hasPendingChanges:l,updateSetting:c,syncNow:s}},[i,l,c,s]);return a.createElement(Ka.Provider,{value:u},n)};Ya.displayName="SiteSettingsProvider",Ya.propTypes={children:l().node.isRequired},Ya.displayName="SiteSettingsProvider",Ya.propTypes={children:l().node.isRequired};function Qa(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return ei(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ei(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,ei(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,ei(m,"constructor",s),ei(s,"constructor",c),c.displayName="GeneratorFunction",ei(s,o,"GeneratorFunction"),ei(m),ei(m,o,"Generator"),ei(m,r,function(){return this}),ei(m,"toString",function(){return"[object Generator]"}),(Qa=function(){return{w:a,m:f}})()}function ei(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ei=function(e,t,n,r){function a(t,n){ei(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},ei(e,t,n,r)}function ti(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function ni(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ri(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ri(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ri(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var oi=(0,a.createContext)(null),ai=function(){var e=(0,a.useContext)(oi);if(!e)throw new Error("useHubConnector must be used within HubConnectorProvider");return e},ii=function(e){var t,n,r=e.children,o=jr(["page_action","utm_campaign"],{remove:!0}),i=o.pageAction,l=o.utmCampaign,c=ni((0,a.useState)(l),2),s=c[0],u=c[1],m=ni((0,a.useState)(!1),2),f=m[0],p=m[1],d=ni((0,a.useState)("hub_connection"===i),2),v=d[0],h=d[1],C=ni((0,a.useState)(!1),2),g=C[0],b=C[1],y=(null===(t=window)||void 0===t||null===(t=t.smushUIData)||void 0===t?void 0:t.hubConnector)||{},w=y.profile_data||(null===(n=window)||void 0===n||null===(n=n.smushUIData)||void 0===n?void 0:n.profileData)||{},_=function(e){y.is_available&&p(e)},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";y.is_available&&(h(e),e&&t&&u(t))},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";y.is_available&&(b(e),e&&t&&u(t))},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=!(null==y||!y.should_redirect_to_dashboard),n=null==y?void 0:y.redirect_url;return!(!t||!n)&&("function"==typeof e?(e(!0,!0,sr,n),!0):(window.location.href=n,!0))},j=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipWizardUrl,r=void 0===n?null:n,o=new URL(e||"https://wpmudev.com/api/dashboard/v2/site-authenticate",window.location.origin);o.searchParams.set("redirect_url",(null==y?void 0:y.redirect_url)||window.location.href),o.searchParams.set("domain",(null==y?void 0:y.domain)||""),o.searchParams.set("auth_nonce",(null==y?void 0:y.auth_nonce)||""),o.searchParams.set("page_action","hub_connection"),r&&o.searchParams.set("skip_wizard_url",r);var a=t;return a?(o.searchParams.set("utm_medium","plugin"),o.searchParams.set("utm_source",br("smush_pro","smush")),o.searchParams.set("utm_content","hub-connector"),o.searchParams.set("utm_campaign",a),o.toString().replace("smush_bulk_smush_connect",a)):o.toString()};y.signupUrl=j(null==y?void 0:y.hub_signup_url,s||"smush_profile_avatar_connect_create_account"),y.loginUrl=j(null==y?void 0:y.login_auth_url,s||"smush_profile_avatar_connect_create_account");var N=function(){var e,t=(e=Qa().m(function e(){return Qa().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,Kn.settings.disconnectSite();case 1:return e.a(2,e.v)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){ti(a,r,o,i,l,"next",e)}function l(e){ti(a,r,o,i,l,"throw",e)}i(void 0)})});return function(){return t.apply(this,arguments)}}(),P=(0,a.useMemo)(function(){return{hubConnectorData:y,profileData:w,disconnectSite:N,openHubConnectionFlow:v,setOpenHubConnectionFlow:E,openHubConnectInfoModal:g,setOpenHubConnectInfoModal:O,openDisconnectSiteConfirmModal:f,setOpenDisconnectSiteConfirmModal:_,redirectToDashboardIfAvailable:S,buildAuthUrl:j,hubConnectionCampaign:s,setHubConnectionCampaign:u}},[y,w,v,g,f,s]);return a.createElement(oi.Provider,{value:P},r)};ii.displayName="HubConnectorProvider",ii.propTypes={children:l().node.isRequired};var li=(0,a.createContext)(null);function ci(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e&&t in e?1===e[t]||!0===e[t]:n}var si=function(e){var t=e.children,n=(0,a.useMemo)(function(){var e,t=null===(e=window.smushUIData)||void 0===e?void 0:e.viewPermissions;return{isAvifAvailable:ci(t,"canViewAvif"),isBulkAvailable:ci(t,"canViewBulk"),isCdnAvailable:ci(t,"canViewCdn"),isIntegrationsAvailable:ci(t,"canViewIntegrations"),isLazyLoadAvailable:ci(t,"canViewLazyLoad"),isPreloadAvailable:ci(t,"canViewPreload"),isSettingsAvailable:ci(t,"canViewSettings"),isWebpAvailable:ci(t,"canViewWebp"),isNextgenAvailable:ci(t,"canViewNextgen"),isDirectorySmushAvailable:ci(t,"canViewDirectorySmush"),isPermissionsAvailable:ci(t,"canViewPermissions",!1),isConfigsAvailable:ci(t,"canViewConfigs"),isUserProfileAvailable:ci(t,"canViewUserProfile")}},[]);return a.createElement(li.Provider,{value:n},t)};si.propTypes={children:l().node};var ui=function(){var e=(0,a.useContext)(li);if(!e)throw new Error("useViewPermissions must be used within a ViewPermissionsProvider");return e};function mi(e){return function(e){if(Array.isArray(e))return di(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pi(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||pi(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pi(e,t){if(e){if("string"==typeof e)return di(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?di(e,t):void 0}}function di(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var vi=(0,a.createContext)(null),hi=function(){var e=(0,a.useContext)(vi);if(!e)throw new Error("useDismissedNotices must be used within DismissedNoticesProvider");return e},Ci=function(e){var t=e.children,n=(0,a.useState)(function(){var e;return(null===(e=window)||void 0===e||null===(e=e.smushUIData)||void 0===e?void 0:e.dismissedNotices)||[]}),r=fi(n,2),o=r[0],i=r[1],l=(0,a.useCallback)(function(e){return o.includes(e)},[o]),c=(0,a.useCallback)(function(e){return i(function(t){return t.includes(e)?t:[].concat(mi(t),[e])}),Kn.common.dismissNotice(e)},[]),s=(0,a.useMemo)(function(){return{dismissedNotices:o,isNoticeDismissed:l,dismissNotice:c}},[o,l,c]);return a.createElement(vi.Provider,{value:s},t)};Ci.displayName="DismissedNoticesProvider",Ci.propTypes={children:l().node.isRequired};var gi=[Ci,si,function(e){var t=e.children,n=(0,a.useRef)({processes:{},interval:null});(0,a.useEffect)(function(){return function(){ao(n)}},[]);var r=(0,a.useMemo)(function(){return{startPolling:function(e,t){n.current.processes[e]||(n.current.processes[e]=t,io(n))},stopPolling:function(e){n.current.processes[e]&&(delete n.current.processes[e],function(e){oo(e)||ao(e)}(n))}}},[]);return a.createElement(ro.Provider,{value:r},t)},_o,ii,function(e){var t,n=e.children,r=lo(),o=r.startPolling,i=r.stopPolling,l=bo(),c=l.addNotification,s=l.syncNotifications,u=sa((0,a.useState)(null===(t=window.smushUIData)||void 0===t?void 0:t.scanStatus),2),m=u[0],f=u[1],p=sa((0,a.useState)(!1),2),d=p[0],v=p[1],h=sa((0,a.useState)(!1),2),C=h[0],g=h[1],b=(0,a.useRef)(null),y=(0,a.useRef)(null),w=(0,a.useRef)(null),_=(0,a.useRef)(null),E=(0,a.useRef)(null),O=sa((0,a.useState)(!1),2),S=O[0],j=O[1],N=(0,a.useCallback)(function(e){f(Object.assign(m,e))},[m]),P=(0,a.useCallback)(function(){i("scan-progress")},[i]),x=(0,a.useCallback)(function(e){v(!1);var t=!1;e&&(e.isCompleted||e.isCancelled||e.isDead)&&(P(),e.isCompleted?(f(function(t){return la(la({},t),{},{totalItems:e.totalItems,processedItems:e.totalItems,inProcessing:!0})}),E.current||(E.current=setTimeout(function(){E.current=null,f(e),b.current&&b.current(e),s()},1500)),t=!0):e.isCancelled&&y.current?y.current(e):e.isDead&&w.current&&(w.current(e),s()),(e.isCompleted||e.isCancelled||e.isDead)&&_.current&&_.current(e)),t||f(e)},[P,N]),k=(0,a.useCallback)(function(){o("scan-progress",function(e){x(e)})},[o,x]),A=(0,a.useCallback)(function(){var e=aa(na().m(function e(t){var n,r,o,a;return na().w(function(e){for(;;)switch(e.n){case 0:return n=t.onCompleted,r=t.onCancelled,o=t.onDead,a=t.onFinished,b.current=n,y.current=r,w.current=o,_.current=a,c({content:(0,Zn.__)("Scan started.","wp-smushit"),module:"scan"}),v(!0),f(function(e){return la(la({},e),{},{inProcessing:!0,isCancelled:!1,isCompleted:!1,isDead:!1,totalItems:0,processedItems:0,failedItems:0})}),e.n=1,Do();case 1:k();case 2:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}(),[k]),L=(0,a.useCallback)(aa(na().m(function e(){return na().w(function(e){for(;;)switch(e.n){case 0:return c({content:(0,Zn.__)("Scan cancelled.","wp-smushit"),module:"scan"}),g(!0),e.n=1,Zo();case 1:g(!1),P(),f(function(e){return e?la(la({},e),{},{inProcessing:!1,isCancelled:!0}):e}),v(!1);case 2:return e.a(2)}},e)})),[P]);(0,a.useEffect)(function(){!function(e){Vo.apply(this,arguments)}(f)},[]),(0,a.useEffect)(function(){return!m||!m.inProcessing&&!m.starting||m.isCompleted||m.isCancelled||m.isDead||k(),function(){return P()}},[m,k,P]),(0,a.useEffect)(function(){return function(){null!==E.current&&(clearTimeout(E.current),E.current=null)}},[]);var T=(0,a.useMemo)(function(){return{scanStatus:tr(m,{starting:d,cancelling:C}),startScan:A,cancelScan:L,isScanCancelModalOpen:S,setIsScanCancelModalOpen:j}},[m,d,C,A,L,S]);return a.createElement(ma.Provider,{value:T},n)},function(e){var t,n=e.children,r=lo(),o=r.startPolling,i=r.stopPolling,l=bo(),c=l.addNotification,s=l.syncNotifications,u=Jo((0,a.useState)(null===(t=window.smushUIData)||void 0===t?void 0:t.bulkSmushStatus),2),m=u[0],f=u[1],p=Jo((0,a.useState)(!1),2),d=p[0],v=p[1],h=Jo((0,a.useState)(!1),2),C=h[0],g=h[1],b=(0,a.useRef)(null),y=(0,a.useRef)(null),w=(0,a.useRef)(null),_=(0,a.useRef)(null),E=(0,a.useRef)(null),O=(0,a.useCallback)(function(e){f(Object.assign(m,e))},[m]),S=(0,a.useCallback)(function(){i("bulk-smush-progress")},[i]),j=(0,a.useCallback)(function(e){v(!1);var t=!1;e&&(e.isCompleted||e.isCancelled||e.isDead)&&(S(),e.isCompleted?(f(function(t){return Ko(Ko({},t),{},{totalItems:e.totalItems,processedItems:e.totalItems,inProcessing:!0})}),E.current||(E.current=setTimeout(function(){E.current=null,f(e),b.current&&b.current(e),s()},1500)),t=!0):e.isCancelled&&y.current?y.current(e):e.isDead&&w.current&&(w.current(e),s()),(e.isCompleted||e.isCancelled||e.isDead)&&_.current&&_.current(e)),t||f(e)},[S,O]),N=(0,a.useCallback)(function(){o("bulk-smush-progress",function(e){j(e)})},[o,j]),P=(0,a.useCallback)(function(){var e=qo(Uo().m(function e(t){var n,r,o,a,i,l;return Uo().w(function(e){for(;;)switch(e.p=e.n){case 0:return n=t.onCompleted,r=t.onCancelled,o=t.onDead,a=t.onFinished,b.current=n,y.current=r,w.current=o,_.current=a,c({content:(0,Zn.__)("Bulk Optimization started.","wp-smushit"),module:"bulk_smush"}),v(!0),f(function(e){return Ko(Ko({},e),{},{inProcessing:!0,isCancelled:!1,isCompleted:!1,isDead:!1,totalItems:0,processedItems:0,failedItems:0})}),e.p=1,e.n=2,Fo.start();case 2:i=e.v,e.n=4;break;case 3:return e.p=3,l=e.v,v(!1),S(),f(function(e){return e?Ko(Ko({},e),{},{inProcessing:!1}):e}),e.a(2,l);case 4:return N(),e.a(2,i)}},e,null,[[1,3]])}));return function(t){return e.apply(this,arguments)}}(),[N,S]),x=(0,a.useCallback)(function(e){var t=e.onCompleted,n=e.onCancelled,r=e.onDead,o=e.onFinished;b.current=t,y.current=n,w.current=r,_.current=o,N()},[N]),k=(0,a.useCallback)(qo(Uo().m(function e(){return Uo().w(function(e){for(;;)switch(e.n){case 0:return c({content:(0,Zn.__)("Bulk Optimization cancelled.","wp-smushit"),module:"bulk_smush"}),g(!0),e.n=1,Fo.cancel();case 1:g(!1),S(),f(function(e){return e?Ko(Ko({},e),{},{inProcessing:!1,isCancelled:!0}):e}),v(!1);case 2:return e.a(2)}},e)})),[S]),A=(0,a.useCallback)(qo(Uo().m(function e(){return Uo().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,Fo.pause();case 1:f(function(e){return Ko(Ko({},e),{},{isPaused:!0,inProcessing:!1})}),S();case 2:return e.a(2)}},e)})),[S]),L=(0,a.useCallback)(qo(Uo().m(function e(){return Uo().w(function(e){for(;;)switch(e.n){case 0:return v(!0),e.n=1,Fo.resume();case 1:f(function(e){return Ko(Ko({},e),{},{isPaused:!1,inProcessing:!0})}),N();case 2:return e.a(2)}},e)})),[N]);(0,a.useEffect)(function(){m||"function"==typeof Fo.syncStatus&&Fo.syncStatus(f)},[m]),(0,a.useEffect)(function(){return d||!m||!m.inProcessing&&!m.starting||m.isCompleted||m.isCancelled||m.isDead||m.isPaused||N(),function(){return S()}},[m,d,N,S]),(0,a.useEffect)(function(){return function(){null!==E.current&&(clearTimeout(E.current),E.current=null)}},[]);var T=(0,a.useMemo)(function(){return{bulkSmushStatus:tr(m,{starting:d,cancelling:C}),startBulkSmush:P,attachToBulkSmush:x,cancelBulkSmush:k,pauseBulkSmush:A,resumeBulkSmush:L}},[m,d,C,P,x,k,A,L]);return a.createElement(Qo.Provider,{value:T},n)},function(e){var t,n=e.children,r=lo(),o=r.startPolling,i=r.stopPolling,l=Ca((0,a.useState)(null===(t=window.smushUIData)||void 0===t?void 0:t.globalStats),2),c=l[0],s=l[1],u=(0,a.useCallback)(function(){o("global-stats",function(e){s(e)})},[o]),m=(0,a.useCallback)(function(){i("global-stats")},[i]),f=(0,a.useCallback)(function(){s(function(e){return e?va(va({},e),{},{isOutdated:!0}):e})}),p=(0,a.useMemo)(function(){return{globalStats:c,startPollingGlobalStats:u,stopPollingGlobalStats:m,markAsOutdated:f}},[c,u,m]);return(0,a.useEffect)(function(){return function(){return m()}},[m]),a.createElement(ba.Provider,{value:p},n)},Ya,Ia,Ha,Ga,Da,qa],bi=function(e){var t=e.children;return a.createElement($a,{providers:gi},t)},yi=["style","className","onClick"];function wi(){return wi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wi.apply(null,arguments)}var _i=function(e){var t=e.style,n=e.className,r=e.onClick,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,yi);return yr(a.createElement(Un,wi({size:"sm",variant:"pro-tag",style:t,className:n,onClick:r},o),(0,Zn.__)("Pro","wp-smushit")))};_i.propTypes={style:l().object,className:l().string,onClick:l().func};var Ei=_i;function Oi(e){return Oi="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},Oi(e)}var Si=["children","className","size","color","weight","lineHeight","gap","as","style"];function ji(){return ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ji.apply(null,arguments)}function Ni(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pi(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pi(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xi(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 ki(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xi(Object(n),!0).forEach(function(t){Ai(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ai(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Oi(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Oi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Oi(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Li=function(e,t){return"var(--wpmudev-".concat(e,", ").concat(t||"inherit",")")},Ti=function(e,t){return Li("text-".concat(e),t)},Mi=function(e,t){return Li("font-".concat(e),t)},Ii=function(e,t){if(!e)return e;if(e.toString().includes("--wpmudev"))return"var(".concat(e,", ").concat(t||"inherit",")");var n={11:"xs",14:"sm",16:"base",18:"lg",20:"xl",24:"2xl","extra-small":"xs",small:"sm",medium:"base",md:"base",large:"lg","extra-large":"xl"};if(n[e])return Ti(n[e],t);var r=parseFloat(e);return n[r]?Ti(n[r],t):Object.values(n).includes(e)?Ti(e,t):e},zi=function(e){var t=e.children,n=e.className,r=e.size,o=e.color,i=e.weight,l=e.lineHeight,c=e.gap,s=e.as,u=void 0===s?"span":s,m=e.style,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Si);if(u===a.Fragment)return a.createElement(a.Fragment,null,t);var p=["h1","h2","h3","h4","h5","h6"].includes(u.toLowerCase()),d=!p&&function(e){return"a"===e.toLowerCase()}(u),v=d&&"string"==typeof f.href&&f.href.startsWith("https://wpmudev.com/")&&!f.target?{target:"_blank"}:{},h=["wpmudev-text",p&&"wpmudev-text--heading",d&&"wpmudev-text--link",n].filter(Boolean).join(" ");r=Ii(r),i=function(e,t){if(!e)return e;if(e.toString().includes("--wpmudev"))return"var(".concat(e,", ").concat(t||"inherit",")");var n=parseFloat(e),r={400:"normal",500:"medium",600:"semibold",700:"bold"};return r[n]?Mi(r[n],t):Object.values(r).includes(e)?Mi(e,t):e}(i);var C=ki(ki({},Object.fromEntries(Object.entries({"--wpmudev-text-font-size":r||null,"--wpmudev-text-color":o||null,"--wpmudev-text-font-weight":i||null,lineHeight:l||null,"--wpmudev-text-gap":c||null}).filter(function(e){var t=Ni(e,2)[1];return null!=t}))),m);return a.createElement(u,ji({className:h,style:C},v,!d||"_blank"!==f.target&&"_blank"!==v.target?{}:{rel:"noopener"},f),t)};zi.displayName="Text",(zi.Span=function(e){return a.createElement(zi,ji({as:"span"},e))}).displayName="Text.Span",(zi.Heading=function(e){return a.createElement(zi,ji({as:"h3"},e))}).displayName="Text.Heading",(zi.H1=function(e){return a.createElement(zi,ji({as:"h1"},e))}).displayName="Text.H1",(zi.H2=function(e){return a.createElement(zi,ji({as:"h2"},e))}).displayName="Text.H2",(zi.H3=function(e){return a.createElement(zi,ji({as:"h3"},e))}).displayName="Text.H3",(zi.H4=function(e){return a.createElement(zi,ji({as:"h4"},e))}).displayName="Text.H4",(zi.Paragraph=function(e){return a.createElement(zi,ji({as:"p"},e))}).displayName="Paragraph",(zi.P=function(e){return a.createElement(zi,ji({as:"p"},e))}).displayName="Text.P",(zi.Label=function(e){return a.createElement(zi,ji({as:"label"},e))}).displayName="Text.Label",(zi.Link=function(e){return a.createElement(zi,ji({as:"a"},e))}).displayName="Text.Link",(zi.A=function(e){return a.createElement(zi,ji({as:"a"},e))}).displayName="Text.A",(zi.Small=function(e){return a.createElement(zi,ji({as:"small"},e))}).displayName="Text.Small",zi.propTypes={children:l().node.isRequired,size:l().string,color:l().string,weight:l().string,lineHeight:l().string,className:l().string,as:l().elementType,style:l().object,beforeText:l().node,afterText:l().node,gap:l().string};var Hi=zi,Bi=["description","learnMoreText","actionText","onLearnMore","onAction","isFeaturePro","className"];function Di(){return Di=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Di.apply(null,arguments)}var Vi=function(e){var t=e.description,n=e.learnMoreText,r=void 0===n?"Learn more":n,o=e.actionText,i=void 0===o?"Turn on":o,l=e.onLearnMore,c=e.onAction,s=e.isFeaturePro,u=void 0!==s&&s,m=e.className,f=void 0===m?"":m,p=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Bi),d="wpmudev-feature-promotion-banner",v=[d,u&&br("".concat(d,"--pro"),""),f].filter(Boolean).join(" ");return a.createElement("div",Di({className:v},p),a.createElement(Hi,{as:"div",className:"".concat(d,"__description"),size:"base",color:"var(--wpmudev-gray-700)"},t),a.createElement("div",{className:"".concat(d,"__actions")},l&&a.createElement(Nn,{variant:"transparent",size:"sm",onClick:l,className:"".concat(d,"__learn-more")},r),c&&a.createElement(Nn,{variant:u&&br("primary","black"),size:"sm",onClick:c,className:"".concat(d,"__action")},i)))};Vi.displayName="FeaturePromotionBanner",Vi.propTypes={description:l().string.isRequired,learnMoreText:l().string,actionText:l().string,onLearnMore:l().func,onAction:l().func,isFeaturePro:l().bool,className:l().string};var Zi=Vi,Fi=["icon","iconColor","iconSize","title","tooltip","showSettings","showSettingsIcon","onSettingsClick","children","className","isFeaturePro","isFeatureDisabled","bannerDescription","bannerLearnMoreText","bannerActionText","onBannerLearnMore","onBannerAction"];function Ri(){return Ri=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ri.apply(null,arguments)}var Ui=function(e){var t=e.icon,n=e.iconColor,r=void 0===n?"var(--wpmudev-text-primary)":n,o=e.iconSize,i=void 0===o?12:o,l=e.title,c=e.tooltip,s=e.showSettings,u=void 0===s||s,m=e.showSettingsIcon,f=void 0===m?"Settings":m,p=e.onSettingsClick,d=e.children,v=e.className,h=void 0===v?"":v,C=e.isFeaturePro,g=void 0!==C&&C,b=e.isFeatureDisabled,y=void 0!==b&&b,w=e.bannerDescription,_=e.bannerLearnMoreText,E=e.bannerActionText,O=e.onBannerLearnMore,S=e.onBannerAction,j=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Fi),N="wpmudev-settings-card",P=[N,h].filter(Boolean).join(" "),x=g&&yr(),k=(x||y&&!x)&&w;return a.createElement(Vn,Ri({className:P},j),a.createElement(Vn.Header,null,a.createElement("div",{className:"".concat(N,"__header-left")},t&&a.createElement("div",{className:"".concat(N,"__icon-container")},a.createElement(gn,{name:t,width:i,height:i,color:r})),a.createElement(Vn.Title,{className:"".concat(N,"__title-wrapper")},l,x?a.createElement(Ei,{className:"".concat(N,"__pro-badge")}):c&&a.createElement("span",{className:"".concat(N,"__tooltip-icon"),"data-tooltip":c,"aria-label":c},a.createElement(Ms.Basic,{content:c})))),u&&a.createElement(gn,{name:f,width:16,height:16,className:"".concat(N,"__settings-icon"),onClick:p})),a.createElement(Vn.Body,null,k?a.createElement(Zi,{description:w,learnMoreText:_,actionText:E,onLearnMore:O,onAction:S,isFeaturePro:g}):d))};Ui.displayName="SettingsDisplayCard",Ui.propTypes={icon:l().string,iconColor:l().string,iconSize:l().number,title:l().string.isRequired,tooltip:l().string,showSettings:l().bool,showSettingsIcon:l().string,onSettingsClick:l().func,children:l().node,className:l().string,isFeaturePro:l().bool,isFeatureDisabled:l().bool,bannerDescription:l().string,bannerLearnMoreText:l().string,bannerActionText:l().string,onBannerLearnMore:l().func,onBannerAction:l().func};var Gi=["data","className","onActionClick"];function Wi(){return Wi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wi.apply(null,arguments)}var qi="wpmudev-pricing-table",$i=function(e,t){return[qi,"".concat(qi,"--").concat(e.variant||"default"),e.recommended&&"".concat(qi,"--recommended"),t].filter(Boolean).join(" ")},Ki=function(e){var t=e.planName;return t?a.createElement("div",{className:"".concat(qi,"__header")},a.createElement("div",{className:"".concat(qi,"__plan-name ")},a.createElement(Hi.H1,{size:"32",weight:"normal"},t))):null},Xi=function(e){var t=e.features;return null!=t&&t.length?a.createElement("div",{className:"".concat(qi,"__features")},a.createElement("ul",{className:"".concat(qi,"__features-list")},t.map(function(e,t){return a.createElement("li",{key:t,className:"".concat(qi,"__feature-item")},a.createElement(gn,{name:"Check",size:"16"}),a.createElement("span",{className:"".concat(qi,"__feature-text")},e))}))):null},Ji=function(e){var t=e.features;return null!=t&&t.length?a.createElement("div",{className:"".concat(qi,"__pro-features")},a.createElement("ul",{className:"".concat(qi,"__features-list")},t.map(function(e,t){return a.createElement("li",{key:t,className:"".concat(qi,"__feature-item")},a.createElement(gn,{color:"#ccc",name:"Minus"}),a.createElement("span",{className:"".concat(qi,"__feature-text")},e))}))):null},Yi=function(e){var t=e.buttonText,n=e.buttonVariant,r=void 0===n?"primary":n,o=e.buttonSize,i=void 0===o?"lg":o,l=e.buttonDisabled,c=e.onClick;return t?a.createElement("div",{className:"".concat(qi,"__action")},a.createElement(jn,{variant:r,size:i,onClick:c,disabled:l,className:"".concat(qi,"__action-button")},t)):null},Qi=function(e){var t=e.footer;if(!t)return null;var n=t.icon,r=t.title,o=t.subtitle;return a.createElement("div",{className:"".concat(qi,"__footer")},n&&a.createElement("span",{className:"".concat(qi,"__footer-icon")},n),a.createElement("div",{className:"".concat(qi,"__footer-content")},r&&a.createElement("div",{className:"".concat(qi,"__footer-title")},r),o&&a.createElement("div",{className:"".concat(qi,"__footer-subtitle")},o)))},el=function(e){var t=e.data,n=e.className,r=void 0===n?"":n,o=e.onActionClick,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Gi),l=t.planName,c=t.variant,s=t.buttonText,u=t.buttonVariant,m=t.buttonSize,f=t.buttonDisabled,p=t.features,d=t.proFeatures,v=t.footer;return a.createElement("div",Wi({className:$i(t,r)},i),a.createElement(P.Column,{className:"".concat(qi,"__header-section ").concat(qi,"__header-section--").concat(c||"default")},a.createElement(Ki,{planName:l})),a.createElement("div",{className:"".concat(qi,"__body-section")},a.createElement(Xi,{features:p}),d&&a.createElement(Ji,{features:d}),a.createElement(Yi,{buttonText:s,buttonVariant:u,buttonSize:m,buttonDisabled:f,onClick:function(){return null==o?void 0:o(t)}})),a.createElement(Qi,{footer:v}))};el.propTypes={data:l().shape({variant:l().string,recommended:l().bool,planName:l().string,buttonText:l().oneOfType([l().string,l().node]),buttonVariant:l().oneOf(["primary","secondary","ghost","purple","black"]),buttonSize:l().oneOf(["sm","md","lg"]),buttonDisabled:l().bool,features:l().array,proFeatures:l().array,footer:l().shape({icon:l().node,title:l().string,subtitle:l().string})}).isRequired,className:l().string,onActionClick:l().func};var tl=el,nl=["children","className"];function rl(){return rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rl.apply(null,arguments)}var ol=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nl),i=["wpmudev-pricing-table-container",r].filter(Boolean).join(" ");return a.createElement("div",rl({className:i},o),t)};ol.propTypes={children:l().node.isRequired,className:l().string},ol.displayName="PricingTableContainer";var al=ol,il=["checked","onChange","disabled","className","ref"];function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ll.apply(null,arguments)}var cl=function(e){var t=e.checked,n=void 0!==t&&t,r=e.onChange,o=e.disabled,i=void 0!==o&&o,l=e.className,c=void 0===l?"":l,s=e.ref,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,il),m="wpmudev-toggle",f=["".concat(m,"__switch"),n&&"".concat(m,"__switch--checked"),c].filter(Boolean).join(" "),p=function(){!i&&r&&r(!n)};return a.createElement("button",ll({ref:s,type:"button",role:"switch","aria-checked":n,className:f,onClick:function(e){e.stopPropagation(),p()},onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),p())},disabled:i},u),a.createElement("span",{className:"".concat(m,"__slider")},a.createElement("span",{className:"".concat(m,"__thumb")})))};cl.displayName="Toggle",cl.propTypes={checked:l().bool,onChange:l().func,disabled:l().bool,className:l().string,ref:l().oneOfType([l().func,l().shape({current:l().any})])};var sl=["checked","onChange","disabled","value","name","className","children","ref"];function ul(){return ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ul.apply(null,arguments)}var ml=function(e){var t=e.checked,n=void 0!==t&&t,r=e.onChange,o=e.disabled,i=void 0!==o&&o,l=e.value,c=e.name,s=e.className,u=void 0===s?"":s,m=e.children,f=e.ref,p=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,sl),d="wpmudev-radio",v=[d,n&&"".concat(d,"--checked"),i&&"".concat(d,"--disabled"),u].filter(Boolean).join(" ");return a.createElement("label",{className:v},a.createElement("input",ul({ref:f,type:"radio",name:c,value:l,checked:n,onChange:function(e){!i&&r&&r(e.target.checked,l)},disabled:i,className:"".concat(d,"__input")},p)),a.createElement("span",{className:"".concat(d,"__indicator")},a.createElement("span",{className:"".concat(d,"__indicator-inner")})),m&&a.createElement("span",{className:"".concat(d,"__label")},m))};ml.displayName="Radio",ml.propTypes={checked:l().bool,onChange:l().func,disabled:l().bool,value:l().string,name:l().string,className:l().string,children:l().node,ref:l().oneOfType([l().func,l().shape({current:l().any})])};var fl=n(961),pl=["value","max","label","onClose","showSpinner","showCloseButton","onResume","paused","className","disabled","variant","showBackgroundNote","backgroundNoteMessage","loading","floatBottom","stopButtonLabel","closeTabIndex","ref"];function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dl.apply(null,arguments)}function vl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hl(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Cl=function(e){var t=e.value,n=void 0===t?0:t,r=e.max,o=void 0===r?100:r,i=e.label,l=void 0===i?(0,Zn.__)("Scanning","wp-smushit"):i,c=e.onClose,s=e.showSpinner,u=void 0!==s&&s,m=e.showCloseButton,f=void 0===m||m,p=e.onResume,d=e.paused,v=void 0!==d&&d,h=e.className,C=void 0===h?"":h,g=e.disabled,b=void 0!==g&&g,y=e.variant,w=void 0===y?"default":y,_=e.showBackgroundNote,E=void 0!==_&&_,O=e.backgroundNoteMessage,S=void 0===O?null:O,j=e.loading,N=void 0!==j&&j,P=e.floatBottom,x=e.stopButtonLabel,k=void 0===x?null:x,A=e.closeTabIndex,L=e.ref,T=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,pl),M=o?Math.min(Math.max(n/o*100,0),100):0,I="wpmudev-progress-bar",z=(0,a.useRef)(-1),H=(0,a.useRef)(),B=(0,a.useRef)(),D=(0,a.useRef)(),V=vl((0,a.useState)(0),2),Z=V[0],F=V[1],R=vl((0,a.useState)(N),2),U=R[0],G=R[1],W=(0,a.useRef)(N),q=(0,a.useRef)(!1),$=(0,a.useRef)(N),K=vl((0,a.useState)(!1),2),X=K[0],J=K[1],Y=vl((0,a.useState)(0),2),Q=Y[0],ee=Y[1];(0,a.useEffect)(function(){if(!W.current&&(M||0===M)){Date.now();var e,t=z.current;if(M!==t){if(H.current&&H.current.style.setProperty("--progress-transition-duration","1.2s"),z.current=M,-1===t)return void F(M);if(M<=0)return void F(0);e=setInterval(function(){F(function(t){return t>=M?(clearInterval(e),M):Math.min(t+1,M)})},1200/M)}return function(){e&&clearInterval(e)}}},[M,Q]),(0,a.useEffect)(function(){if("floating"===w)return document.body.classList.add("wpmudev-has-floating-progress-bar"),function(){return document.body.classList.remove("wpmudev-has-floating-progress-bar")}},[w]),(0,a.useEffect)(function(){B.current&&B.current.style.setProperty("--wpmudev-progress-bar-full-width",B.current.parentNode.offsetWidth+"px")},[]),(0,a.useEffect)(function(){var e=$.current;$.current=N,e&&!N?q.current=!0:!e&&N&&(q.current=!1,W.current=!0,G(!0))},[N]),(0,a.useEffect)(function(){var e=D.current;if(e){var t=function(e){q.current&&"wpmudev-progress-rtl"===e.animationName&&(q.current=!1,W.current=!1,G(!1),H.current&&H.current.style.setProperty("--progress-transition-duration","1.2s"),F(0),z.current=0,ee(function(e){return e+1}))};return e.addEventListener("animationiteration",t),function(){return e.removeEventListener("animationiteration",t)}}},[]),(0,a.useEffect)(function(){J(!!E)},[E]);var te=["".concat(I,"-pill"),v&&"".concat(I,"-pill--paused"),w&&"".concat(I,"-pill--").concat(w),X&&"".concat(I,"-pill--with-note"),U&&"".concat(I,"-pill--loading"),C].filter(Boolean).join(" "),ne=a.createElement("div",dl({ref:function(e){"function"==typeof L?L(e):L&&(L.current=e),H.current=e},className:te},T),a.createElement("div",{className:"".concat(I,"-pill__content")},u&&a.createElement("div",{className:"".concat(I,"-pill__spinner")},v?a.createElement("button",{style:{width:"14px",height:"14px"},onClick:p},a.createElement(gn,{name:"Play",color:"var( --wpmudev-text-primary, #1a1a1a )",size:"14"})):a.createElement(gn,{name:"Spinner",spin:!N,size:"16"})),a.createElement("div",{className:"".concat(I,"-pill__wrapper")},l?a.createElement(a.Fragment,null,a.createElement("div",{className:"".concat(I,"-pill__label")},a.createElement(Hi.Span,{size:"14",weight:"normal",lineHeight:"16px"},l),a.createElement("span",null,Math.round(Z),"%")),a.createElement("div",{ref:D,className:"".concat(I,"-pill__bar")},a.createElement("div",{className:"".concat(I,"-pill__bar-inner")},a.createElement("div",{ref:B,className:"".concat(I,"-pill__fill"),style:{width:"".concat(U?0:M,"%")},role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":o})))):a.createElement("div",{className:"".concat(I,"-pill__wrapper--no-label")},a.createElement("div",{ref:D,className:"".concat(I,"-pill__bar")},a.createElement("div",{className:"".concat(I,"-pill__bar-inner")},a.createElement("div",{ref:B,className:"".concat(I,"-pill__fill"),style:{width:"".concat(U?0:M,"%")},role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":o}))),a.createElement("span",{className:"".concat(I,"-pill__percent")},Math.round(Z),"%"))),f&&c&&(k?a.createElement("button",{className:"".concat(I,"-pill__close ").concat(I,"-pill__close--label"),onClick:c,"aria-label":k,disabled:b,tabIndex:A,type:"button"},k):a.createElement(Ms.Basic,{content:(0,Zn.__)("Stop","wp-smushit"),placement:"top-center",width:"60px",className:"".concat(I,"-pill__tooltip-close"),style:{"--wpmudev-tooltip-padding":"4px 10px"}},a.createElement("button",{className:"".concat(I,"-pill__close"),onClick:c,"aria-label":(0,Zn.__)("Stop","wp-smushit"),disabled:b,tabIndex:A,type:"button"},a.createElement(gn,{name:"Close",size:16}))))),X&&a.createElement("div",{className:"".concat(I,"-pill__note")},a.createElement(Hi.Span,{size:"xs",lineHeight:"18px"},S||(0,Zn.__)("Processing continues in the background.","wp-smushit"))));if("floating"===w&&"undefined"!=typeof document){var re=document.getElementById("wpmudev-ui-root")||document.body,oe=null==C?void 0:C.split(" ").filter(Boolean).pop(),ae=["".concat(I,"-pill__float-wrapper"),oe&&"".concat(oe,"-pill__float-wrapper")].filter(Boolean).join(" ");return(0,fl.createPortal)(a.createElement("div",{className:ae,style:P?{bottom:P}:{}},ne),re)}return ne};Cl.displayName="ProgressBar",Cl.propTypes={value:l().number,max:l().number,label:l().string,onClose:l().func,showSpinner:l().bool,showCloseButton:l().bool,paused:l().bool,onResume:l().func,disabled:l().bool,className:l().string,variant:l().oneOf(["default","floating","inline"]),showBackgroundNote:l().bool,backgroundNoteMessage:l().string,floatBottom:l().string,stopButtonLabel:l().string,closeTabIndex:l().number};var gl=["label","value","description","icon","variant","size","className"];function bl(){return bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bl.apply(null,arguments)}var yl=a.forwardRef(function(e,t){var n=e.label,r=e.value,o=e.description,i=e.icon,l=e.variant,c=void 0===l?"default":l,s=e.size,u=void 0===s?"md":s,m=e.className,f=void 0===m?"":m,p=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,gl),d="wpmudev-stats",v=[d,"".concat(d,"--").concat(c),"".concat(d,"--").concat(u),f].filter(Boolean).join(" ");return a.createElement("div",bl({ref:t,className:v},p),i&&a.createElement("div",{className:"".concat(d,"__icon")},i),a.createElement("div",{className:"".concat(d,"__content")},a.createElement("div",{className:"".concat(d,"__label")},n),a.createElement("div",{className:"".concat(d,"__value")},r),o&&a.createElement("div",{className:"".concat(d,"__description")},o)))});yl.displayName="Stats",yl.propTypes={label:l().node.isRequired,value:l().node.isRequired,description:l().node,icon:l().node,variant:l().oneOf(["default","primary","success","warning","error"]),size:l().oneOf(["sm","md","lg"]),className:l().string};function wl(e){return function(e){if(Array.isArray(e))return Ol(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||El(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||El(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function El(e,t){if(e){if("string"==typeof e)return Ol(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ol(e,t):void 0}}function Ol(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Sl(e){var t=(0,a.useRef)(null),n=_l((0,a.useState)(null),2),r=n[0],o=n[1],i=(0,a.useCallback)(function(e){t.current=e,o(e)},[]),l=(0,a.useMemo)(function(){return wl(e).sort(function(e,t){return t.threshold-e.threshold})},[e]),c=(0,a.useMemo)(function(){return l.map(function(e){return e.levelKey})},[l]),s=_l((0,a.useState)(c[0]),2),u=s[0],m=s[1],f=_l((0,a.useState)(!1),2),p=f[0],d=f[1];!function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).selector,t=void 0===e?"#wpmudev-page-header":e;(0,a.useEffect)(function(){if("undefined"!=typeof window&&"undefined"!=typeof document){var e=0,n=function(){e=0;var n=document.querySelector(t);if(n){var r=n.getBoundingClientRect(),o=(r.top||0)+(r.height||0);document.documentElement.style.setProperty("--wpmudev-header-total-height","".concat(o,"px")),document.documentElement.style.setProperty("--wpmudev-header-height","".concat(r.height||61,"px"))}},r=function(){e||(e=window.requestAnimationFrame(n))};return r(),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),function(){window.removeEventListener("scroll",r),window.removeEventListener("resize",r),e&&window.cancelAnimationFrame(e)}}},[t])}(),(0,a.useEffect)(function(){function e(e){for(var t=e.target.querySelector(".smush-sidenav-main-container__main"),n=t||e.target,r=getComputedStyle(n),o=parseFloat(r.paddingLeft)||0,a=parseFloat(r.paddingRight)||0,i=n.clientWidth-o-a,c=!1,s=0;s<l.length;s++)if(i>=l[s].threshold){m(l[s].levelKey),c=!0;break}c||m(l[l.length-1].levelKey)}var n=function(e){var n=(null==e?void 0:e.target)||t.current;if(n){document.documentElement.style.removeProperty("--wpmudev-admin-menu-height"),document.documentElement.style.removeProperty("--wpmudev-visible-container-height");var r=n.offsetHeight,o=(n.getBoundingClientRect(),document.getElementById("wpadminbar")),a=o?o.offsetHeight:0,i=document.getElementById("adminmenuwrap")||document.getElementById("adminmenu"),l=i?Math.max(i.scrollHeight,i.offsetHeight,i.clientHeight):0,c=Math.max(window.innerHeight,a+l);document.documentElement.style.setProperty("--wpmudev-admin-menu-height","".concat(l,"px")),document.documentElement.style.setProperty("--wpmudev-visible-container-height","".concat(r,"px"));var s=0,u=document.getElementById("wpmudev-footer");u&&(s=u.offsetHeight,u.style.setProperty("margin-top",Math.max(0,c-totalHeaderHeight-r-s)+"px")),d(!0)}},o=new ResizeObserver(function(t){var r,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=El(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;e(a),n(a)}}catch(e){o.e(e)}finally{o.f()}});return r&&o.observe(r),function(){return o.disconnect()}},[r,l]);var v=c.indexOf(u);return[i,c.slice(0,v+1),p]}function jl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Nl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nl(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Pl=["title","description","icon","placement","toastActions","className"],xl=["title","description","onSmush","primaryLabel","secondaryLabel","icon","placement"];function kl(e){return kl="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},kl(e)}function Al(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ll(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 Tl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ll(Object(n),!0).forEach(function(t){Ml(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ll(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ml(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=kl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=kl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==kl(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Il="wpmudev-toast",zl=function(){var e=qr().setToast,t=function(){e(function(e){return Tl(Tl({},e),{},{open:!1,info:null,autoClose:!0,background:void 0,width:void 0,className:""})})},n=function(e){var n=e.title,r=e.description,o=e.icon,i=e.placement,l=void 0===i?"top-right":i,c=e.toastActions,s=e.className,u=Al(e,Pl),m=o||a.createElement(op,null),f=null;if(a.isValidElement(c))f=c;else{var p=c||{},d=p.onSmush,v=p.primaryLabel,h=void 0===v?(0,Zn.__)("Optimize Images","wp-smushit"):v,C=p.secondaryLabel,g=void 0===C?(0,Zn.__)("Not now","wp-smushit"):C;f=a.createElement(P,{className:"".concat(Il,"__actions"),align:"center",justify:"start"},a.createElement(jn,{variant:"ghost",size:"sm",className:"".concat(Il,"__button ").concat(Il,"__button--ghost"),onClick:t},g),a.createElement(jn,{variant:"black",size:"sm",className:"".concat(Il,"__button ").concat(Il,"__button--primary"),onClick:function(){null==d||d(),t()}},h))}return Tl({open:!0,autoClose:!1,placement:l,className:[Il,s].filter(Boolean).join(" "),info:{icon:m,title:n,description:r,actions:f,closable:!1}},u)};return n.PropTypes={title:l().string.isRequired,description:l().oneOf([l().string.isRequired,l().node]),icon:l().element,placement:l().string,toastActions:l().oneOfType([l().node,l().shape({onSmush:l().func,primaryLabel:l().string,secondaryLabel:l().string})]),className:l().string},{showSmushToast:function(t){var r=t.title,o=t.description,a=t.onSmush,i=t.primaryLabel,l=void 0===i?(0,Zn.__)("Optimize Images","wp-smushit"):i,c=t.secondaryLabel,s=void 0===c?(0,Zn.__)("Not now","wp-smushit"):c,u=t.icon,m=t.placement,f=Al(t,xl),p=n(Tl({title:r,description:o,icon:u,placement:m,toastActions:{onSmush:a,primaryLabel:l,secondaryLabel:s}},f));e(function(e){return Tl(Tl({},e),p)})},closeSmushToast:t,buildSmushToast:n}},Hl=zl;function Bl(e){return Bl="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},Bl(e)}function Dl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vl(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Zl(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 Fl(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Bl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Bl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bl(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rl=function(){var e,t=(null===(e=window)||void 0===e||null===(e=e.smushUIData)||void 0===e?void 0:e.whiteLabel)||{};return{whitelabelEnabled:!!t.whitelabelEnabled,hideProTag:!!t.hideProTag,customPluginIconUrl:t.customPluginIconUrl||"",customPluginIconClass:t.customPluginIconClass||"",customPluginName:t.customPluginName||"",customMadeBy:t.customMadeBy||"",hideBranding:!!t.hideBranding,hideDocLink:!!t.hideDocLink,removeBrandingFromText:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.whitelabelEnabled&&e?(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zl(Object(n),!0).forEach(function(t){Fl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({"Smush CDN":"CDN","WPMU DEV CDN":"CDN",Smush:t.customPluginName||"Smush"},n),Object.entries(n).reduce(function(e,t){var n=Dl(t,2),r=n[0],o=n[1];return e.split(r).join(o)},String(e))):e},getWhitelabelText:function(e,n){return t.whitelabelEnabled?n:e},hasCustomPluginIcon:function(){return!!t.whitelabelEnabled&&!!t.customPluginIconUrl},isPluginIconHidden:function(){return!!t.whitelabelEnabled&&null===t.customPluginIconUrl},hasDashiconPluginIcon:function(){return!!t.whitelabelEnabled&&!!t.customPluginIconClass}}};function Ul(e){return Ul="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},Ul(e)}function Gl(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 Wl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gl(Object(n),!0).forEach(function(t){ql(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ql(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Ul(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ul(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ul(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $l="wpmudev-toast",Kl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.isEnabled,n=e.featureName,r=e.onTurnOn,o=e.icon,i=void 0===o?"Refresh":o,l=e.iconSize,c=void 0===l?16:l,s=e.iconColor,u=void 0===s?"#F6FDFD":s,m=e.description,f=e.delay,p=void 0===f?1e4:f,d=qr().setToast,v=(0,a.useRef)(!1),h=function(){d(function(e){return Wl(Wl({},e),{},{open:!1,info:null,autoClose:!1,className:""})})},C=function(){var e=Wl({featureName:n,onTurnOn:r,icon:i,iconSize:c,iconColor:u,description:m,autoClose:!0},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),t=a.createElement(P,{className:"".concat($l,"__actions"),align:"center",justify:"start"},a.createElement(jn,{variant:"ghost",size:"sm",className:"".concat($l,"__button ").concat($l,"__button--ghost"),onClick:h},(0,Zn.__)("Not now","wp-smushit")),a.createElement(jn,{variant:"black",size:"sm",className:"".concat($l,"__button ").concat($l,"__button--primary"),onClick:function(){var t;h(),null===(t=e.onTurnOn)||void 0===t||t.call(e)}},(0,Zn.__)("Turn on","wp-smushit")));d(function(n){var r;return Wl(Wl({},n),{},{open:!0,autoClose:e.autoClose,placement:n.placement||"bottom-right",className:$l,info:{icon:a.createElement(gn,{name:e.icon,size:e.iconSize,color:e.iconColor}),title:(0,Zn.sprintf)((0,Zn.__)("%s is Off","wp-smushit"),e.featureName),description:null!==(r=e.description)&&void 0!==r?r:(0,Zn.sprintf)((0,Zn.__)("%s has been deactivated.","wp-smushit"),e.featureName),actions:t,closable:!1}})})};return(0,a.useEffect)(function(){if(!1===t&&!v.current){var e=setTimeout(function(){v.current=!0,C({autoClose:!1})},p);return function(){return clearTimeout(e)}}},[t]),{showFeatureToggleToast:C,closeFeatureToggleToast:h}};var Xl=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,a.useEffect)(function(){if(e&&n&&t){var r=function(e){"Escape"===e.key&&t(e)};return document.addEventListener("keydown",r),function(){document.removeEventListener("keydown",r)}}},[e,n,t])},Jl=function(e){Pr(lr,e?"1":"0")},Yl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;(0,a.useEffect)(function(){if((e.includes("--centered-content")||e.includes("--left-aligned-content")||e.includes("directory-smush-page"))&&"function"==typeof t&&"function"==typeof n){var r=function(){if(!(window.innerWidth<1800)){var e,r=null===(e=Nr(lr))?null:"1"===e;r?t():!1===r&&n()}};return r(),window.addEventListener("resize",r),function(){window.removeEventListener("resize",r)}}},[e,t,n])};function Ql(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return ec(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ec(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,ec(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,ec(m,"constructor",s),ec(s,"constructor",c),c.displayName="GeneratorFunction",ec(s,o,"GeneratorFunction"),ec(m),ec(m,o,"Generator"),ec(m,r,function(){return this}),ec(m,"toString",function(){return"[object Generator]"}),(Ql=function(){return{w:a,m:f}})()}function ec(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ec=function(e,t,n,r){function a(t,n){ec(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},ec(e,t,n,r)}function tc(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function nc(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){tc(a,r,o,i,l,"next",e)}function l(e){tc(a,r,o,i,l,"throw",e)}i(void 0)})}}function rc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ac(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:300,o=arguments.length>4?arguments[4]:void 0,i=rc((0,a.useState)(!1),2),l=i[0],c=i[1],s=rc((0,a.useState)(!1),2),u=s[0],m=s[1],f=rc((0,a.useState)(e),2),p=f[0],d=f[1],v=(0,a.useRef)(null),h=(0,a.useCallback)(function(){v.current&&(clearTimeout(v.current),v.current=null)},[]);(0,a.useEffect)(function(){if(e)return h(),p||d(!0),void(u&&m(!1));p&&!v.current&&(u||m(!0),v.current=setTimeout(function(){d(!1),m(!1),v.current=null},r))},[e,p,r,u,h]),(0,a.useEffect)(function(){return function(){h()}},[h]);var C=(0,a.useCallback)(nc(Ql().m(function e(){return Ql().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!u&&!l){e.n=1;break}return e.a(2);case 1:if(c(!0),e.p=2,"function"!=typeof o){e.n=3;break}return e.n=3,Promise.resolve(o());case 3:e.n=5;break;case 4:return e.p=4,e.v,c(!1),e.a(2);case 5:c(!1),m(!0),t&&t();case 6:return e.a(2)}},e,null,[[2,4]])})),[t,u,l,o]);return Xl(p,C,n),{pending:l,closing:u,shouldRender:p,handleClose:C}}var ic=n(7666);function lc(e){return lc="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},lc(e)}function cc(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return sc(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(sc(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,sc(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,sc(m,"constructor",s),sc(s,"constructor",c),c.displayName="GeneratorFunction",sc(s,o,"GeneratorFunction"),sc(m),sc(m,o,"Generator"),sc(m,r,function(){return this}),sc(m,"toString",function(){return"[object Generator]"}),(cc=function(){return{w:a,m:f}})()}function sc(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}sc=function(e,t,n,r){function a(t,n){sc(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},sc(e,t,n,r)}function uc(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function mc(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){uc(a,r,o,i,l,"next",e)}function l(e){uc(a,r,o,i,l,"throw",e)}i(void 0)})}}function fc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return pc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function dc(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 vc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dc(Object(n),!0).forEach(function(t){hc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hc(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=lc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=lc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==lc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(){var e=(null==ya?void 0:ya())||{},t=e.globalStats,n=(void 0===t?{}:t).remainingCount,r=e.startPollingGlobalStats,o=e.stopPollingGlobalStats,i=((null==fa?void 0:fa())||{}).startScan,l=((null==ea?void 0:ea())||{}).startBulkSmush,c=ai().setOpenHubConnectInfoModal,s=fc(Ja("lossy"),1)[0],u=zl().showSmushToast,m=(0,a.useRef)(parseInt(n,10)||0);(0,a.useEffect)(function(){m.current=parseInt(n,10)||0},[n]);var f=function(){return{onCompleted:function(){},onCancelled:function(){},onDead:function(){u({title:(0,Zn.__)("Bulk Smush Failed","wp-smushit"),description:(0,Zn.__)("The bulk smush process has encountered an error.","wp-smushit")})},onFinished:function(){"function"==typeof o&&o()}}},p=function(){var e=mc(cc().m(function e(){var t,n,a,i;return cc().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!wr(s)){e.n=1;break}return c(!0,"smush_dashboard_super_connect_create_account"),e.a(2);case 1:if(0!==(m.current||0)){e.n=2;break}return null==h||h(),e.a(2);case 2:return"function"==typeof r&&r(),e.p=3,e.n=4,null==l?void 0:l(f());case 4:t=e.v,e.n=6;break;case 5:return e.p=5,i=e.v,"hub_access_required"===((null==i||null===(n=i.responseJSON)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.error)||(null==i||null===(a=i.data)||void 0===a?void 0:a.error)||null)&&c(!0,"smush_dashboard_super_connect_create_account"),"function"==typeof o&&o(),e.a(2,i);case 6:return e.a(2,t)}},e,null,[[3,5]])}));return function(){return e.apply(this,arguments)}}(),d=function(){var e=mc(cc().m(function e(t){var n;return cc().w(function(e){for(;;)switch(e.n){case 0:return"function"==typeof r&&r(),n="function"==typeof t?t:function(){var e=m.current,t=(0,ic.A)((0,Zn.sprintf)((0,Zn._n)("You have <number>%d</number> image ready to optimize.","You have <number>%d</number> images ready to optimize.",e,"wp-smushit"),e),{number:a.createElement("strong",null)});e>0?u({title:(0,Zn.__)("Scan Complete","wp-smushit"),description:t,onSmush:p,icon:a.createElement(gn,{name:"ScanSite",size:16,color:"#F6FDFD"})}):null==h||h()},e.n=1,null==i?void 0:i({onCompleted:function(e){"function"==typeof o&&o(),n(e)},onCancelled:function(){u({title:(0,Zn.__)("Scan Cancelled","wp-smushit"),description:(0,Zn.__)("The scan has been cancelled.","wp-smushit"),icon:a.createElement(gn,{name:"ScanSite",size:16,color:"#F6FDFD"})})},onDead:function(){u({title:(0,Zn.__)("Scan Failed","wp-smushit"),description:(0,Zn.__)("The scan has failed.","wp-smushit"),icon:a.createElement(gn,{name:"ScanSite",size:16,color:"#F6FDFD"})})},onFinished:function(){}});case 1:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}(),v=function(e){var t=qr().setToast,n=zl().showSmushToast,r=function(){t(function(e){return vc(vc({},e),{},{open:!1})})};return{showNothingToSmushToast:function(){var t=a.createElement("div",{className:"wpmudev-toast__actions"},a.createElement(jn,{variant:"transparent",size:"md",onClick:function(){r(),"function"==typeof e&&e()}},a.createElement(Hi,{size:"xs",weight:"bold"},(0,Zn.__)("Rescan site","wp-smushit"))),a.createElement(jn,{variant:"transparent",size:"md",onClick:r},a.createElement(Hi,{size:"xs",weight:"bold"},(0,Zn.__)("OK","wp-smushit"))));n({title:(0,Zn.__)("Nothing to Optimize","wp-smushit"),description:(0,Zn.__)("Everything looks good—no images to optimize.","wp-smushit"),toastActions:t,icon:a.createElement(op,null)})}}}(d),h=v.showNothingToSmushToast,C=function(){var e=mc(cc().m(function e(){return cc().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,d(function(){p()});case 1:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}();return{scanAndStartBulkSmush:C,startScanWrapper:d,startBulkSmushWrapper:p,showNothingToSmushToast:h,getBulkSmushCallbacks:f}}var gc=["imagesOptimized","optimizationScore","savingsBytes","savingsPercentage","remainingCount","variant","remainingCountDirection","imagesOptimizedDirection","isScanInProgress","disableScanOverlay","className"];function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bc.apply(null,arguments)}var yc=100,wc=50,_c=30,Ec=function(e){var t,n=e.imagesOptimized,r=void 0===n?0:n,o=e.optimizationScore,i=void 0===o?0:o,l=e.savingsBytes,c=void 0===l?0:l,s=(e.savingsPercentage,e.remainingCount),u=void 0===s?0:s,m=e.variant,f=void 0===m?"default":m,p=e.remainingCountDirection,d=e.imagesOptimizedDirection,v=(e.isScanInProgress,e.disableScanOverlay,e.className),h=void 0===v?"":v,C=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,gc),g="wpmudev-stats-card",b=Rl().removeBrandingFromText,y=(t=i)>=yc?{text:"Excellent",variant:"excellent"}:t>=wc?{text:"Good",variant:"good"}:t>=_c?{text:"Poor",variant:"poor"}:{text:"Bad",variant:"bad"},w=function(e){if(!e)return{value:0,unit:"MB"};if(!e)return{value:0,unit:"MB"};var t=Math.floor(Math.log(e)/Math.log(1024)),n=e/Math.pow(1024,t);return{value:t>=2?(Number(n)||0).toFixed(1):Math.round(n),unit:["B","KB","MB","GB"][t]}}(c),_=[g,"".concat(g,"--").concat(f),h].filter(Boolean).join(" ");return a.createElement("div",bc({className:_},C),a.createElement("div",{className:"".concat(g,"__header-section")},a.createElement("div",{className:"".concat(g,"__header")},a.createElement(Hi.Heading,{className:"".concat(g,"__title")},b((0,Zn.__)("Smush Savings","wp-smushit")))),a.createElement("div",{className:"".concat(g,"__score")},a.createElement("div",{className:"".concat(g,"__score-row")},a.createElement("div",{className:"".concat(g,"__score-value")},a.createElement("span",{className:"".concat(g,"__savings")},a.createElement(tp,{size:"32px",style:{gap:0,alignItems:"baseline"}},w.value,a.createElement(Hi,{size:"18px"},w.unit))))),a.createElement("div",{className:"".concat(g,"__progress ").concat(g,"__progress--").concat(y.variant),role:"progressbar","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},a.createElement("div",{className:"".concat(g,"__progress-fill ").concat(g,"__progress-fill--").concat(y.variant),style:{width:"".concat(i,"%")}})))),a.createElement("div",{className:"".concat(g,"__stats")},a.createElement("div",{className:"".concat(g,"__stat")},a.createElement("div",{className:"".concat(g,"__stat-label")},(0,Zn.__)("Images to optimize","wp-smushit"),"split"===f&&a.createElement(Ms.Basic,{content:(0,Zn.__)("The total amount of space saved by optimizing your images.","wp-smushit")},a.createElement(gn,{name:"QuestionCircle",size:14,color:"#777"}))),a.createElement("div",{className:"".concat(g,"__stat-value")},a.createElement(tp,{variant:u>0?"primary":"secondary"},nr(u),p&&a.createElement(gn,{name:"Spinner",size:"12"})))),a.createElement("div",{className:"".concat(g,"__stat")},a.createElement("div",{className:"".concat(g,"__stat-label")},(0,Zn.__)("Images optimized","wp-smushit")),a.createElement("div",{className:"".concat(g,"__stat-value")},a.createElement(tp,{variant:r>0||d?"secondary":"empty"},nr(r),d&&a.createElement(gn,{name:"Spinner",size:"12"}))))))};Ec.displayName="StatsCard",Ec.propTypes={imagesOptimized:l().number,optimizationScore:l().number,savingsBytes:l().number,savingsPercentage:l().number,remainingCount:l().number,variant:l().oneOf(["default","split"]),className:l().string,isScanInProgress:l().bool,remainingCountDirection:l().oneOf(["up","down"]),imagesOptimizedDirection:l().oneOf(["up","down"]),disableScanOverlay:l().bool};n.p;var Oc=["className","lossySetting","handleCompressionLevelChange"];function Sc(e){return Sc="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},Sc(e)}function jc(){return jc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jc.apply(null,arguments)}function Nc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xc(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Sc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Sc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kc=xc(xc(xc({},0,{memberOnly:!1,label:(0,Zn.__)("Basic","wp-smushit"),iconName:"BasicCompression",iconSize:16,tooltip:(0,Zn.__)("Achieve flawless, lossless compression for pixel-perfect images. Minimal file size reduction, negligible impact on speed.","wp-smushit"),description:(0,Zn.__)("1X compression","wp-smushit")}),1,{memberOnly:!1,label:(0,Zn.__)("Super","wp-smushit"),iconName:"SuperCompression",iconSize:16,tooltip:(0,Zn.__)("Harness the power of lossy compression for substantial file size reduction with excellent image clarity. Accelerate page loads for better performance.","wp-smushit"),description:(0,Zn.__)("2X compression","wp-smushit")}),2,{memberOnly:!0,label:(0,Zn.__)("Ultra","wp-smushit"),iconName:"UltraCompression",iconSize:16,tooltip:(0,Zn.__)("Compress images up to 5× more than Super, with minimal quality loss. Best for maximizing page speed and reducing bandwidth.","wp-smushit"),description:(0,Zn.__)("5X compression","wp-smushit")}),Ac=function(e){var t=e.className,n=void 0===t?"":t,r=e.lossySetting,o=e.handleCompressionLevelChange,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Oc),l="wpmudev-bulk-smush-status",c=["".concat(l,"__setting-levels"),n].filter(Boolean).join(" "),s=ai().setOpenHubConnectInfoModal,u=Hl(),m=u.showSmushToast,f=u.closeSmushToast;return a.createElement(g,jc({className:c,gap:"2-5",responsive:!1,columns:"repeat(3, 1fr)"},i),Object.entries(kc).map(function(e){var t=Nc(e,2),n=t[0],i=t[1],c=i.memberOnly&&yr(),u=["".concat(l,"__setting-level"),"2"===n&&"".concat(l,"__setting-level--ultra"),r==n&&"".concat(l,"__setting-level--active"),c&&"".concat(l,"__setting-level--disabled")].filter(Boolean).join(" ");return a.createElement(Mf,{key:n,className:u,gap:"10px",direction:"row",align:"center",borderColor:"rgba(26, 26, 26, 0.15)",onClick:function(){return function(e,t){if(!wr(e)||!Cr||t)return o(e,t);gr?s(!0,"smush_subsite_control_connect_create_account"):m({title:(0,Zn.__)("Need Network Admin access","wp-smushit"),description:(0,Zn.__)("Contact your Network Admin to enable Super 2x Compression.","wp-smushit"),toastActions:a.createElement("div",{className:"wpmudev-toast__actions"},a.createElement(jn,{variant:"transparent",size:"md",onClick:f},a.createElement(Hi,{size:"xs"},(0,Zn.__)("OK","wp-smushit"))))})}(n,c)}},a.createElement(gn,{className:"".concat(l,"__setting-icon"),color:"var( --wpmudev-text-color, #1A1A1A )",name:i.iconName,size:i.iconSize}),a.createElement(P.Column,{gap:"0"},a.createElement(Hi,{className:"".concat(l,"__setting-label")},(0,Zn.__)(i.label,"wp-smushit"),c&&a.createElement(Ei,{style:{marginLeft:"-2px"}}),a.createElement(Ms.Basic,{placement:"bottom-right",content:i.tooltip,portal:!0},a.createElement(gn,{name:"Info",color:"var( --wpmudev-text-secondary, #666666 )",size:18}))),a.createElement(Mf.Description,null,i.description)))}))},Lc=["newImagesCount","lossySetting","backupEnabled","onSmushNow","onCompressionLevelChange","onBackupChange","isSmushing","processedImages","totalImages","onCancelSmush","starting","cancelling","isScanInProgress","variant","isSmushPaused","onResumeBulkSmush","disableScanOverlay","disableBulkSmush","smushLabel","className"];function Tc(){return Tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tc.apply(null,arguments)}function Mc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ic(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ic(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ic(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var zc=function(e){e.newImagesCount;var t=e.lossySetting,n=void 0===t?1:t,r=e.backupEnabled,o=void 0!==r&&r,i=e.onSmushNow,l=e.onCompressionLevelChange,c=e.onBackupChange,s=e.isSmushing,u=void 0!==s&&s,m=e.processedImages,f=void 0===m?0:m,p=e.totalImages,d=void 0===p?0:p,v=e.onCancelSmush,h=e.starting,C=void 0!==h&&h,g=e.cancelling,b=void 0!==g&&g,y=e.isScanInProgress,w=void 0!==y&&y,_=e.variant,E=void 0===_?"default":_,O=e.isSmushPaused,S=void 0!==O&&O,j=(e.onResumeBulkSmush,e.disableScanOverlay),N=void 0!==j&&j,P=e.disableBulkSmush,x=void 0!==P&&P,k=e.smushLabel,A=void 0===k?(0,Zn.__)("Optimize Images","wp-smushit"):k,L=e.className,T=void 0===L?"":L,M=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Lc),I=qr().setOpenProFeatures,z=ai(),H=(z.hubConnectorData,z.setOpenHubConnectInfoModal),B=Mc(Ja("backgroundEmail"),1)[0],D=Mc(Ja("original",!1),1)[0],V=Hl(),Z=V.showSmushToast,F=V.closeSmushToast,R="wpmudev-bulk-smush-status",U=u||S,G=B?(0,Zn.__)("Processing continues in the background. No need to wait, we'll email you when it's finished.","wp-smushit"):(0,Zn.__)("Processing continues in the background.","wp-smushit"),W=function(e){U||(c&&c(e),e&&!D&&Z({description:a.createElement(a.Fragment,null,a.createElement("strong",null,(0,Zn.__)("Optimize original images","wp-smushit")),(0,Zn.__)(" is disabled, which means that enabling ","wp-smushit"),a.createElement("strong",null,(0,Zn.__)("Backup original images","wp-smushit")),(0,Zn.__)(" won't yield additional benefits and will use more storage space. We recommend enabling ","wp-smushit"),a.createElement("strong",null,(0,Zn.__)("Backup original images","wp-smushit")),(0,Zn.__)(" only if ","wp-smushit"),a.createElement("strong",null,(0,Zn.__)("Optimize original images","wp-smushit")),(0,Zn.__)(" is also enabled.","wp-smushit")),toastActions:a.createElement("div",{className:"wpmudev-toast__actions"},a.createElement(jn,{variant:"transparent",size:"md",onClick:F},a.createElement(Hi,{size:"xs",weight:"bold"},(0,Zn.__)("Ok","wp-smushit"))))}))},q=(C||u||S)&&!N,$=!(S||!(C||u||b)),K=[R,"".concat(R,"--").concat(E),T,q&&!$&&"wpmudev-overlay-disabled"].filter(Boolean).join(" "),X=["".concat(R,"__header"),U?"".concat(R,"__settings--faded"):""].filter(Boolean).join(" "),J=["".concat(R,"__settings"),U?"".concat(R,"__settings--faded"):""].filter(Boolean).join(" ");return a.createElement("div",Tc({className:K},M),a.createElement("div",{className:$||w?"wpmudev-overlay-disabled":""},a.createElement("div",{className:X},a.createElement(Hi.Heading,null,a.createElement(gn,{name:"Compress",color:"var( wpmudev-text-color, #1A1A1A )",size:16}),(0,Zn.__)("Select compression","wp-smushit"))),a.createElement("div",{className:J},a.createElement(Ac,{lossySetting:n,handleCompressionLevelChange:function(e,t){if(!U){var r=parseInt(e,10);t?I(!0,"smush_dashboard_ultra"):Number(n)!==r&&l&&l(r)}}}))),a.createElement("div",{className:"".concat(R,"__status-transition ").concat($?"".concat(R,"__status-transition--progress"):"")},a.createElement("div",{className:"".concat(R,"__status-track")},a.createElement("div",{className:"".concat(R,"__status-panel ").concat(R,"__status-panel--settings")},a.createElement("div",{id:"smush-backup-setting-card",className:"".concat(R,"__setting-card ").concat($||w?"wpmudev-overlay-disabled":""),onClick:function(){return W(!o)},style:{cursor:"pointer"}},a.createElement("div",{className:"".concat(R,"__setting-header")},a.createElement(Hi,{className:"".concat(R,"__setting-label")},a.createElement(gn,{className:"".concat(R,"__setting-icon"),color:"var( --wpmudev-text-color, #1A1A1A )",name:"Backup",size:16}),a.createElement("span",{style:{lineHeight:1,marginRight:"-3px"}},(0,Zn.__)("Backup original images","wp-smushit")),a.createElement(Ms.Basic,{portal:!0,placement:"bottom-right",content:(0,Zn.__)("Keep a backup of your original images so you can restore them anytime. Be aware this will increase the size of your uploads folder.","wp-smushit")},a.createElement(gn,{name:"Info",color:"var( --wpmudev-text-secondary, #666666 )",size:18})))),a.createElement("div",{className:"".concat(R,"__setting-content")},a.createElement(cl,{checked:o,onChange:W,disabled:U}))),a.createElement("div",{className:"".concat(R,"__action")},a.createElement(jn,{className:w?"".concat(R,"__smush-button--scan-in-progress"):"",variant:"smush",size:"md",disabled:x,onClick:function(){F(),wr(n)?H(!0,"smush_dashboard_super_connect_create_account"):i&&i()}},a.createElement(op,null),a.createElement(Hi,{color:"var( --wpmudev-white )",weight:"700"},A)))),a.createElement("div",{className:"".concat(R,"__status-panel ").concat(R,"__status-panel--progress")},a.createElement(Cl,{className:"".concat(R,"__progress"),variant:"inline",value:f,max:d,label:(0,Zn.__)("Optimizing","wp-smushit"),onClose:v,showSpinner:!1,showCloseButton:!0,stopButtonLabel:(0,Zn.__)("Stop","wp-smushit"),showBackgroundNote:!0,backgroundNoteMessage:G,loading:C,disabled:!!b,closeTabIndex:$?void 0:-1})))))};zc.displayName="BulkSmushStatusCard",zc.propTypes={newImagesCount:l().number,lossySetting:l().oneOf([0,1,2]),backupEnabled:l().bool,onSmushNow:l().func,onCompressionLevelChange:l().func,onBackupChange:l().func,isSmushing:l().bool,processedImages:l().number,totalImages:l().number,progressPercentage:l().number,onCancelSmush:l().func,className:l().string,variant:l().oneOf(["default","split"]),isSmushPaused:l().bool,onResumeBulkSmush:l().func,disableScanOverlay:l().bool};var Hc=["isScanInProgress","totalItems","processedItems","starting","cancelling","isBulkSmushInProgress","onCancel","onRescan","disableScan"],Bc=["variant","className","lastScanRun","scanDateTime","mediaLibraryUrl","isScanInProgress","scanTotalItems","scanProcessedItems","scanStarting","scanCancelling","onScanCancel","onScanStart","disableScan","remainingCount","lossySetting","backupEnabled","onCompressionLevelChange","onBackupChange","isBulkSmushInProgress","bulkSmushTotalItems","bulkSmushProcessedItems","bulkSmushStarting","bulkSmushCancelling","onBulkSmushStart","onBulkSmushCancel","imagesOptimized","optimizationScore","savingsBytes","savingsPercentage","onRescan","remainingCountDirection","imagesOptimizedDirection","isSmushPaused","onResumeBulkSmush","disableScanOverlay","disableBulkSmush","smushLabel"];function Dc(){return Dc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dc.apply(null,arguments)}function Vc(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Zc=function(e){var t=e.isScanInProgress,n=(e.totalItems,e.processedItems,e.starting),r=void 0!==n&&n,o=e.cancelling,i=void 0!==o&&o,l=(e.isBulkSmushInProgress,e.onCancel,e.onRescan),c=e.disableScan,s=void 0!==c&&c,u=Vc(e,Hc);t=r||t||i;var m="wpmudev-scan-progress-container",f=[m,"".concat(m,"--").concat(t?"active":"inactive"),s&&"wpmudev-overlay-disabled"].filter(Boolean).join(" ");return a.createElement("div",Dc({className:f},u),a.createElement(jn,{className:"".concat(m,"__rescan-button"),variant:"transparent",size:"sm",onClick:l,disabled:s},a.createElement(gn,{name:"ScanSiteV2",size:16,color:"#1A1A1A"}),a.createElement(Hi,{size:"xs",weight:"700",lineHeight:1},(0,Zn.__)("Scan site","wp-smushit"))))},Fc=function(e){var t=e.variant,n=void 0===t?"default":t,r=e.className,o=void 0===r?"":r,i=e.lastScanRun,l=e.scanDateTime,c=e.mediaLibraryUrl,s=void 0===c?"#":c,u=e.isScanInProgress,m=void 0!==u&&u,f=e.scanTotalItems,p=void 0===f?0:f,d=e.scanProcessedItems,v=void 0===d?0:d,h=e.scanStarting,C=void 0!==h&&h,g=e.scanCancelling,b=void 0!==g&&g,y=(e.onScanCancel,e.onScanStart),w=e.disableScan,_=void 0!==w&&w,E=e.remainingCount,O=void 0===E?0:E,S=e.lossySetting,j=void 0===S?1:S,N=e.backupEnabled,P=void 0!==N&&N,x=e.onCompressionLevelChange,k=e.onBackupChange,A=e.isBulkSmushInProgress,L=void 0!==A&&A,T=e.bulkSmushTotalItems,M=void 0===T?0:T,I=e.bulkSmushProcessedItems,z=void 0===I?0:I,H=e.bulkSmushStarting,B=void 0!==H&&H,D=e.bulkSmushCancelling,V=void 0!==D&&D,Z=e.onBulkSmushStart,F=e.onBulkSmushCancel,R=e.imagesOptimized,U=void 0===R?0:R,G=e.optimizationScore,W=void 0===G?0:G,q=e.savingsBytes,$=void 0===q?0:q,K=e.savingsPercentage,X=void 0===K?0:K,J=(e.onRescan,e.remainingCountDirection),Y=e.imagesOptimizedDirection,Q=e.isSmushPaused,ee=void 0!==Q&&Q,te=e.onResumeBulkSmush,ne=void 0===te?function(){}:te,re=e.disableScanOverlay,oe=void 0!==re&&re,ae=e.disableBulkSmush,ie=void 0!==ae&&ae,le=e.smushLabel,ce=void 0===le?(0,Zn.__)("Optimize Images","wp-smushit"):le,se=Vc(e,Bc),ue="wpmudev-media-library-dashboard",me=[ue,"".concat(ue,"--").concat(n),o].filter(Boolean).join(" "),fe=m||L||B||V;return a.createElement("div",Dc({className:me},se),a.createElement("div",{className:"".concat(ue,"__main-section")},a.createElement("div",{className:"".concat(ue,"__header")},a.createElement("h1",{className:"".concat(ue,"__title")},"Media library"),a.createElement("div",{className:"".concat(ue,"__header-actions ").concat(fe?"wpmudev-overlay-disabled":"")},i?a.createElement(Hi,{size:"xs",className:"".concat(ue,"__last-scan-time")},a.createElement(gn,{name:"Time",color:"var(--wpmudev-text-color)",size:14}),l?a.createElement(Ms.Basic,{placement:"top-center",width:"fit-content",content:l,className:"wpmudev-media-library-dashboard__scan-tooltip--compact"},a.createElement("span",null,i)):a.createElement("span",null,i)):a.createElement(Hi,{size:"xs"},(0,Zn.__)("No scans yet","wp-smushit")),a.createElement(Zc,{isScanInProgress:m,totalItems:p,processedItems:v,starting:C,cancelling:b,isBulkSmushInProgress:L,onRescan:y,disableScan:_}),a.createElement(jn,{className:"".concat(ue,"__upload-button"),variant:"transparent",size:"sm",disabled:fe},a.createElement(Hi.Link,{variant:"transparent",size:"xs",href:s,style:{gap:"5px"}},a.createElement(gn,{name:"Upload",color:"var(--wpmudev-text-color)",size:16}),a.createElement(Hi,{size:"xs",weight:"700",lineHeight:1},(0,Zn.__)("Upload","wp-smushit")))))),a.createElement("div",{className:"".concat(ue,"__grid")},a.createElement("div",{className:"".concat(ue,"__card-left")},a.createElement(zc,{variant:n,newImagesCount:O,lossySetting:j,backupEnabled:P,onCompressionLevelChange:x,onBackupChange:k,isSmushing:L,processedImages:z,totalImages:M,onSmushNow:Z,onCancelSmush:F,starting:B,cancelling:V,isScanInProgress:m,isSmushPaused:ee,onResumeBulkSmush:ne,disableScanOverlay:oe,disableBulkSmush:ie,smushLabel:ce})),a.createElement("div",{className:"".concat(ue,"__card-right")},a.createElement(Ec,{variant:n,imagesOptimized:U,optimizationScore:W,savingsBytes:$,savingsPercentage:X,remainingCount:O,remainingCountDirection:J,imagesOptimizedDirection:Y,isScanInProgress:m,disableScanOverlay:oe})))))};Fc.displayName="MediaLibraryDashboard",Fc.propTypes={variant:l().oneOf(["default","split"]),className:l().string,lastScanRun:l().string,scanDateTime:l().string,mediaLibraryUrl:l().string,isScanInProgress:l().bool,scanTotalItems:l().number,scanProcessedItems:l().number,scanStarting:l().bool,scanCancelling:l().bool,onScanCancel:l().func,onScanStart:l().func,remainingCount:l().number,lossySetting:l().oneOf([0,1,2]),backupEnabled:l().bool,onCompressionLevelChange:l().func,onBackupChange:l().func,isBulkSmushInProgress:l().bool,bulkSmushTotalItems:l().number,bulkSmushProcessedItems:l().number,bulkSmushStarting:l().bool,bulkSmushCancelling:l().bool,disableScanOverlay:l().bool,onBulkSmushStart:l().func,onBulkSmushCancel:l().func,imagesOptimized:l().number,optimizationScore:l().number,savingsBytes:l().number,savingsPercentage:l().number,remainingCountDirection:l().oneOf(["up","down"]),imagesOptimizedDirection:l().oneOf(["up","down"]),isSmushPaused:l().bool,onResumeBulkSmush:l().func,smushLabel:l().string};var Rc=function(e){var t=e.isOpen,n=e.onClose,r=e.onRetry,o=Rl().hideDocLink?(0,Zn.__)("Your site seems to have an issue with loopback requests. Please retry again or contact hosting support.","wp-smushit"):(0,ic.A)((0,Zn.__)("Your site seems to have an issue with loopback requests. Please retry or refer to our <link>troubleshooting guide</link> to help resolve this.","wp-smushit"),{link:a.createElement(Hi.Link,{className:"wpmudev-text-link--underline",href:Or("smush_bulksmush_loopback_notice","https://wpmudev.com/docs/wpmu-dev-plugins/smush/#loopback-request-issue")})});return a.createElement(Yf,{isOpen:t,onClose:n,avatar:a.createElement("div",{className:"wpmudev-info-modal__info-modal-avatar--warning"},a.createElement(gn,{name:"WarningTriangleWhite",size:16,color:"#FFFFFF"})),buttonText:(0,Zn.__)("Cancel","wp-smushit"),buttonVariant:"transparent",title:(0,Zn.__)("Error Encountered!","wp-smushit"),content:a.createElement(Hi.P,{style:{color:"var(--wpmudev-text-primary)"}},o),closeOnOverlayClick:!0,extraButton:a.createElement(jn,{variant:"danger",size:"lg",onClick:r},(0,Zn.__)("Retry","wp-smushit")),showCloseButton:!1})};Rc.displayName="LoopbackErrorModal",Rc.propTypes={isOpen:l().bool,onClose:l().func,onRetry:l().func,content:l().node};var Uc=Rc;function Gc(e){return Gc="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},Gc(e)}function Wc(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 qc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wc(Object(n),!0).forEach(function(t){$c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Gc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Gc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Gc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Jc="smush_opt_in_usage_tracking_toast_shown",Yc="smush_opt_in_usage_tracking";function Qc(e){return Qc="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},Qc(e)}function es(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,ts(r.key),r)}}function ts(e){var t=function(e,t){if("object"!=Qc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Qc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Qc(t)?t:t+""}var ns=new(function(){return e=function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=5e3,(n=ts(n="delayTimeOnFailure"))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r},(t=[{key:"performTest",value:function(){var e=this;return new Promise(function(t,n){e.startTest().then(function(r){null!=r&&r.success?e.getResult(t,function(){setTimeout(function(){e.getResult(t,n,n)},e.delayTimeOnFailure)},n):n(r)}).catch(function(e){n(e)})})}},{key:"startTest",value:function(){return Kn.background.backgroundHealthyCheck()}},{key:"getResult",value:function(e,t,n){return this.fetchResult().then(function(n){var r=null==n?void 0:n.data;null!=n&&n.success&&null!=r&&r.loopback?e(r):t(n)}).catch(function(e){n(e)})}},{key:"fetchResult",value:function(){return Kn.background.backgroundHealthyStatus()}}])&&es(e.prototype,t),n&&es(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}());function rs(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return os(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(os(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,os(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,os(m,"constructor",s),os(s,"constructor",c),c.displayName="GeneratorFunction",os(s,o,"GeneratorFunction"),os(m),os(m,o,"Generator"),os(m,r,function(){return this}),os(m,"toString",function(){return"[object Generator]"}),(rs=function(){return{w:a,m:f}})()}function os(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}os=function(e,t,n,r){function a(t,n){os(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},os(e,t,n,r)}function as(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function is(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ls(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ls(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ls(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function cs(){var e=is((0,a.useState)(!1),2),t=e[0],n=e[1],r=is((0,a.useState)(!1),2),o=r[0],i=r[1],l=(0,a.useRef)(null),c=(0,a.useCallback)(function(e){l.current=e,i(!0)},[]),s=(0,a.useCallback)(function(){var e,r=(e=rs().m(function e(r){var o,a;return rs().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!t){e.n=1;break}return e.a(2);case 1:return n(!0),e.p=2,e.n=3,ns.performTest();case 3:if(null!=(o=e.v)&&o.loopback){e.n=4;break}return c(r),e.a(2);case 4:return e.n=5,r();case 5:e.n=7;break;case 6:e.p=6,a=e.v,console.error("Error:",a),c(r);case 7:return e.p=7,n(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){as(a,r,o,i,l,"next",e)}function l(e){as(a,r,o,i,l,"throw",e)}i(void 0)})});return function(e){return r.apply(this,arguments)}}(),[t,c]),u=(0,a.useCallback)(function(){i(!1);var e=l.current;l.current=null,e&&s(e)},[s]),m=(0,a.useCallback)(function(){i(!1)},[]);return{isLoopbackTesting:t,loopbackModalOpen:o,runWithLoopbackCheck:s,retry:u,dismiss:m}}var ss=["variant","className","onBulkSmushCancel"];function us(){return us=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},us.apply(null,arguments)}function ms(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fs(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fs(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ps(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!e||arguments.length>1&&void 0!==arguments[1]&&arguments[1]||arguments.length>2&&void 0!==arguments[2]&&arguments[2]?(0,Zn.__)("Optimize Images","wp-smushit"):(0,Zn.sprintf)((0,Zn._n)("Optimize %s image","Optimize %s images",e,"wp-smushit"),nr(e))}var ds=function(e){var t=e.variant,n=void 0===t?"default":t,r=e.className,o=void 0===r?"":r,i=e.onBulkSmushCancel,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ss),c=qr()||{},s=c.pageUrls,u=(void 0===s?{}:s).mediaLibraryUrl,m=void 0===u?"#":u,f=(c.setToast,c.metaData),p=((void 0===f?{}:f).maxFreeBulk,ms(Ja("lossy",!0,function(e){var t,n=null!==(t={0:(0,Zn.__)("Basic 1X","wp-smushit"),1:(0,Zn.__)("Super 2X","wp-smushit"),2:(0,Zn.__)("Ultra 5X","wp-smushit")}[e])&&void 0!==t?t:String(e);return(0,Zn.sprintf)((0,Zn.__)("Compression level changed to %s.","wp-smushit"),n)}),2)),d=p[0],v=p[1],h=ms(Ja("backup",!1,function(e){return e?(0,Zn.__)("Backup original images enabled.","wp-smushit"):(0,Zn.__)("Backup original images disabled.","wp-smushit")}),2),C=h[0],g=h[1],b=Xa().hasPendingChanges,y=ai(),w=y.hubConnectorData,_=(y.setOpenHubConnectInfoModal,null==w||w.is_logged_in,cs()),E=_.isLoopbackTesting,O=_.loopbackModalOpen,S=_.runWithLoopbackCheck,j=_.retry,N=_.dismiss,P=ya(),x=P.globalStats,k=void 0===x?{}:x,A=k.isOutdated,L=k.remainingCount,T=k.countTotal,M=k.countImages,I=k.savingsBytes,z=k.savingsPercent,H=P.startPollingGlobalStats,B=(P.stopPollingGlobalStats,a.useRef(parseInt(L,10)||0));(0,a.useEffect)(function(){B.current=parseInt(L,10)||0},[L]);var D=fa(),V=D.scanStatus,Z=void 0===V?{}:V,F=Z.lastScanRun,R=Z.scanDateTime,U=Z.inProcessing,G=Z.totalItems,W=Z.processedItems,q=Z.starting,$=Z.cancelling,K=(D.startScan,D.cancelScan),X=ea(),J=X.bulkSmushStatus,Y=void 0===J?{}:J,Q=Y.inProcessing,ee=Y.totalItems,te=Y.processedItems,ne=Y.starting,re=Y.cancelling,oe=Y.isPaused,ae=(Y.isCancelled,Y.isCompleted,X.startBulkSmush,X.attachToBulkSmush),ie=X.cancelBulkSmush;i=i||ie;var le=zl().showSmushToast,ce=function(){var e=qr(),t=e.setToast,n=e.registerQueueableToast,r=e.showQueueableToast,o=Hl().buildSmushToast,i=hi(),l=i.isNoticeDismissed,c=i.dismissNotice,s=Kc(Ja("usage",!1,function(e){return e?(0,Zn.__)("Usage tracking enabled.","wp-smushit"):(0,Zn.__)("Usage tracking disabled.","wp-smushit")}),2),u=s[0],m=s[1],f=function(){m(!0),t(function(e){return qc(qc({},e),{},{open:!1})})},p=(0,a.useCallback)(function(){c(Jc);var e=a.createElement(a.Fragment,null,a.createElement("div",{className:"wpmudev-toast__actions"},a.createElement(jn,{variant:"transparent",size:"md",onClick:function(){return t(function(e){return qc(qc({},e),{},{open:!1})})}},a.createElement(Hi,{size:"xs",color:"black"},(0,Zn.__)("Do not share","wp-smushit"))),a.createElement(jn,{variant:"black",size:"md",onClick:f},a.createElement(Hi,{size:"xs",color:"#fff"},(0,Zn.__)("Share","wp-smushit")))));return o({title:(0,Zn.__)("Share Usage Data?","wp-smushit"),description:(0,Zn.__)("Help us improve by sending anonymous usage data. This is recommended.","wp-smushit"),toastActions:e,icon:a.createElement(gn,{name:"OptIn"})})},[t]);(0,a.useEffect)(function(){return n(Yc,p)},[n,p]);var d=(0,a.useCallback)(function(){return!!u||l(Jc)},[u,l]);return{maybeShowOptInToast:function(){d()||r({toastKey:Yc,delayMs:1500})},isOptInDismissed:d}}(),se=ce.maybeShowOptInToast,ue=ce.isOptInDismissed,me=ms((0,a.useState)(!1),2),fe=me[0],pe=me[1];(0,a.useEffect)(function(){Q?ue()||fe||(parseInt(te,10)||0)>0&&(se(),pe(!0)):pe(!1)},[Q,te,se,ue,fe]),(0,a.useEffect)(function(){var e=jr([rr],{remove:function(e){return hr===e}}).smushAction;hr===e&&be()},[]);var de=Cc(),ve=de.startScanWrapper,he=de.scanAndStartBulkSmush,Ce=de.startBulkSmushWrapper,ge=de.getBulkSmushCallbacks,be=function(){return A?he():Ce()},ye=parseInt(T,10)||0,we=Math.max(ye-L,0),_e=parseInt(I,10)||0,Ee=ye>0?Math.round(we/ye*100):0,Oe=a.useRef({remainingCount:L,imagesOptimized:we,savingsBytes:_e,optimizationScore:Ee}),Se=!Q&&!U;function je(e,t,n,r,o,a){return n?null:e>t?"up":e<t?"down":r&&o>0?a:null}var Ne=je(L,Oe.current.remainingCount,Se,Q||U,te,"down"),Pe=je(we,Oe.current.imagesOptimized,Se,Q||U,te,"up");(0,a.useEffect)(function(){Oe.current=U?{remainingCount:L,imagesOptimized:Oe.current.imagesOptimized,savingsBytes:Oe.current.savingsBytes,optimizationScore:Oe.current.optimizationScore}:{remainingCount:L,imagesOptimized:we,savingsBytes:_e,optimizationScore:Ee}},[Q,U]),(0,a.useEffect)(function(){Q&&!oe&&(H(),ae(ge()))},[]);var xe=a.useRef(!1);return(0,a.useEffect)(function(){if(!xe.current){var e=new URLSearchParams(window.location.search);if("1"===e.get("auto-smush")){e.delete("auto-smush");var t="".concat(window.location.pathname,"?").concat(e.toString());window.history.replaceState({},"",t);parseInt(M,10);var n=parseInt(L,10)||0;xe.current=!0,n>0&&setTimeout(function(){var e=(0,ic.A)((0,Zn.sprintf)((0,Zn._n)("You have <number>%d</number> image ready to optimize.","You have <number>%d</number> images ready to optimize.",n,"wp-smushit"),n),{number:a.createElement("strong",null)});le({title:"",description:e,onSmush:be,primaryLabel:(0,Zn.__)("Optimize images","wp-smushit"),secondaryLabel:(0,Zn.__)("Not Now","wp-smushit"),icon:a.createElement(op,null)})},5e3)}}},[]),a.createElement(a.Fragment,null,a.createElement(Uc,{isOpen:O,onClose:N,onRetry:j}),a.createElement(Fc,us({variant:n,className:o,lastScanRun:F,scanDateTime:R,mediaLibraryUrl:m,isScanInProgress:U,scanTotalItems:parseInt(G,10)||0,scanProcessedItems:parseInt(W,10)||0,scanStarting:q,scanCancelling:$,onScanStart:function(){return S(ve)},onScanCancel:K,disableScan:b||E||U||q||Q,remainingCount:parseInt(L,10)||0,lossySetting:d,backupEnabled:C,onCompressionLevelChange:function(e){v(e)},onBackupChange:function(e){g(e)},isBulkSmushInProgress:Q,bulkSmushTotalItems:parseInt(ee,10)||0,bulkSmushProcessedItems:parseInt(te,10)||0,bulkSmushStarting:ne,bulkSmushCancelling:re,onBulkSmushStart:function(){return S(be)},onBulkSmushCancel:i,disableBulkSmush:b||E||ne||Q||U,imagesOptimized:U||q?Oe.current.imagesOptimized:we,optimizationScore:U||q?Oe.current.optimizationScore:Ee,savingsBytes:U||q?Oe.current.savingsBytes:_e,savingsPercentage:parseFloat(z)||0,remainingCountDirection:Ne,imagesOptimizedDirection:U||q?null:Pe,smushLabel:ps(L,A,U)},l)))};ds.displayName="MediaLibraryDashboardContainer",ds.propTypes={variant:l().oneOf(["default","split"]),className:l().string,onBulkSmushCancel:l().func};var vs=["title","description","icon","badge","action","onClick","showChevron","disabled","className","ref"];function hs(){return hs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hs.apply(null,arguments)}var Cs=function(e){var t=e.title,n=e.description,r=e.icon,o=e.badge,i=e.action,l=e.onClick,c=e.showChevron,s=void 0!==c&&c,u=e.disabled,m=void 0!==u&&u,f=e.className,p=void 0===f?"":f,d=e.ref,v=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,vs),h="wpmudev-list-item",C=[h,l&&"".concat(h,"--clickable"),m&&"".concat(h,"--disabled"),p].filter(Boolean).join(" ");return a.createElement("div",hs({ref:d,className:C,onClick:function(e){!m&&l&&l(e)},role:l?"button":void 0,tabIndex:l&&!m?0:void 0},v),r&&a.createElement("div",{className:"".concat(h,"__icon")},r),a.createElement("div",{className:"".concat(h,"__content")},a.createElement("div",{className:"".concat(h,"__header")},a.createElement("span",{className:"".concat(h,"__title")},t),o&&a.createElement("div",{className:"".concat(h,"__badge")},o)),n&&a.createElement("span",{className:"".concat(h,"__description")},n)),i&&a.createElement("div",{className:"".concat(h,"__action")},i),s&&a.createElement("div",{className:"".concat(h,"__chevron")},a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))};Cs.displayName="ListItem",Cs.propTypes={title:l().node.isRequired,description:l().node,icon:l().node,badge:l().node,action:l().node,onClick:l().func,showChevron:l().bool,disabled:l().bool,className:l().string};var gs=n(3550),bs=["title","description","badge","icon","variant","defaultOpen","onOpenChange","children","className","headerActions","ref"];function ys(){return ys=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ys.apply(null,arguments)}function ws(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Es=function(e){var t=e.title,n=e.description,r=e.badge,o=e.icon,i=e.variant,l=void 0===i?"default":i,c=e.defaultOpen,s=void 0!==c&&c,u=e.onOpenChange,m=e.children,f=e.className,p=void 0===f?"":f,d=e.headerActions,v=e.ref,h=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,bs),C=ws(a.useState(s),2),g=C[0],b=C[1],y="wpmudev-section",w=[y,"".concat(y,"--").concat(l),p].filter(Boolean).join(" ");return a.createElement(gs.bL,ys({ref:v,open:g,onOpenChange:function(e){b(e),u&&u(e)},className:"".concat(w)},h),a.createElement(gs.l9,{className:"".concat(y,"__trigger")},a.createElement("div",{className:"".concat(y,"__header")},a.createElement("div",{className:"".concat(y,"__header-left")},o&&a.createElement("div",{className:"".concat(y,"__icon")},o),a.createElement("div",{className:"".concat(y,"__header-content")},a.createElement("div",{className:"".concat(y,"__title-row")},a.createElement("h3",{className:"".concat(y,"__title")},t),r&&a.createElement("div",{className:"".concat(y,"__badge")},r)),n&&a.createElement("p",{className:"".concat(y,"__description")},n))),a.createElement("div",{className:"".concat(y,"__header-right")},d&&a.createElement("div",{className:"".concat(y,"__actions"),onClick:function(e){return e.stopPropagation()}},d),a.createElement("div",{className:"".concat(y,"__chevron"),"data-state":g?"open":"closed"},a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))))),a.createElement(gs.UC,{className:"".concat(y,"__content")},a.createElement("div",{className:"".concat(y,"__content-inner")},m)))};Es.displayName="Section",Es.propTypes={title:l().node.isRequired,description:l().node,badge:l().node,icon:l().node,variant:l().oneOf(["default","transparent"]),defaultOpen:l().bool,onOpenChange:l().func,children:l().node.isRequired,className:l().string,headerActions:l().node};var Os=["baseClass","className","placement","children","title","description","variant","icon","showArrow","actions","background","width","closable","onClose","useAvatar","autoClose","autoCloseDelay","closeOnEscape","style"];function Ss(){return Ss=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ss.apply(null,arguments)}var js=function(e){var t=e.baseClass,n=e.className,r=e.placement,o=e.children,i=e.title,l=e.description,c=e.variant,s=void 0===c?"popover":c,u=e.icon,m=void 0===u?a.createElement(gn,{name:"Chatbot"}):u,f=e.showArrow,p=e.actions,d=e.background,v=e.width,h=e.closable,C=e.onClose,g=e.useAvatar,b=void 0===g||g,y=e.autoClose,w=void 0!==y&&y,_=e.autoCloseDelay,E=void 0===_?5e3:_,O=e.closeOnEscape,S=void 0===O||O,j=e.style,x=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Os),k="wpmudev-popover-template",A=[k,"".concat(k,"--").concat(s),"".concat(k,"--").concat(p?"has-actions":"no-actions"),"".concat(t,"__template"),r&&"".concat(k,"--").concat(r),f&&"".concat(k,"--has-arrow"),h&&"".concat(k,"--closable"),n].filter(Boolean).join(" ");if(b){var L,T=(null===(L=window)||void 0===L||null===(L=L.smushUIData)||void 0===L?void 0:L.profileData)||{},M=T.avatar,I=T.initials,z=T.profileBackgroundColor,H=void 0===z?"#0059ff":z,B=T.profileFontColor,D=void 0===B?"#ffffff":B;m=a.createElement(Qu,{size:"40px",avatar:M,initials:I,backgroundColor:H,textColor:D})}var V=r&&r.includes("top")?"horizontal":void 0,Z=N({"--wpmudev-popover-arrow-width":f?"".concat(59,"px"):null,"--wpmudev-popover-arrow-height":f?"".concat(9,"px"):null,"--wpmudev-popover-template-bg":d,"--wpmudev-popover-template-width":v},j);return a.useEffect(function(){if(w&&C){var e=setTimeout(function(){C()},E);return function(){return clearTimeout(e)}}},[w,E,C]),Xl(!0,C,S),a.createElement(P,Ss({align:"center",className:A},x,{style:Z}),f&&a.createElement(gn,{name:"PopoverArrow",color:"#1A1A1A",width:59,height:9,flip:V,className:"".concat(k,"__arrow colored ").concat(t,"__arrow")}),m&&a.createElement("div",{className:"".concat(k,"__icon ").concat(t,"__icon")},m),h&&a.createElement(jn,{size:"sm",variant:"ghost",className:"".concat(k,"__close ").concat(t,"__close"),onClick:C},a.createElement(gn,{size:14,name:"Close",color:"#1a1a1a"})),a.createElement("div",{className:"".concat(k,"__content ").concat(t,"__content")},o||a.createElement(a.Fragment,null,i&&a.createElement(Hi.H4,{size:"14",weight:"bold",className:"".concat(t,"__title")},i),l&&a.createElement(Hi.P,{className:"".concat(t,"__desc")},l))),p&&("function"==typeof p?p():p))};js.propTypes={baseClass:l().string.isRequired,title:l().string,description:l().string,actions:l().node,icon:l().node,showArrow:l().bool,customStyle:l().object,variant:l().oneOf(["popover","tooltip","toast"]),background:l().string,width:l().string,closable:l().bool,onClose:l().func,closeOnEscape:l().bool,style:l().object,placement:l().oneOf(["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"])};var Ns=js,Ps=["placement","children","content","open","portal","width","className","popOverClassName","background","customPopoverStyle"],xs=["content","placement","children","portal"];function ks(){return ks=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ks.apply(null,arguments)}function As(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ls(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ls(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ls(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ts(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ms=function(e){var t=e.placement,n=void 0===t?"top-center":t,r=e.children,o=e.content,i=e.open,l=e.portal,c=void 0!==l&&l,s=e.width,u=e.className,m=e.popOverClassName,f=e.background,p=e.customPopoverStyle,d=Ts(e,Ps),v="wpmudev-tooltip",h=(0,a.useRef)(null),C=As((0,a.useState)(null),2),g=C[0],b=C[1],y=[v,"fit-content"===s&&"".concat(v,"--fit-content"),u].filter(Boolean).join(" "),w=i&&a.createElement(Ns,{baseClass:v,background:f,placement:n,icon:null,showArrow:!0,description:o,width:s,style:p,useAvatar:!1,className:m});return(0,a.useEffect)(function(){if(i&&c){var e=function(){if(h.current){var e=h.current.getBoundingClientRect();b({top:e.top,left:e.left,width:e.width,height:e.height})}};return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}}b(null)},[i,c]),a.createElement("div",ks({ref:h,className:y},d),r,i&&!c&&w,i&&c&&g&&(0,fl.createPortal)(a.createElement("div",{className:"".concat(v,"__portal-anchor"),style:{top:"".concat(g.top,"px"),left:"".concat(g.left,"px"),width:"".concat(g.width,"px"),height:"".concat(g.height,"px")}},w),document.getElementById("wpmudev-ui-root")||document.body))},Is=function(e){var t=e.content,n=e.placement,r=e.children,o=e.portal,i=void 0!==o&&o,l=Ts(e,xs),c=As((0,a.useState)(),2),s=c[0],u=c[1],m=N({"--wpmudev-popover-arrow-width":"".concat(59,"px"),"--wpmudev-popover-arrow-height":"".concat(6,"px")},{}),f=[!r&&"wpmudev-tooltip--with-info-icon"].filter(Boolean).join(" "),p=(0,a.useRef)(!1);return a.createElement(Ms,ks({className:f,content:t,placement:n,portal:i,onMouseEnter:function(){return u(!0)},onMouseLeave:function(){return u(!1)},onTouchStart:function(e){e.stopPropagation(),p.current=!0,u(function(e){return!e})},onClick:function(e){e.stopPropagation(),p.current?p.current=!1:u(function(e){return!e})},open:s},l,{customPopoverStyle:m}),r)};Is.propTypes={content:l().oneOfType([l().string,l().node]).isRequired,children:l().node,placement:l().oneOf(["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"]),portal:l().bool,style:l().object},Ms.Basic=Is,Ms.Basic.displayName="BasicTooltip",Ms.displayName="Tooltip",Ms.propTypes={content:l().oneOfType([l().string,l().node]).isRequired,children:l().node,className:l().string,style:l().object,open:l().bool.isRequired,portal:l().bool,background:l().string,width:l().string,placement:l().oneOf(["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"]),customPopoverStyle:l().object};var zs=Ms;function Hs(e){return Hs="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},Hs(e)}var Bs=["children","id","active","disabled","baseClass","size","tooltip"],Ds=["tabs","activeTab","onChange","className","size"];function Vs(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 Zs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vs(Object(n),!0).forEach(function(t){Fs(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vs(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fs(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Hs(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Hs(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Hs(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rs(){return Rs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rs.apply(null,arguments)}function Us(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Gs=function(e){var t=e.children,n=e.id,r=e.active,o=void 0!==r&&r,i=e.disabled,l=void 0!==i&&i,c=e.baseClass,s=void 0===c?"wpmudev-tab-button":c,u=e.size,m=void 0===u?"md":u,f=e.tooltip,p=Us(e,Bs),d=["".concat(s,"__tab"),"".concat(s,"__tab--").concat(m),o&&"".concat(s,"__tab--active"),l&&"".concat(s,"__tab--disabled")].filter(Boolean).join(" "),v=a.createElement(Nn,Rs({id:"tab-".concat(n),role:"tab","aria-selected":o,"aria-controls":"panel-".concat(n),className:d,disabled:l,variant:"ghost",size:m,type:"button"},p),t);return f?a.createElement(zs.Basic,{className:"".concat(s,"__tooltip"),popOverClassName:"".concat(s,"__tooltip-template"),content:f,width:"fit-content",portal:!0},v):v};Gs.propTypes=Zs(Zs({},Nn.propTypes),{},{id:l().string.isRequired,label:l().oneOfType([l().string,l().node]).isRequired,active:l().bool,baseClass:l().string,tooltip:l().oneOfType([l().string,l().node])});var Ws=function(e){var t=e.children,n=e.tabId,r=e.activeTab,o=e.className,i=void 0===o?"":o,l=e.baseClass,c=void 0===l?"wpmudev-tab-panel":l;return n===r?a.createElement("div",{role:"tabpanel",id:"panel-".concat(n),"aria-labelledby":"tab-".concat(n),className:"".concat(c," ").concat(i)},t):null};Ws.propTypes={children:l().node,tabId:l().string.isRequired,activeTab:l().string,className:l().string,baseClass:l().string};var qs=function(e){var t=e.tabs,n=void 0===t?[]:t,r=e.activeTab,o=e.onChange,i=e.className,l=void 0===i?"":i,c=e.size,s=void 0===c?"md":c,u=Us(e,Ds),m="wpmudev-side-tabs",f=[m,"".concat(m,"--").concat(s),l].filter(Boolean).join(" ");return a.createElement("div",Rs({className:f,role:"tablist"},u),n.map(function(e){return a.createElement(Gs,{key:e.id,id:e.id,active:e.id===r,disabled:e.disabled,baseClass:m,size:s,onClick:function(){return t=e.id,void(o&&o(t));var t}},e.label)}))};qs.Panel=Ws,qs.propTypes={tabs:l().arrayOf(l().shape({id:l().string.isRequired,label:l().oneOf([l().string,l().node]).isRequired,disabled:l().bool})).isRequired,activeTab:l().string,onChange:l().func,className:l().string,size:l().oneOf(["sm","md","lg"])};var $s=["logo","pluginName","pluginURL","madeBy","badge","className"];function Ks(){return Ks=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ks.apply(null,arguments)}var Xs=function(e){var t=e.logo,n=e.pluginName,r=e.pluginURL,o=e.madeBy,i=e.badge,l=e.className,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,$s),s=["wpmudev-plugin-brand",!o&&"wpmudev-plugin-brand--no-made-by",l].filter(Boolean).join(" "),u=r?Hi.Link:"div";return a.createElement(u,Ks({className:s},c,{href:Or("smush_logo",r)||"#"}),t&&a.createElement("span",{className:"wpmudev-plugin-brand__logo"},t),(n||o)&&a.createElement("div",{className:"wpmudev-plugin-brand__info"},(n||i)&&a.createElement("div",{className:"wpmudev-plugin-brand__name-row"},n&&a.createElement(Hi,{size:"lg",className:"wpmudev-plugin-brand__name"},n),i&&a.createElement("span",{className:"wpmudev-plugin-brand__badge"},i)),o&&a.createElement(Hi,{size:"xs",className:"wpmudev-plugin-brand__made-by"},o)))};Xs.displayName="Brand",Xs.propTypes={logo:l().node,pluginName:l().string,madeBy:l().node,badge:l().node,pluginURL:l().string};function Js(e){return Js="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},Js(e)}var Ys=["items","onSelectionChange","variant","size","className","disabled","multiple","name"];function Qs(){return Qs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qs.apply(null,arguments)}function eu(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 tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eu(Object(n),!0).forEach(function(t){nu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nu(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Js(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Js(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Js(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ru=function(e){var t=e.items,n=void 0===t?[]:t,r=e.onSelectionChange,o=e.variant,i=void 0===o?"pill":o,l=e.size,c=void 0===l?"md":l,s=e.className,u=void 0===s?"":s,m=e.disabled,f=void 0!==m&&m,p=e.multiple,d=void 0===p||p,v=e.name,h=void 0===v?"selector":v,C=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Ys),g="wpmudev-selector",b=[g,"".concat(g,"--").concat(i),"".concat(g,"--").concat(c),f&&"".concat(g,"--disabled"),u].filter(Boolean).join(" "),y=function(e){if(!e.icon)return null;var t="card"===i?"div":"span";return a.createElement(t,{className:"".concat(g,"__icon")},e.icon)},w=function(e){return["".concat(g,"__item"),e.selected?"".concat(g,"__item--selected"):"".concat(g,"__item--unselected"),e.disabled&&"".concat(g,"__item--disabled")].filter(Boolean).join(" ")};return a.createElement("div",Qs({className:b},C),n.map(function(e){return a.createElement("label",{key:e.id,className:w(e),onClick:function(t){t.preventDefault(),function(e){if(f||e.disabled){var t;null===(t=e.onDisabledClick)||void 0===t||t.call(e)}else{var o=d?n.map(function(t){return t.id===e.id?tu(tu({},t),{},{selected:!t.selected}):t}):n.map(function(t){return tu(tu({},t),{},{selected:t.id===e.id})});null==r||r(o,e)}}(e)}},function(e){var t=d?"checkbox":"radio";return a.createElement("input",{type:t,className:"".concat(g,"__input ").concat(g,"__input--").concat(t),checked:!!e.selected,readOnly:!0,disabled:f||e.disabled,id:"".concat(g,"-").concat(e.id),name:d?void 0:h,tabIndex:"card"===i?-1:0})}(e),"card"===i?function(e){return"card"!==i?null:a.createElement("div",{className:"".concat(g,"__content")},y(e),a.createElement("div",{className:"".concat(g,"__text")},e.title&&a.createElement("h3",{className:"".concat(g,"__title")},e.title,e.badge&&a.createElement("span",{className:"".concat(g,"__badge")},e.badge),e.tooltip&&a.createElement(Ms.Basic,{placement:"bottom-left",content:e.tooltip})),e.description&&a.createElement("p",{className:"".concat(g,"__description")},e.description)))}(e):a.createElement("span",{className:"".concat(g,"__content")},y(e),a.createElement("span",{className:"".concat(g,"__label")},e.label)),"pill"===i&&e.subtitle&&a.createElement("span",{className:"".concat(g,"__sub--title")},e.subtitle),function(e){if("card"===i)return null;var t=e.selected?"Check":"Plus";return a.createElement("span",{className:"".concat(g,"__selection-icon")},a.createElement(gn,{name:t,className:"".concat(g,"__selection-icon-component")}))}(e))}))};ru.propTypes={items:l().arrayOf(l().shape({id:l().string.isRequired,label:l().oneOfType([l().string,l().node]),title:l().string,subtitle:l().string,description:l().string,selected:l().bool,disabled:l().bool,icon:l().node,badge:l().string,tooltip:l().string})).isRequired,onSelectionChange:l().func,variant:l().oneOf(["pill","card"]),size:l().oneOf(["sm","md","lg"]),className:l().string,disabled:l().bool,multiple:l().bool,name:l().string};var ou=ru,au=["settingValue","url","className"];function iu(){return iu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iu.apply(null,arguments)}var lu=function(e){var t=e.settingValue,n=e.url,r=e.className,o=void 0===r?"":r,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,au),l=["wpmudev-setting-display-value",o].filter(Boolean).join(" "),c=a.createElement(Hi,{color:"var(--wpmudev-gray-500)"},t," ",a.createElement(gn,{name:"Chevron",width:14,height:14}));return n?a.createElement("a",iu({href:n,className:l},i),c):a.createElement("div",iu({className:l},i),c)};lu.displayName="SettingDisplayValue",lu.propTypes={settingValue:l().string.isRequired,url:l().string,className:l().string};var cu=["label","description","tooltip","children","className","icon","iconColor","iconBackgroundColor","iconWidth","iconHeight","disabled","badge"];function su(){return su=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},su.apply(null,arguments)}var uu=function(e){var t=e.label,n=e.description,r=e.tooltip,o=e.children,i=e.className,l=void 0===i?"":i,c=e.icon,s=e.iconColor,u=e.iconBackgroundColor,m=e.iconWidth,f=void 0===m?20:m,p=e.iconHeight,d=void 0===p?20:p,v=e.disabled,h=void 0!==v&&v,C=e.badge,g=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,cu),b="wpmudev-setting-display-row",y=[b,h&&"".concat(b,"--disabled"),l].filter(Boolean).join(" ");return a.createElement("div",su({className:y},g),c&&a.createElement("div",{className:"".concat(b,"__icon"),style:{backgroundColor:u||"var(--wpmudev-gray-200)"}},"string"==typeof c?a.createElement(gn,{name:c,width:f,height:d,color:s||"var(--wpmudev-gray-700)"}):c),a.createElement("div",{className:"".concat(b,"__label-container")},a.createElement("div",{className:"".concat(b,"__label-wrapper")},a.createElement(Hi,{as:"span",className:"".concat(b,"__label"),color:"var(--wpmudev-text-primary)"},t),C&&a.createElement("span",{className:"".concat(b,"__badge")},C),r&&a.createElement("span",{className:"".concat(b,"__tooltip-icon"),"data-tooltip":r,"aria-label":r},a.createElement(Ms.Basic,{placement:"bottom-right",content:r},a.createElement(gn,{name:"Info",width:16,height:16,color:"var(--wpmudev-gray-400)"})))),n&&a.createElement(Hi,{as:"div",className:"".concat(b,"__description"),color:"var(--wpmudev-gray-500)"},n)),a.createElement("div",{className:"".concat(b,"__content")},o))};uu.displayName="SettingDisplayRow",uu.propTypes={label:l().string.isRequired,description:l().string,tooltip:l().string,children:l().node.isRequired,className:l().string,icon:l().oneOfType([l().string,l().node]),iconColor:l().string,iconBackgroundColor:l().string,iconWidth:l().number,iconHeight:l().number,disabled:l().bool,badge:l().node};var mu=["children","className"];function fu(){return fu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fu.apply(null,arguments)}var pu=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,mu),i=["wpmudev-setting-display-rows",r].filter(Boolean).join(" ");return a.createElement("div",fu({className:i},o),t)};pu.displayName="SettingDisplayRows",pu.propTypes={children:l().node.isRequired,className:l().string};var du=["children","icon","variant","time","action","selfLink","className"];function vu(){return vu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vu.apply(null,arguments)}var hu=function(e){var t=e.children,n=e.icon,r=e.variant,o=void 0===r?"default":r,i=e.time,l=e.action,c=e.selfLink,s=e.className,u=void 0===s?"":s,m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,du),f="wpmudev-drawer",p=Boolean(l||c),d=[f,"".concat(f,"--").concat(o),p&&"".concat(f,"--interactive"),c&&"".concat(f,"--link"),u].filter(Boolean).join(" "),v=a.createElement(a.Fragment,null,a.createElement("div",{className:"".concat(f,"__content")},a.createElement(P,{className:"".concat(f,"__main"),align:"center"},n&&a.createElement("div",{className:"".concat(f,"__icon")},n),a.createElement("span",{className:"".concat(f,"__message")},t)),i&&a.createElement("span",{className:"".concat(f,"__time")}," ",i)),l&&a.createElement("div",{className:"".concat(f,"__action")},l));return c?a.createElement("a",vu({href:c,className:d},m),v):a.createElement("div",vu({className:d},m),v)};hu.propTypes={children:l().node.isRequired,icon:l().node,variant:l().oneOf(["default","teal","info","pro","success","warning","error"]),time:l().string,action:l().node,className:l().string,selfLink:l().string};function Cu(e){return Cu="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},Cu(e)}var gu=["children","onClick","disabled","loading","variant","size","className","showOnScroll","scrollThreshold","bottomOffset","maxWidth","footerSelector"];function bu(){return bu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bu.apply(null,arguments)}function yu(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 wu(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Cu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Cu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Cu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Eu(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Eu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ou=function(e){var t=e.children,n=e.onClick,r=e.disabled,o=void 0!==r&&r,i=e.loading,l=void 0!==i&&i,c=e.variant,s=void 0===c?"black":c,u=e.size,m=void 0===u?"lg":u,f=e.className,p=void 0===f?"":f,d=e.showOnScroll,v=void 0!==d&&d,h=e.scrollThreshold,C=void 0===h?100:h,g=e.bottomOffset,b=void 0===g?20:g,y=e.maxWidth,w=void 0===y?1200:y,_=e.footerSelector,E=void 0===_?null:_,O=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,gu),S=_u((0,a.useState)(!v),2),j=S[0],N=S[1],P=_u((0,a.useState)(null),2),x=P[0],k=P[1],A=(0,a.useRef)(null),L=(0,a.useCallback)(function(){var e=window.pageYOffset||document.documentElement.scrollTop;if(v&&N(e>C),E&&A.current){var t=document.querySelector(E);if(t){var n=t.getBoundingClientRect(),r=window.innerHeight,o=A.current.offsetHeight,a=t.offsetTop-o-b;k(n.top<=r?a:null)}}},[v,C,E,b]);(0,a.useEffect)(function(){return L(),window.addEventListener("scroll",L),window.addEventListener("resize",L),function(){window.removeEventListener("scroll",L),window.removeEventListener("resize",L)}},[L]);var T=["wpmudev-floating-button-container",!j&&"wpmudev-floating-button-container--hidden",null!==x&&"wpmudev-floating-button-container--stopped"].filter(Boolean).join(" "),M=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yu(Object(n),!0).forEach(function(t){wu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({"--max-width":"".concat(w,"px")},null!==x?{top:"".concat(x,"px")}:{bottom:"".concat(b,"px")});return a.createElement("div",{ref:A,className:T,style:M},a.createElement(jn,bu({variant:s,size:m,onClick:n,disabled:o,loading:l,className:"wpmudev-floating-button ".concat(p)},O),t))};Ou.displayName="FloatingButton",Ou.propTypes={children:l().node.isRequired,onClick:l().func,disabled:l().bool,loading:l().bool,variant:l().oneOf(["primary","secondary","ghost","danger","success","black","smush","transparent"]),size:l().oneOf(["sm","md","lg"]),className:l().string,showOnScroll:l().bool,scrollThreshold:l().number,bottomOffset:l().number,maxWidth:l().number,footerSelector:l().string};var Su=["src","alt","aspectRatio","objectFit","lazy","placeholder","fallback","onLoad","onError","className","rounded","border"];function ju(){return ju=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ju.apply(null,arguments)}function Nu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pu(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var xu=function(e){var t=e.src,n=e.alt,r=e.aspectRatio,o=e.objectFit,i=void 0===o?"cover":o,l=e.lazy,c=void 0===l||l,s=e.placeholder,u=e.fallback,m=e.onLoad,f=e.onError,p=e.className,d=void 0===p?"":p,v=e.rounded,h=void 0!==v&&v,C=e.border,g=void 0!==C&&C,b=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Su),y=Nu((0,a.useState)(!1),2),w=y[0],_=y[1],E=Nu((0,a.useState)(!1),2),O=E[0],S=E[1],j=Nu((0,a.useState)(c?s:t),2),N=j[0],P=j[1],x=(0,a.useRef)(null),k=(0,a.useRef)(null);(0,a.useEffect)(function(){if(c&&x.current)return k.current=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(P(t),k.current&&x.current&&k.current.unobserve(x.current))})},{rootMargin:"50px"}),k.current.observe(x.current),function(){k.current&&k.current.disconnect()};P(t)},[t,c]);var A=["wpmudev-image",d,w&&"wpmudev-image--loaded",O&&"wpmudev-image--error",h&&"wpmudev-image--rounded",g&&"wpmudev-image--border"].filter(Boolean).join(" "),L=["wpmudev-image-container",r&&"wpmudev-image-container--aspect"].filter(Boolean).join(" "),T=r?{aspectRatio:r}:{},M={objectFit:i};return O&&!u?a.createElement("div",{className:L,style:T},a.createElement("div",{className:"wpmudev-image-error"},a.createElement("svg",{className:"wpmudev-image-error__icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":"true"},a.createElement("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),a.createElement("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),a.createElement("path",{d:"M21 15l-5-5L5 21"})),a.createElement("span",{className:"wpmudev-image-error__text"},"Failed to load image"))):a.createElement("div",{className:L,style:T},!w&&s&&a.createElement("div",{className:"wpmudev-image-placeholder","aria-hidden":"true"}),a.createElement("img",ju({ref:x,src:N,alt:n,className:A,style:M,onLoad:function(e){_(!0),S(!1),m&&m(e)},onError:function(e){S(!0),_(!1),u&&P(u),f&&f(e)},loading:c?"lazy":"eager"},b)))};xu.displayName="Image",xu.propTypes={src:l().string.isRequired,alt:l().string.isRequired,aspectRatio:l().string,objectFit:l().oneOf(["cover","contain","fill","none","scale-down"]),lazy:l().bool,placeholder:l().string,fallback:l().string,onLoad:l().func,onError:l().func,className:l().string,rounded:l().bool,border:l().bool};var ku=["badges","className","size","overlap"],Au=["variant","label"];function Lu(){return Lu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lu.apply(null,arguments)}function Tu(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Mu=function(e){var t=e.badges,n=void 0===t?[]:t,r=e.className,o=void 0===r?"":r,i=e.size,l=void 0===i?"md":i,c=e.overlap,s=void 0===c?5:c,u=Tu(e,ku),m="wpmudev-badge-group",f=[m,"".concat(m,"--").concat(l),o].filter(Boolean).join(" ");return n&&0!==n.length?a.createElement("div",Lu({className:f,style:{"--badge-overlap":"".concat(s,"px")}},u),n.map(function(e,t){if("string"==typeof e)return a.createElement("div",{key:t,className:"".concat(m,"__item")},a.createElement(Un,{size:l},e));var n=e.variant,r=e.label,o=Tu(e,Au);return a.createElement("div",{key:t,className:"".concat(m,"__item")},a.createElement(Un,Lu({size:l,variant:n},o),r))})):null};Mu.displayName="BadgeGroup",Mu.propTypes={badges:l().arrayOf(l().oneOfType([l().string,l().shape({variant:l().oneOf(["default","primary","success","warning","error","info","pro","new"]),label:l().node.isRequired})])).isRequired,size:l().oneOf(["sm","md","lg"]),overlap:l().number,className:l().string};function Iu(e){return Iu="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},Iu(e)}var zu=["menuItems","activeMenuKey","className","align","mode","direction"];function Hu(){return Hu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hu.apply(null,arguments)}function Bu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Du(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Du(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Du(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vu(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 Zu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vu(Object(n),!0).forEach(function(t){Fu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fu(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Iu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Iu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Iu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ru=function(e){switch(e){case"center":return"center";case"left":return"flex-start";default:return"flex-end"}},Uu=function(e){var t=e.menuItems,n=e.activeMenuKey,r=e.className,o=e.align,i=e.mode,l=void 0===i?"light":i,c=e.direction,s=void 0===c?"row":c,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,zu);if(!t)return null;var m=["wpmudev-nav",r,l&&"wpmudev-nav__mode-".concat(l),s&&"wpmudev-nav__direction-".concat(s)].filter(Boolean).join(" "),f=Zu(Zu({},Object.fromEntries(Object.entries({"--wpmudev-nav-align":o?Ru(o):null,"--wpmudev-nav-direction":s||null}).filter(function(e){var t=Bu(e,2)[1];return null!=t}))),u.style||{});return a.createElement("nav",Hu({className:m},u,{style:f}),a.createElement("ul",{className:"wpmudev-nav__list"},t.map(function(e){var t=e.type?" wpmudev-nav__item-type-".concat(e.type):"",r="wpmudev-nav__item wpmudev-nav__item-".concat(e.key).concat(t),o=n===e.key,i=e.className?" ".concat(e.className):"",l=o?" wpmudev-nav__item--active":"";return a.createElement("li",{key:e.key,className:"wpmudev-nav__item-wrap wpmudev-nav__item-wrap-".concat(e.key).concat(o?" wpmudev-nav__item-wrap--active":"")},a.createElement("div",{className:r+l+i,style:null==e?void 0:e.style},"function"==typeof e.content?e.content(o):e.content))})))};Uu.displayName="Navigation",Uu.propTypes={activeMenuKey:l().string,className:l().string,menuItems:l().shape({key:l().string.isRequired,type:l().string,content:l().func.isRequired}).isRequired,align:l().oneOf(["left","center","right"]),direction:l().oneOf(["row","column"]),mode:l().oneOf(["light","dark"]),style:l().object};var Gu=Uu,Wu=["avatar","initials","backgroundColor","textColor","size","style"];function qu(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return $u(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):($u(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,$u(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,$u(m,"constructor",s),$u(s,"constructor",c),c.displayName="GeneratorFunction",$u(s,o,"GeneratorFunction"),$u(m),$u(m,o,"Generator"),$u(m,r,function(){return this}),$u(m,"toString",function(){return"[object Generator]"}),(qu=function(){return{w:a,m:f}})()}function $u(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}$u=function(e,t,n,r){function a(t,n){$u(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},$u(e,t,n,r)}function Ku(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function Xu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ju(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ju(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ju(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Yu(){return Yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yu.apply(null,arguments)}var Qu=function(e){var t=e.avatar,n=e.initials,r=e.backgroundColor,o=e.textColor,i=e.size,l=void 0===i?"30px":i,c=e.style,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Wu),u=N({"--wpmudev-profile-menu-avatar-size":l,"--wpmudev-profile-menu-avatar-bg":r,color:o},c);return a.createElement("div",Yu({className:"wpmudev-profile-menu__avatar-wrapper",style:u},s),a.isValidElement(t)?t:t?a.createElement("img",{src:t,alt:"Profile",className:"wpmudev-profile-menu__avatar-image"}):n?a.createElement("div",{className:"wpmudev-profile-menu__avatar-initials"},n):a.createElement("div",{className:"wpmudev-profile-menu__avatar-default"},a.createElement(gn,{name:"User",color:"#fff"})))},em=function(e){var t=e.profileData,n=e.hubConnectorData,r=void 0===n?{}:n,o=e.redirectToDashboardIfAvailable,i=e.onCreateAccount,l=e.onSignIn,c=e.onDisconnectSite,s=e.connectedMenuItems,u=void 0===s?[]:s,m=e.className,f=void 0===m?"":m,p=!(null==r||!r.is_logged_in),d=Xu((0,a.useState)(!1),2),v=d[0],h=d[1],C=t||{},g=C.avatar,b=C.initials,y=C.profileBackgroundColor,w=C.profileFontColor,_=C.email,E=C.userName,O=C.displayName,S=a.createElement(Qu,{avatar:p?g||"":br(g,a.createElement(gn,{name:"UserDisconnected",color:"#fff",size:16})),initials:b||"",backgroundColor:p?y||"#0059ff":"#1a1a1a",textColor:w||"#fff"}),j=["wpmudev-profile-menu__trigger",v&&"wpmudev-profile-menu__trigger--active",f].filter(Boolean).join(" "),N=a.createElement("button",{className:j,"aria-label":"Profile menu",onClick:function(){return h(function(e){return!e})}},S,a.createElement(gn,{name:"ChevronDown",color:"var( --wpmudev-text-primary, #1a1a1a )",size:16})),x=function(){var e=Xu((0,a.useState)(!1),2),t=e[0],n=e[1],r=function(){var e,t=(e=qu().m(function e(t){return qu().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n(!0),e.p=1,!c){e.n=2;break}return e.n=2,c();case 2:return e.p=2,n(!1),e.f(2);case 3:return e.a(2)}},e,null,[[1,,2,3]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Ku(a,r,o,i,l,"next",e)}function l(e){Ku(a,r,o,i,l,"throw",e)}i(void 0)})});return function(e){return t.apply(this,arguments)}}();return a.createElement("div",{className:"wpmudev-profile-menu__connected-content"},a.createElement(P,{align:"center",gap:"10px",style:{minWidth:0,padding:"15px 20px 10px",marginBottom:u.length>0?"-2px":"1px"}},a.createElement("div",{style:{flexShrink:0}},S),a.createElement(P.Column,{gap:"0",style:{minWidth:0,flex:1}},a.createElement(Hi,{size:"11px",lineHeight:1.636,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},O||(0,Zn.__)("Guest","wp-smushit")),(_||E)&&a.createElement(Hi,{size:"11px",lineHeight:1.636,color:"#666",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},_||E))),u.length>0&&a.createElement(a.Fragment,null,a.createElement("hr",{style:{marginTop:0,marginBottom:"0"}}),a.createElement(P.Column,{className:"wpmudev-profile-menu__list-items",gap:"0"},u.map(function(e,t){return a.createElement(Hi.Link,{className:"wpmudev-profile-menu__list-item",key:t,href:e.link},a.createElement(P,{as:"span",align:"center",gap:"7px"},e.icon,a.createElement(Hi,{size:"sm"},e.text)),a.createElement(gn,{name:"OpenNewWindow",color:"var( --wpmudev-text-primary, #1a1a1a )",size:14}))}))),p&&a.createElement(a.Fragment,null,a.createElement("hr",null),a.createElement("div",{className:"wpmudev-profile-menu__disconnect-section"},a.createElement(jn,{variant:"transparent",style:{fontWeight:400},loading:t,onClick:r},a.createElement(gn,{name:"Logout",color:"var( --wpmudev-text-primary, #1a1a1a )",size:16}),(0,Zn.__)("Disconnect","wp-smushit")))))},k=function(){null!=o&&o()||i&&i()},A=function(){null!=o&&o()||l&&l()},L=function(){return a.createElement("div",{className:"wpmudev-profile-menu__disconnected-content"},S,a.createElement(Hi.P,{style:{marginTop:"11px"}},(0,Zn.__)("Connect to WPMU DEV","wpmudev"),a.createElement(Hi,{color:"#666"},(0,Zn.__)("to use all free features","wpmudev"))),a.createElement("hr",null),a.createElement("div",{class:"wpmudev-profile-menu__actions"},a.createElement(jn,{variant:"black",onClick:k},a.createElement(Hi,{size:"xs",color:"#fff",weight:"bold"},(0,Zn.__)("Create free account","wp-smushit"))),a.createElement("span",{className:"wpmudev-profile-menu__or-separator"},a.createElement(Hi,{size:"xs"},(0,Zn.__)("or","wp-smushit"))),a.createElement(jn,{variant:"transparent",onClick:A},a.createElement(Hi,{size:"xs",weight:"bold"},(0,Zn.__)("Sign in","wp-smushit")))))};return a.createElement("div",{className:"wpmudev-profile-menu"},a.createElement(Dm,{className:"wpmudev-profile-menu__dropdown",open:v,placement:"bottom-left",trigger:N,onClose:function(){return h(!1)},width:"240px"},p||br()?a.createElement(x,null):a.createElement(L,null)))};em.propTypes={profileData:l().shape({avatar:l().oneOfType([l().node,l().string]),initials:l().string,profileBackgroundColor:l().string,profileFontColor:l().string,email:l().string}),hubConnectorData:l().object,redirectToDashboardIfAvailable:l().func,onCreateAccount:l().func,onSignIn:l().func,onDisconnectSite:l().func,connectedMenuItems:l().arrayOf(l().shape({icon:l().node,text:l().string,link:l().string})),className:l().string};var tm=em;function nm(e){var t=e.touches?e.touches[0]:e;return{pointerX:t.clientX,pointerY:t.clientY}}function rm(e){var t=(0,a.useRef)(!1),n=(0,a.useCallback)(function(n){if(t.current){n.preventDefault();var r=nm(n),o=r.pointerX,a=r.pointerY;e(o,a)}},[e]),r=(0,a.useCallback)(function(){t.current=!1,document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r)},[n]);return(0,a.useCallback)(function(o){t.current=!0;var a=nm(o),i=a.pointerX,l=a.pointerY;e(i,l),document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",r)},[e,n,r])}function om(e){return om="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},om(e)}function am(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return im(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?im(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function im(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function lm(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 cm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lm(Object(n),!0).forEach(function(t){sm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sm(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=om(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=om(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==om(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var um={hue:0,saturation:0,brightness:100,alpha:1};function mm(e,t,n){var r=e/255,o=t/255,a=n/255,i=Math.max(r,o,a),l=i-Math.min(r,o,a),c=0;if(0!==l)switch(i){case r:c=((o-a)/l+(o<a?6:0))/6;break;case o:c=((a-r)/l+2)/6;break;case a:c=((r-o)/l+4)/6}return{hue:360*c,saturation:100*(0===i?0:l/i),brightness:100*i}}function fm(e){var t=1;return 8===(e=e.replace("#","")).length&&(t=parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),cm(cm({},mm(parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16))),{},{alpha:t})}function pm(e){return e?e.startsWith("rgb")?(t=e.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*([\d.]+))?\s*\)/))?cm(cm({},mm(parseInt(t[1]),parseInt(t[2]),parseInt(t[3]))),{},{alpha:void 0!==t[4]?parseFloat(t[4]):1}):um:fm(e):um;var t}function dm(e,t,n){var r=(n/=100)*(t/=100),o=r*(1-Math.abs(e/60%2-1)),a=n-r,i=0,l=0,c=0;return e<60?(i=r,l=o):e<120?(i=o,l=r):e<180?(l=r,c=o):e<240?(l=o,c=r):e<300?(i=o,c=r):(i=r,c=o),[Math.round(255*(i+a)),Math.round(255*(l+a)),Math.round(255*(c+a))]}function vm(e,t,n){return"#"+dm(e,t,n).map(function(e){return e.toString(16).padStart(2,"0")}).join("")}function hm(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=am(dm(e,t,n),3),a=o[0],i=o[1],l=o[2];return"rgba(".concat(a,", ").concat(i,", ").concat(l,", ").concat(r,")")}var Cm=["color","onChange","showButton","buttonLabel","showOpacity","align","className"];function gm(){return gm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gm.apply(null,arguments)}function bm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ym(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ym(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ym(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var wm="wpmudev-color-picker";function _m(e,t,n){return Math.max(0,Math.min((e-t)/n,1))}var Em=function(e){var t=e.percent;e.color;return a.createElement(a.Fragment,null,a.createElement("span",{className:"".concat(wm,"__opacity-icon")},a.createElement(gn,{size:16,name:"Opacity",color:"#1a1a1a"})),a.createElement("span",{className:"opacity-value"},t,a.createElement("span",{className:"opacity-percent-sign"},"%")))},Om=function(e){var t=e.color,n=e.onChange,r=e.showButton,o=e.buttonLabel,i=e.showOpacity,l=void 0===i||i,c=e.align,s=void 0===c?"left":c,u=e.className,m=void 0===u?"":u,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Cm),p=pm(t),d=bm((0,a.useState)(p.hue),2),v=d[0],h=d[1],C=bm((0,a.useState)(p.saturation),2),g=C[0],b=C[1],y=bm((0,a.useState)(p.brightness),2),w=y[0],_=y[1],E=bm((0,a.useState)(p.alpha),2),O=E[0],S=E[1],j=bm((0,a.useState)(!1),2),N=j[0],P=j[1],x=bm((0,a.useState)(""),2),k=x[0],A=x[1],L=(0,a.useRef)(null),T=(0,a.useRef)(null),M=(0,a.useRef)(null),I=(0,a.useRef)(null),z=(0,a.useRef)(null);(0,a.useEffect)(function(){A(vm(v,g,w).replace("#","").toUpperCase())},[v,g,w]),(0,a.useEffect)(function(){if(t&&t!==z.current){var e=pm(t),n=0===e.saturation||0===e.brightness;h(function(t){return n?t:e.hue}),b(e.saturation),_(e.brightness),S(e.alpha)}},[t]),(0,a.useEffect)(function(){if(N){var e=function(e){I.current&&!I.current.contains(e.target)&&P(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}},[N]);var H=(0,a.useCallback)(function(e,t,r,o){var a=o<1?hm(e,t,r,o):vm(e,t,r);z.current=a,n(a)},[n]),B=(0,a.useCallback)(function(e,t){var n,r=null===(n=L.current)||void 0===n?void 0:n.getBoundingClientRect();if(r){var o=100*_m(e,r.left,r.width),a=100-100*_m(t,r.top,r.height);b(o),_(a),H(v,o,a,O)}},[v,O,H]),D=(0,a.useCallback)(function(e){var t,n=null===(t=T.current)||void 0===t?void 0:t.getBoundingClientRect();if(n){var r=360*_m(e,n.left,n.width);h(r),H(r,g,w,O)}},[g,w,O,H]),V=(0,a.useCallback)(function(e){var t,n=null===(t=M.current)||void 0===t?void 0:t.getBoundingClientRect();if(n){var r=Math.round(100*_m(e,n.left,n.width))/100;S(r),H(v,g,w,r)}},[v,g,w,H]),Z=rm(B),F=rm(D),R=rm(V),U=vm(v,g,w),G=function(e){return vm(e,100,100)}(v),W=Math.round(100*O),q=[wm,"right"===s?"".concat(wm,"--align-right"):"",m].filter(Boolean).join(" ");return a.createElement("div",gm({className:q,ref:I},f),a.createElement("div",{className:"".concat(wm,"__input-wrapper"),onClick:function(){return P(!N)},role:"button",tabIndex:0,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||P(!N)}},a.createElement("div",{className:"".concat(wm,"__input-container")},a.createElement("span",{className:"".concat(wm,"__preview"),style:{backgroundColor:U}},!t&&a.createElement("span",{className:"".concat(wm,"__preview-empty")})),a.createElement("span",{className:"".concat(wm,"__hex-display")},k)),l&&a.createElement("div",{className:"".concat(wm,"__opacity-display")},a.createElement(Em,{percent:W,color:U}))),N&&a.createElement("div",{className:"".concat(wm,"__dropdown")},a.createElement("div",{className:"".concat(wm,"__panel"),ref:L,style:{backgroundColor:G},onMouseDown:Z,onTouchStart:Z},a.createElement("div",{className:"".concat(wm,"__panel-white")}),a.createElement("div",{className:"".concat(wm,"__panel-black")}),a.createElement("div",{className:"".concat(wm,"__panel-cursor"),style:{"--x":"".concat(g,"%"),"--y":"".concat(100-w,"%")}})),a.createElement("div",{className:"".concat(wm,"__hue-slider"),ref:T,onMouseDown:F,onTouchStart:F},a.createElement("div",{className:"".concat(wm,"__slider-thumb"),style:{"--x":"".concat(v/360*100,"%"),backgroundColor:G}})),l&&a.createElement("div",{className:"".concat(wm,"__alpha-slider"),ref:M,onMouseDown:R,onTouchStart:R},a.createElement("div",{className:"".concat(wm,"__alpha-gradient"),style:{background:"linear-gradient(to right, transparent, ".concat(U,")")}}),a.createElement("div",{className:"".concat(wm,"__slider-thumb ").concat(wm,"__slider-thumb--alpha"),style:{"--x":"".concat(100*O,"%")}})),a.createElement("div",{className:"".concat(wm,"__bottom-bar")},a.createElement("div",{className:"".concat(wm,"__bottom-preview-wrapper")},a.createElement("span",{className:"".concat(wm,"__bottom-preview"),style:{backgroundColor:hm(v,g,w,O)}})),a.createElement("div",{className:"".concat(wm,"__bottom-hex")},a.createElement("input",{type:"text",value:k,onChange:function(e){var t=e.target.value.replace(/[^0-9a-fA-F]/g,"").slice(0,6);if(A(t),6===t.length){var n=fm(t),r=0===n.saturation||0===n.brightness?v:n.hue;h(r),b(n.saturation),_(n.brightness),H(r,n.saturation,n.brightness,O)}},maxLength:6,className:"".concat(wm,"__hex-input"),"aria-label":(0,Zn.__)("Hex color value","wp-smushit")})),l&&a.createElement("div",{className:"".concat(wm,"__bottom-opacity")},a.createElement(Em,{percent:W,color:U})))),r&&a.createElement(Nn,{size:"sm",variant:"ghost",className:"".concat(wm,"__select"),onClick:function(){return P(!N)}},o))};Om.displayName="ColorPicker",Om.propTypes={color:l().string.isRequired,onChange:l().func.isRequired,className:l().string,showButton:l().bool,buttonLabel:l().string,showOpacity:l().bool,align:l().oneOf(["left","right"])};function Sm(e){return Sm="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},Sm(e)}var jm=["tabs","className","activeTab","onChange","size","collapsed","style"];function Nm(){return Nm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nm.apply(null,arguments)}function Pm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xm(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xm(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function km(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 Am(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?km(Object(n),!0).forEach(function(t){Lm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):km(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Lm(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Sm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Sm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sm(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tm(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Mm=function(e){var t=e.tabs,n=e.className,r=e.activeTab,o=e.onChange,i=e.size,l=e.collapsed,c=void 0!==l&&l,s=e.style,u=Tm(e,jm),m="wpmudev-side-navigation",f=[m,c&&"".concat(m,"--collapsed"),n].filter(Boolean).join(" "),p=Am(Am({},Object.fromEntries(Object.entries({"--wpmudev-side-nav-item-font-size":i?Ii(i):null}).filter(function(e){var t=Pm(e,2)[1];return null!=t}))),s);return a.createElement("ul",Nm({className:f},u,{style:p}),t.map(function(e){var t=e.icon?a.cloneElement(e.icon,{className:"colored"}):null,n=e.activeIcon?e.activeIcon:null,i=e.tooltip||("string"==typeof e.label?e.label:void 0);if(e.link&&e.link.href)return a.createElement(a.Fragment,{key:e.id},a.createElement("li",{"data-tooltip":i,className:"".concat(m,"__item ").concat(m,"__item-link ").concat(e.id===r?"".concat(m,"__item--active"):""," ").concat(e.className||"")},a.createElement("a",{href:e.link.href,target:e.link.target||"_self",rel:e.link.rel,className:"".concat(m,"__link")},t,!c&&e.label)),e.separator&&a.createElement("li",{className:"".concat(m,"__item-separator"),"aria-hidden":"true"}));var l=t;return e.id===r&&(l=n||t),a.createElement(a.Fragment,{key:e.id},a.createElement("li",{"data-tooltip":i,className:"".concat(m,"__item ").concat(e.id===r?"".concat(m,"__item--active"):"")},a.createElement(Gs,{id:e.id,active:e.id===r,onClick:function(){return t=e.id,void(o&&o(t));var t},tooltip:i},l,!c&&e.label)),e.separator&&a.createElement("li",{className:"".concat(m,"__item-separator"),"aria-hidden":"true"}))}))};(Mm.Panel=function(e){var t=e.children,n=e.tabId,r=e.activeTab,o=e.className,i=void 0===o?"":o;return a.createElement(Ws,{baseClass:"wpmudev-side-navigation-panel",tabId:n,activeTab:r,className:i},t)}).displayName="SideNavigation.Panel";var Im=Ws.propTypes,zm=(Im.baseClass,Tm(Im,["baseClass"]));Mm.Panel.propTypes=zm,Mm.displayName="SideNavigation",Mm.defaultProps={},Mm.propTypes={tabs:l().arrayOf(l().shape({id:l().string.isRequired,label:l().node.isRequired,icon:l().node,activeIcon:l().node,separator:l().bool,link:l().shape({href:l().string.isRequired,target:l().string,rel:l().string}),className:l().string})).isRequired,activeTab:l().string,className:l().string,onChange:l().func,size:l().string,collapsed:l().bool,style:l().object};var Hm=["open","onOpen","onClose","trigger","children","placement","className","disabled","closeOnClickOutside","closeOnEscape","width","background"];function Bm(){return Bm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bm.apply(null,arguments)}var Dm=function(e){var t=e.open,n=e.onOpen,r=e.onClose,o=e.trigger,i=e.children,l=e.placement,c=void 0===l?"bottom-center":l,s=e.className,u=e.disabled,m=void 0!==u&&u,f=e.closeOnClickOutside,p=void 0===f||f,d=e.closeOnEscape,v=void 0===d||d,h=e.width,C=e.background,g=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Hm),b=(0,a.useRef)(null);a.useEffect(function(){if(p){var e=function(e){b.current&&!b.current.contains(e.target)&&r&&r(e)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}},[t,r,p]);var y="wpmudev-dropdown",w=[y,s].filter(Boolean).join(" ");return a.createElement("div",Bm({ref:b,className:w},g),a.createElement("span",{onClick:function(e){m||(t?r&&r(e):n&&n(e))},"aria-haspopup":"true","aria-expanded":t,tabIndex:m?-1:0,style:{cursor:m?"not-allowed":"pointer",display:"inline-block"}},o),t&&a.createElement(Ns,{baseClass:y,placement:c,background:C,onClose:r,closeOnEscape:v,showArrow:!1,icon:!1,useAvatar:!1,width:h},i))};Dm.displayName="DropDown",Dm.propTypes={open:l().bool,onOpen:l().func,onClose:l().func,trigger:l().node.isRequired,children:l().node.isRequired,placement:l().oneOf(["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"]),className:l().string,disabled:l().bool,closeOnEscape:l().bool,showArrow:l().bool,width:l().oneOfType([l().string,l().number]),background:l().string};var Vm=["placement","open","children","className","popoverInfo","background"];function Zm(){return Zm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zm.apply(null,arguments)}var Fm=function(e){var t=e.placement,n=void 0===t?"top-right":t,r=e.open,o=e.children,i=e.className,l=e.popoverInfo,c=e.background,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Vm),u="wpmudev-popover",m=[u,i].filter(Boolean).join(" ");return a.createElement("div",Zm({className:m},s),o,r&&a.createElement(Ns,Zm({baseClass:u,placement:n,background:c,showArrow:!0},l)))};Fm.displayName="Popover",Fm.propTypes={open:l().bool,children:l().node.isRequired,className:l().string,style:l().object,placement:l().oneOf(["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"]),popoverInfo:l().shape({title:l().string,description:l().string,actions:l().node}).isRequired,background:l().string};var Rm=["open","steps","currentStep","background","style"];function Um(){return Um=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Um.apply(null,arguments)}function Gm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Wm(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wm(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var qm=function(e){var t=e.open,n=e.steps,r=e.currentStep,o=void 0===r?0:r,i=e.background,l=e.style,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Rm),s=(0,a.useRef)(),u=n[o],m=Gm((0,a.useState)(null),2),f=m[0],p=m[1];if(a.useLayoutEffect(function(){if(u&&u.target){var e=document.querySelector(u.target);p(e)}else p(null)},[u]),!u||!f||!t)return null;var d=u.placement||"bottom-right",v=a.createElement(Ns,Um({ref:s,showArrow:!0},u,{placement:d,background:i})),h=f.getBoundingClientRect(),C=N({position:"absolute",left:h.left+window.scrollX+h.width/2,top:d.includes("top")?h.bottom+window.scrollY-h.height:h.bottom+window.scrollY,zIndex:9999},l);return fl.createPortal(a.createElement(Yr,null,a.createElement("div",Um({},c,{style:C}),v)),document.body)};qm.propTypes={steps:l().arrayOf(l().shape({target:l().string.isRequired,title:l().string,description:l().string,actions:l().node,placement:l().oneOf(["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"])})).isRequired,currentStep:l().number,open:l().bool,background:l().string,style:l().object};var $m=["placement","open","className","toastInfo","background","width","closable","onClose","autoClose","autoCloseDelay","children"],Km=["checked","description","className","onChange"];function Xm(){return Xm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xm.apply(null,arguments)}function Jm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ym(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ym(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ym(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Qm(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ef=function(e){var t=e.placement,n=void 0===t?"top-right":t,r=e.open,o=e.className,i=e.toastInfo,l=e.background,c=e.width,s=e.closable,u=e.onClose,m=e.autoClose,f=void 0===m||m,p=e.autoCloseDelay,d=e.children,v=Qm(e,$m),h=Jm((0,a.useState)(r),2),C=h[0],g=h[1],b=Jm((0,a.useState)(!1),2),y=b[0],w=b[1],_=(0,a.useRef)(null),E=function(){return{placement:n,className:o,toastInfo:i,background:l,width:c,closable:s,onClose:u,autoClose:f,autoCloseDelay:p,children:d,extraProps:v}},O=(0,a.useRef)(E());if((0,a.useEffect)(function(){return function(){_.current&&clearTimeout(_.current)}},[]),(0,a.useEffect)(function(){r&&(O.current=E())},[r,n,o,i,l,c,s,u,f,p,d,v]),(0,a.useEffect)(function(){if(r)return _.current&&(clearTimeout(_.current),_.current=null),g(!0),void w(!1);C&&!y&&(w(!0),_.current=setTimeout(function(){g(!1),w(!1),_.current=null},1e3))},[r,C,y]),!C)return null;var S=r?E():O.current,j="wpmudev-toast",N=[j,S.children&&"".concat(j,"--overlap"),y&&"".concat(j,"--closing"),"".concat(j,"--").concat(S.placement),S.className].filter(Boolean).join(" ");return fl.createPortal(a.createElement(Yr,null,a.createElement("div",Xm({className:N},S.extraProps),a.createElement(Ns,Xm({variant:"toast",baseClass:j,placement:S.placement,background:S.background,width:S.width,closable:S.closable,onClose:S.onClose,autoClose:S.autoClose,autoCloseDelay:S.autoCloseDelay},S.toastInfo)),S.children)),document.body)};ef.Acknowledge=function(e){var t=e.checked,n=e.description,r=void 0===n?(0,Zn.__)("Understood, dismiss future warnings","wp-smushit"):n,o=e.className,i=void 0===o?"":o,l=e.onChange,c=Qm(e,Km),s=["wpmudev-toast__acknowledge",i].filter(Boolean).join(" ");return a.createElement(Hi.Label,Xm({htmlFor:"acknowledge",size:"xs",className:s},c),a.createElement("input",{type:"checkbox",id:"acknowledge",checked:t,name:"acknowledge",onChange:function(e){l&&l(e.target.checked)}}),a.createElement("span",{"aria-hidden":"true"},a.createElement(gn,{name:"Check",size:"14",color:"var(--wpmudev-text-primary, #1a1a1a)"})),a.createElement("span",null,r))},ef.Acknowledge.displayName="Toast.Acknowledge",ef.Acknowledge.propTypes={gap:l().string,className:l().string,description:l().string,onChange:l().func,checked:l().bool},ef.displayName="Toast",ef.propTypes={open:l().bool,className:l().string,style:l().object,toastInfo:l().shape({title:l().string,description:l().string,actions:l().node}).isRequired,background:l().string,width:l().string,closable:l().bool,onClose:l().func,placement:l().oneOf(["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"]),children:l().node,autoClose:l().bool,autoCloseDelay:l().number};var tf=["children","className"],nf=["children","justify","align","gap","className"],rf=["children","className"],of=["children","className"];function af(){return af=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},af.apply(null,arguments)}function lf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var cf=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=lf(e,tf),i=["wpmudev-setting-card",r].filter(Boolean).join(" ");return a.createElement(P.Column,af({className:i},o),t)},sf=function(e){var t=e.children,n=e.justify,r=e.align,o=void 0===r?"center":r,i=e.gap,l=void 0===i?"5px":i,c=e.className,s=void 0===c?"":c,u=lf(e,nf);return a.createElement(P,af({align:o,justify:n,gap:l,className:"wpmudev-setting-card__header ".concat(s)},u),t)},uf=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=lf(e,rf),i=["wpmudev-setting-card__body",r].filter(Boolean).join(" ");return a.createElement(P.Column,af({fullWidth:!0,className:i},o),t)},mf=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=lf(e,of);return a.createElement("div",af({className:"wpmudev-setting-card__footer ".concat(r)},o),t)};cf.Header=sf;cf.Title=function(e){return a.createElement(Hi.Heading,af({size:"sm"},e))},cf.Body=uf,cf.Footer=mf,cf.propTypes={children:l().node.isRequired,className:l().string},sf.propTypes={children:l().node.isRequired,className:l().string,align:l().oneOf(["left","center","right"]),justify:l().oneOf(["start","center","end"]),gap:l().string},uf.propTypes={children:l().node.isRequired,className:l().string},mf.propTypes={children:l().node.isRequired,className:l().string};var ff=cf,pf=["isOpen","title","onClose","children","className","overlayClassName","showCloseButton","closeOnEscape","maxWidth","overflowHidden"];function df(){return df=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},df.apply(null,arguments)}var vf=function(e){var t=e.isOpen,n=void 0!==t&&t,r=e.title,o=e.onClose,i=e.children,l=e.className,c=void 0===l?"":l,s=e.overlayClassName,u=void 0===s?"":s,m=e.showCloseButton,f=void 0===m||m,p=e.closeOnEscape,d=void 0===p||p,v=e.maxWidth,h=void 0===v?"1200px":v,C=e.overflowHidden,g=void 0===C||C,b=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,pf),y=(0,a.useRef)(null),w=ac(n,o,d),_=w.closing,E=w.shouldRender,O=w.handleClose;if((0,a.useEffect)(function(){if(g)return document.body.style.overflow=E?"hidden":"",function(){document.body.style.overflow=""}},[E,g]),!E)return null;var S=["wpmudev-popup",c,_?"wpmudev-popup--closing":""].filter(Boolean).join(" "),j=["wpmudev-popup-overlay",u,_?"wpmudev-popup-overlay--closing":""].filter(Boolean).join(" "),N=a.createElement("div",df({className:j},b),a.createElement("div",{ref:y,className:S,style:{maxWidth:h},role:"dialog","aria-modal":"true"},a.createElement("div",{className:"wpmudev-popup__header"},r&&a.createElement("h2",{className:"wpmudev-popup__title"},r)),a.createElement("div",{className:"wpmudev-popup__content"},i)),f&&a.createElement("div",{className:"wpmudev-popup__close-tooltip"},a.createElement(Ms.Basic,{placement:"bottom-center",width:"fit-content",content:(0,Zn.__)("Exit","wp-smushit")},a.createElement("button",{className:"wpmudev-popup-close",onClick:O},a.createElement(gn,{name:"Close",size:16}))))),P=document.getElementById("wpmudev-ui-root")||document.body;return(0,fl.createPortal)(N,P)};vf.propTypes={isOpen:l().bool,title:l().string,onClose:l().func,children:l().node,className:l().string,overlayClassName:l().string,showCloseButton:l().bool,closeOnEscape:l().bool,maxWidth:l().string};var hf=vf,Cf=["children","className","gap","type"],gf=["title","children","gap","open","onOpenChange","className"],bf=["title","children","initialOpen","className"];function yf(){return yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yf.apply(null,arguments)}function wf(e){return function(e){if(Array.isArray(e))return Of(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ef(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||Ef(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ef(e,t){if(e){if("string"==typeof e)return Of(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Of(e,t):void 0}}function Of(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Sf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var jf=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.gap,i=void 0===o?0:o,l=e.type,c=void 0===l?"single":l,s=Sf(e,Cf),u=["wpmudev-accordion",r].filter(Boolean).join(" "),m=a.Children.toArray(t),f=_f((0,a.useState)("multiple"===c?[]:null),2),p=f[0],d=f[1];return a.createElement(P.Column,yf({gap:i,className:u},s),m.map(function(e,t){if(!a.isValidElement(e))return null;var n="multiple"===c?p.includes(t):p===t;return a.cloneElement(e,{open:n,onOpenChange:function(){return function(e){d("multiple"===c?function(t){return t.includes(e)?t.filter(function(t){return t!==e}):[].concat(wf(t),[e])}:function(t){return t===e?null:e})}(t)},key:e.key||t})}))},Nf=function(e){var t=e.title,n=e.children,r=e.gap,o=void 0===r?0:r,i=e.open,l=e.onOpenChange,c=e.className,s=void 0===c?"":c,u=Sf(e,gf),m="wpmudev-accordion__item",f=[m,i&&"".concat(m,"--open"),s].filter(Boolean).join(" ");return a.createElement(P.Column,yf({gap:o,fullWidth:!0,className:f},u),a.createElement(P,{gap:0,fullWidth:!0,align:"center",justify:"space-between",className:"".concat(m,"__header"),onClick:function(){l&&l()}},a.createElement(Hi.Heading,{className:"".concat(m,"__title")},t),a.createElement(gn,{name:i?"ChevronUp":"ChevronDown",width:11,height:6})),a.createElement("div",{className:"".concat(m,"__content")},a.createElement("div",{className:"".concat(m,"__content-animator")},a.createElement("div",{className:"".concat(m,"__content-inner")},n))))},Pf=function(e){var t=e.title,n=e.children,r=e.initialOpen,o=void 0!==r&&r,i=e.className,l=void 0===i?"":i,c=Sf(e,bf),s=_f((0,a.useState)(o),2),u=s[0],m=s[1],f=["wpmudev-accordion","wpmudev-accordion--single",l].filter(Boolean).join(" ");return a.createElement(P.Row,{fullWidth:!0,className:f},a.createElement(Nf,yf({title:t,open:u,onOpenChange:function(){return m(function(e){return!e})}},c),n))};Pf.propTypes={title:l().string.isRequired,children:l().node.isRequired,className:l().string,initialOpen:l().bool},(jf.SingleItem=Pf).displayName="Accordion.SingleItem",jf.item=Nf,Nf.displayName="Accordion.Item",Nf.propTypes={title:l().string.isRequired,children:l().node.isRequired,gap:l().string,open:l().bool,onOpenChange:l().func,className:l().string},jf.displayName="Accordion",jf.propTypes={children:l().node.isRequired,gap:l().string,className:l().string,type:l().oneOf(["single","multiple"])};var xf=["children","borderColor","className","padding","style"],kf=["name"],Af=["name"];function Lf(){return Lf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lf.apply(null,arguments)}function Tf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Mf=function(e){var t=e.children,n=e.borderColor,r=e.className,o=void 0===r?"":r,i=e.padding,l=e.style,c=Tf(e,xf),s=["wpmudev-form-field",o].filter(Boolean).join(" "),u=N({"--wpmudev-form-field-padding":i,"--wpmudev-form-field-border-color":n},l);return a.createElement(P,Lf({direction:"column",fullWidth:!0,className:s},c,{style:u}),t)};Mf.Label=function(e){return a.createElement(Hi.Label,Lf({className:"wpmudev-form-label"},e))},Mf.Label.displayName="FormField.Label";var If=function(e){var t=e.name,n=Tf(e,kf);return a.createElement("input",Lf({type:"text",name:t,id:t,className:"wpmudev-form-control"},n))};If.propTypes={name:l().string.isRequired},Mf.Input=If,Mf.Input.displayName="FormField.Input";var zf=function(e){var t=e.name,n=Tf(e,Af);return a.createElement("textarea",Lf({name:t,id:t,className:"wpmudev-form-control"},n))};zf.propTypes={name:l().string.isRequired},Mf.Textarea=zf,Mf.Textarea.displayName="FormField.Textarea";Mf.Description=function(e){return a.createElement(Hi.P,Lf({size:"xs",className:"wpmudev-form-description"},e))},Mf.Description.displayName="FormField.Description",Mf.displayName="FormField",Mf.propTypes={children:l().node.isRequired,className:l().string,padding:l().string,style:l().object,borderColor:l().string};var Hf=["label","children","checked","onChange","className"];function Bf(){return Bf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bf.apply(null,arguments)}var Df=function(e){var t=e.label,n=e.children,r=e.checked,o=e.onChange,i=e.className,l=void 0===i?"":i,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Hf),s=["wpmudev-form-field","wpmudev-toggle-field",l].filter(Boolean).join(" ");return a.createElement(Mf,Bf({direction:"row",padding:0,className:s,fullWidth:!0,align:"center",onClick:function(e){o&&o(!r)},justify:"space-between"},c),a.createElement(P.Column,{gap:"5px"},a.createElement(Mf.Label,{lineHeight:1},t),n&&a.createElement(Mf.Description,{size:"xs"},n)),a.createElement(cl,{checked:r,onChange:o,disabled:!o}))};Df.displayName="ToggleField",Df.propTypes={label:l().node.isRequired,children:l().oneOfType([l().string,l().node]),checked:l().bool.isRequired,onChange:l().func.isRequired,className:l().string};var Vf=Df,Zf=["children","className","isDisabled"];function Ff(){return Ff=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ff.apply(null,arguments)}var Rf=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.isDisabled,i=void 0!==o&&o,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Zf),c="wpmudev-setting-container",s=[c,r,"partial"===i?"".concat(c,"--partial-disabled"):i&&"".concat(c,"--disabled")].filter(Boolean).join(" ");return a.createElement("div",Ff({className:s},l),t)};Rf.displayName="SettingContainer",Rf.propTypes={children:l().node.isRequired,className:l().string,isDisabled:l().oneOfType([l().bool,l().string])};var Uf=["icon","brandIcon","brandText","title","badge","description","descriptionPosition","buttonText","buttonVariant","buttonSize","onButtonClick","checked","onChange","isProFeature","hideContentWhenOn","alwaysShowContent","children","className","showDetailLink","detailLink"];function Gf(){return Gf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gf.apply(null,arguments)}var Wf=function(e){var t=e.icon,n=e.brandIcon,r=e.brandText,o=e.title,i=e.badge,l=e.description,c=e.descriptionPosition,s=void 0===c?"top":c,u=e.buttonText,m=e.buttonVariant,f=void 0===m?"secondary":m,p=e.buttonSize,d=void 0===p?"md":p,v=e.onButtonClick,h=e.checked,C=e.onChange,g=e.isProFeature,b=void 0!==g&&g,y=e.hideContentWhenOn,w=void 0===y||y,_=e.alwaysShowContent,E=void 0!==_&&_,O=e.children,S=e.className,j=void 0===S?"":S,N=e.showDetailLink,x=void 0!==N&&N,k=e.detailLink,A=void 0===k?"#":k,L=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Uf),T=E||(w?!h:h),M="wpmudev-selector-toggle-card",I=[M,j,b&&br("","".concat(M,"--pro")),T&&"".concat(M,"--with-content"),h&&"".concat(M,"--checked")].filter(Boolean).join(" ");return a.createElement("div",Gf({className:I},L),a.createElement(Vn,null,a.createElement(Vn.Header,{className:"".concat(M,"__header")},a.createElement(P,{align:"center",justify:"space-between",fullWidth:!0},a.createElement(P,{align:"center",gap:"6px"},t&&a.createElement("div",{className:"".concat(M,"__icon")},t),a.createElement("div",{className:"".concat(M,"__title-block")},a.createElement(P,{align:"center",gap:"4px"},a.createElement(Hi,{as:"span",weight:400},o),a.createElement("span",{className:"".concat(M,"__brand")},n&&a.createElement("span",{className:"".concat(M,"__brand_icon")},n)," "," ",r&&a.createElement("span",{className:"".concat(M,"__brand_text")},r)),i&&a.createElement("span",{className:"".concat(M,"__badge")},i)))),a.createElement(P,{align:"center",gap:"7px"},v&&h?a.createElement(P,{align:"center",gap:0,onClick:v,style:{cursor:"pointer"}},a.createElement(gn,{name:"Settings",size:16})):"",a.createElement(cl,{checked:h,onChange:C,disabled:!C})))),T&&a.createElement(Vn.Body,{className:"".concat(M,"__body")},l&&"top"===s&&a.createElement(Hi,{as:"span",size:"xs",className:"description-top"},l),O,l&&"bottom"===s&&a.createElement(Hi,{as:"span",size:"xs",className:"description-bottom"},l),!h&&u&&"bottom"===s&&a.createElement(jn,{variant:f,size:d,onClick:v,className:"".concat(M,"__bottom-button"),style:{width:"100%"}},u),x&&a.createElement(Hi.Link,{style:{width:"100%"},href:A,size:"xs",className:"".concat(M,"__detail-link"),onClick:function(e){return e.stopPropagation()}},a.createElement(jn,{variant:"transparent",size:"sm",style:{width:"100%"}},(0,Zn.__)("Learn more","wp-smushit"))))))};Wf.propTypes={icon:l().node,brandIcon:l().node,brandText:l().string,title:l().node.isRequired,badge:l().node,description:l().node,descriptionPosition:l().oneOf(["top","bottom"]),buttonText:l().string,buttonVariant:l().string,buttonSize:l().string,onButtonClick:l().func,checked:l().bool.isRequired,onChange:l().func.isRequired,isProFeature:l().bool,hideContentWhenOn:l().bool,alwaysShowContent:l().bool,children:l().node.isRequired,className:l().string};var qf=["action","label","onClick","disabled","className","size"];function $f(){return $f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$f.apply(null,arguments)}var Kf=function(){return a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M17.64 9.20454C17.64 8.56636 17.5827 7.95272 17.4764 7.36363H9V10.845H13.8436C13.635 11.97 13.0009 12.9231 12.0477 13.5613V15.8195H14.9564C16.6582 14.2527 17.64 11.9454 17.64 9.20454Z",fill:"#4285F4"}),a.createElement("path",{d:"M9 18C11.43 18 13.4673 17.1941 14.9564 15.8195L12.0477 13.5613C11.2418 14.1013 10.2109 14.4204 9 14.4204C6.65591 14.4204 4.67182 12.8372 3.96409 10.71H0.957275V13.0418C2.43818 15.9831 5.48182 18 9 18Z",fill:"#34A853"}),a.createElement("path",{d:"M3.96409 10.71C3.78409 10.17 3.68182 9.59318 3.68182 9C3.68182 8.40682 3.78409 7.83 3.96409 7.29V4.95818H0.957275C0.347727 6.17318 0 7.54772 0 9C0 10.4523 0.347727 11.8268 0.957275 13.0418L3.96409 10.71Z",fill:"#FBBC05"}),a.createElement("path",{d:"M9 3.57955C10.3214 3.57955 11.5077 4.03364 12.4405 4.92545L15.0218 2.34409C13.4632 0.891818 11.4259 0 9 0C5.48182 0 2.43818 2.01682 0.957275 4.95818L3.96409 7.29C4.67182 5.16273 6.65591 3.57955 9 3.57955Z",fill:"#EA4335"}))},Xf=function(e){var t=e.action,n=void 0===t?"signup":t,r=e.label,o=e.onClick,i=e.disabled,l=void 0!==i&&i,c=e.className,s=void 0===c?"":c,u=e.size,m=void 0===u?"lg":u,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,qf),p="wpmudev-google-button",d=[p,s].filter(Boolean).join(" "),v=r||("signin"===n?"Sign in with Google":"Sign up with Google");return a.createElement(jn,$f({variant:"outline",size:m,className:d,onClick:o,disabled:l,type:"button"},f),a.createElement("span",{className:"".concat(p,"__content")},a.createElement("span",{className:"".concat(p,"__logo")},a.createElement(Kf,null)),a.createElement("span",{className:"".concat(p,"__text")},v)))};Xf.propTypes={action:l().oneOf(["signin","signup"]),label:l().string,onClick:l().func,disabled:l().bool,className:l().string,size:l().oneOf(["sm","md","lg"])};var Jf=function(e){var t=e.isOpen,n=e.onClose,r=e.className,o=void 0===r?"":r,i=e.avatar,l=e.title,c=e.content,s=e.buttonText,u=void 0===s?(0,Zn.__)("Got it","wp-smushit"):s,m=e.buttonVariant,f=void 0===m?"black":m,p=e.showCloseButton,d=void 0===p||p,v=e.showButton,h=void 0===v||v,C=e.extraButton,g=e.closeOnOverlayClick,b=void 0!==g&&g,y=e.closeOnEscape,w=ac(t,n,void 0===y||y),_=w.closing,E=w.shouldRender,O=w.handleClose,S="wpmudev-info-modal",j=[S,"".concat(S,"__info-modal-overlay"),_&&"".concat(S,"--closing"),o].filter(Boolean).join(" ");if((0,a.useEffect)(function(){return document.body.style.overflow=E?"hidden":"",function(){document.body.style.overflow=""}},[E]),!E)return null;var N=a.createElement("div",{className:j,role:"dialog","aria-modal":"true"},a.createElement("div",{className:"".concat(S,"-inner"),onClick:function(e){b&&e.target===e.currentTarget&&O()}},a.createElement("div",{className:"".concat(S,"__info-modal")},d&&a.createElement("button",{className:"".concat(S,"__info-modal-close-x"),onClick:O,"aria-label":(0,Zn.__)("Close","wp-smushit")},a.createElement(gn,{name:"Close",width:12,height:12})),a.createElement("div",{className:"".concat(S,"__info-content-wrapper")},i&&a.createElement("div",{className:"".concat(S,"__info-modal-avatar")},i),l&&a.createElement(Hi.H3,{size:"18",weight:"normal"},l),c&&a.createElement("div",{className:"".concat(S,"__info-modal-content")},"string"==typeof c?a.createElement("p",null,c):c)),h&&a.createElement(P.Column,{className:"".concat(S,"__info-modal-actions"),fullWidth:!0},a.createElement(jn,{style:{width:"100%"},className:"",variant:f,size:"lg",onClick:O},u),C)))),x=document.getElementById("wpmudev-ui-root")||document.body;return(0,fl.createPortal)(N,x)};Jf.propTypes={isOpen:l().bool.isRequired,onClose:l().func.isRequired,baseClass:l().string,avatar:l().node,title:l().string,content:l().node,buttonText:l().string,buttonVariant:l().string,showCloseButton:l().bool,extraButton:l().node,showButton:l().bool,closeOnOverlayClick:l().bool,closeOnEscape:l().bool};var Yf=Jf,Qf=["children","className","variant","size"];function ep(){return ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ep.apply(null,arguments)}var tp=function(e){var t=e.children,n=(e.className,e.variant),r=void 0===n?"default":n,o=e.size,i=void 0===o?"18px":o,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Qf),c=["wpmudev-value-display","wpmudev-value-display--".concat(r)].filter(Boolean).join(" ");return a.createElement(Hi,ep({size:i,className:c},l),t)};tp.propTypes={className:l().string,bytes:l().number.isRequired,variant:l().oneOf(["default","empty","primary","secondary"])};var np=["color","customIconSize","borderRadius","pluginIconName","className"];var rp=function(e){var t=e.color,n=void 0===t?"#fff":t,r=e.customIconSize,o=void 0===r?"16":r,i=e.borderRadius,l=void 0===i?"50%":i,c=e.pluginIconName,s=void 0===c?"Smush":c,u=e.className,m=void 0===u?"":u,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,np),p=Rl(),d=p.hasCustomPluginIcon,v=p.isPluginIconHidden,h=p.hasDashiconPluginIcon,C=p.customPluginIconUrl,g=p.customPluginIconClass,b=p.customPluginName;if(v())return null;var y=["wpmudev-plugin-icon",m];if(h()){var w=String(g).replace(/^dashicons-/,"");return a.createElement("span",{className:"dashicons dashicons-".concat(w," ").concat(y.filter(Boolean).join(" "))})}if(d()){y.push("wpmudev-custom-plugin-icon");var _={width:o+"px",height:o+"px",borderRadius:l,objectFit:"cover"};return f.style&&Object.assign(_,f.style),a.createElement("img",{className:y.filter(Boolean).join(" "),src:C,alt:b||s,style:_})}return a.createElement(gn,{className:y.filter(Boolean).join(" "),name:s,size:16,color:n})};rp.propTypes={className:l().string};var op=rp;function ap(e){return ap="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},ap(e)}function ip(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 lp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ip(Object(n),!0).forEach(function(t){cp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ip(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cp(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ap(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ap(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ap(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sp=function(e){var t=e.isOpen,n=e.onClose,r=e.children,o=e.className,i=void 0===o?"":o,l=e.panelClassName,c=void 0===l?"":l,s=e.overlayClassName,u=void 0===s?"":s,m=e.contentClassName,f=void 0===m?"":m,p=e.portalWrapperClassName,d=void 0===p?"":p,v=e.header,h=e.footer,C=e.title,g=e.description,b=e.width,y=void 0===b?400:b,w=e.showCloseButton,_=void 0===w||w,E=e.closeOnOverlayClick,O=void 0===E||E,S=e.closeOnEscape,j=void 0===S||S,N=e.panelStyle,x=void 0===N?{}:N,k=e.contentStyle,A=void 0===k?{}:k,L=ac(t,n,j),T=L.closing,M=L.shouldRender,I=L.handleClose;if(!M)return null;var z="wpmudev-slide-in-modal",H=Boolean(v||C||g),B=[z,!H&&"".concat(z,"--no-header"),T&&"".concat(z,"--closing"),i].filter(Boolean).join(" "),D=["".concat(z,"__overlay"),u].filter(Boolean).join(" "),V=["".concat(z,"__panel"),c].filter(Boolean).join(" "),Z=["".concat(z,"__content"),f].filter(Boolean).join(" "),F=document.getElementById("wpmudev-ui-root")||document.body;return(0,fl.createPortal)(a.createElement("div",{className:d||void 0},a.createElement("div",{className:B,role:"dialog","aria-modal":"true"},a.createElement("div",{className:D,onClick:function(e){O&&e.target===e.currentTarget&&I()}},a.createElement("div",{className:"".concat(z,"__positioner")},a.createElement("div",{className:V,style:lp({"--wpmudev-slide-in-modal-width":y+12+"px"},x)},_&&a.createElement("div",{className:"".concat(z,"__close")},a.createElement(Ms.Basic,{placement:"bottom-center",width:"fit-content",content:(0,Zn.__)("Close","wp-smushit")},a.createElement("button",{type:"button","aria-label":(0,Zn.__)("Close","wp-smushit"),onClick:I},a.createElement(gn,{name:"Close",size:16})))),a.createElement(P.Column,{className:"".concat(z,"__main"),gap:"0",fullWidth:!0},H&&a.createElement("div",{className:"".concat(z,"__header")},v||a.createElement(P.Column,{className:"".concat(z,"__heading"),gap:"6px"},C&&a.createElement(Hi.H3,{size:"32px",lineHeight:"40px"},C),g&&a.createElement(Hi.P,{size:"sm",color:"#666666"},g))),a.createElement("div",{className:Z,style:A},r),h&&a.createElement("div",{className:"".concat(z,"__footer")},h))))))),F)};sp.propTypes={isOpen:l().bool.isRequired,onClose:l().func.isRequired,children:l().node.isRequired,className:l().string,panelClassName:l().string,overlayClassName:l().string,contentClassName:l().string,portalWrapperClassName:l().string,header:l().node,footer:l().node,title:l().node,description:l().node,width:l().string,showCloseButton:l().bool,closeOnOverlayClick:l().bool,closeOnEscape:l().bool,panelStyle:l().object,contentStyle:l().object};var up=sp;function mp(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return fp(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(fp(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,fp(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,fp(m,"constructor",s),fp(s,"constructor",c),c.displayName="GeneratorFunction",fp(s,o,"GeneratorFunction"),fp(m),fp(m,o,"Generator"),fp(m,r,function(){return this}),fp(m,"toString",function(){return"[object Generator]"}),(mp=function(){return{w:a,m:f}})()}function fp(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}fp=function(e,t,n,r){function a(t,n){fp(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},fp(e,t,n,r)}function pp(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function dp(e){return function(e){if(Array.isArray(e))return Cp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||hp(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||hp(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hp(e,t){if(e){if("string"==typeof e)return Cp(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cp(e,t):void 0}}function Cp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}g.Flex=P;var gp=function(){return a.createElement("div",{className:"smush-logo",style:{background:"rgba(0, 215, 255, 1)",width:"34px",height:"34px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"14px"}},a.createElement(op,{customIconSize:34,borderRadius:"14px"}))},bp=function(){var e=Rl(),t=e.customPluginName,n=e.customMadeBy,r=e.hideDocLink,o=e.whitelabelEnabled,i=e.isPluginIconHidden,l=e.hideProTag,c=i()?null:a.createElement(gp,null);return a.createElement(Xs,{logo:c,pluginName:t||(0,Zn.__)("Smush","wp-smushit"),pluginURL:r?"":"https://wpmudev.com/project/wp-smush-pro/",madeBy:o?n:a.createElement(a.Fragment,null,(0,Zn._x)("by","Made by","wp-smushit"),a.createElement(gn,{name:"Wpmudev",color:"#666666",size:10.8,className:"wpmudev-plugin-brand__made-by-logo"}),(0,Zn.__)("wpmudev","wp-smushit"),a.createElement(gn,{name:"OpenNewWindow",color:"#666666",size:10,className:"wpmudev-plugin-brand__made-by-arrow"})),badge:l?null:br(a.createElement(Un,{size:"sm",variant:"pro",className:"wpmudev-badge--non-interactive smush-logo__pro-badge"},(0,Zn.__)("Pro","wp-smushit")))})},yp=function(e){var t=e.className,n=void 0===t?"":t,r=qr(),o=r.setOpenProFeatures,i=r.setOpenHubConnectionFlow,l=bo(),c=l.isSideContentVisible,s=l.toggleSideContent,u=l.hasUnreadNotifications,m="notifications",f=vp(a.useState(c?m:null),2),p=f[0],d=f[1],v=Rl(),h=v.hideDocLink,C=(v.whitelabelEnabled,["smush-header",n].filter(Boolean).join(" ")),g=ai(),b=g.hubConnectorData,y=g.profileData,w=g.setOpenDisconnectSiteConfirmModal,_=g.redirectToDashboardIfAvailable,E=g.buildAuthUrl,O=ui().isUserProfileAvailable,S=h?[]:[{key:"all-wpmudev",type:"button",style:{"--wpmudev-nav-item-border":"2px solid #1a1a1aff","--wpmudev-nav-item-padding":"0 15px",marginRight:"10px"},content:function(){var e=vp(a.useState(!1),2),t=e[0],n=e[1];return a.createElement(Hi.Link,{href:"https://wpmudev.com/hub2?hpo=smush",onMouseEnter:function(){return n(!0)},onMouseLeave:function(){return n(!1)},style:{gap:"5px"}},a.createElement(gn,{name:"Dashboard",size:16,color:"var( --wpmudev-text-primary, #1a1a1a )"}),a.createElement(Hi,{size:"sm",weight:700,lineHeight:"22px"},(0,Zn.__)("WPMU DEV","wp-smushit")),a.createElement(gn,{name:"OpenNewWindow",size:16,color:"var( --wpmudev-text-primary, #1a1a1a )",style:{transition:"all 0.2s ease",width:t?"16px":"0",overflow:"hidden",marginLeft:"-5px"}}))}},{key:"separator",type:"separator",content:a.createElement(M,null)},{key:"help",type:"icon",content:function(){return a.createElement(Ms.Basic,{placement:"bottom-center",content:(0,Zn.__)("Help & Support","wp-smushit"),width:"fit-content"},a.createElement(Hi.Link,{href:"https://wpmudev.com/support/","aria-label":(0,Zn.__)("Help & Support","wp-smushit")},a.createElement(gn,{width:16,height:16,name:"LifeRing",color:"var( --wpmudev-text-primary, #1a1a1a )"})))}},{key:"academy",type:"icon",content:function(){return a.createElement(Ms.Basic,{placement:"bottom-center",content:(0,Zn.__)("Documentation","wp-smushit"),width:"fit-content"},a.createElement(Hi.Link,{href:Or("smush_pluginlist_docs","https://wpmudev.com/docs/wpmu-dev-plugins/smush/"),"aria-label":(0,Zn.__)("Documentation","wp-smushit"),title:(0,Zn.__)("Documentation","wp-smushit")},a.createElement(gn,{name:"GraduationCap",size:16,color:"var( --wpmudev-text-primary, #1a1a1a )"})))}}];return S.push.apply(S,[{key:m,type:"icon",style:{"--wpmudev-button-icon-size":"auto"},content:function(){return a.createElement(Ms.Basic,{placement:O?"bottom-center":"bottom-right",content:(0,Zn.__)("Activity Log","wp-smushit"),width:"fit-content"},a.createElement("button",{onClick:function(){Jl(!c),d(c?null:m),s()},"aria-label":c?(0,Zn.__)("Hide Activity Log","wp-smushit"):(0,Zn.__)("Show Activity Log","wp-smushit")},a.createElement(gn,{name:"ActivityLog",color:u?"#00d959":"#1a1a1a",size:16})))}}].concat(dp(O?[{key:"profile-menu",type:"profile",style:{marginLeft:"4px"},content:function(){var e=function(){var e,t=(e=mp().m(function e(){return mp().w(function(e){for(;;)switch(e.n){case 0:w(!0);case 1:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){pp(a,r,o,i,l,"next",e)}function l(e){pp(a,r,o,i,l,"throw",e)}i(void 0)})});return function(){return t.apply(this,arguments)}}(),t=[{icon:a.createElement(gn,{size:"16px",color:"var( --wpmudev-text-primary, #1a1a1a )",name:"LifeRing"}),text:(0,Zn.__)("Support","wp-smushit"),link:"https://wpmudev.com/support/"},{icon:a.createElement(gn,{size:"16px",color:"var( --wpmudev-text-primary, #1a1a1a )",name:"GraduationCap"}),text:(0,Zn.__)("Documentation","wp-smushit"),link:Or("smush_pluginlist_docs","https://wpmudev.com/docs/wpmu-dev-plugins/smush/")},{icon:a.createElement(gn,{size:"16px",color:"var( --wpmudev-text-primary, #1a1a1a )",name:"Roadmap"}),text:(0,Zn.__)("Product Roadmap","wp-smushit"),link:"https://wpmudev.com/roadmap/"}];return a.createElement(tm,{profileData:y,hubConnectorData:b,redirectToDashboardIfAvailable:_,onCreateAccount:function(){window.location.href=E(null==b?void 0:b.hub_signup_url,"smush_profile_avatar_connect_create_account")},onSignIn:function(){i("login","smush_profile_avatar_connect_signin")},onDisconnectSite:e,connectedMenuItems:h?[]:t})}}]:[]))),a.createElement(P,{id:"wpmudev-page-header",align:"center",justify:"space-between",className:C},a.createElement(bp,null),a.createElement(P,{className:"smush-header__actions"},yr(a.createElement(jn,{style:{marginRight:"2px",padding:"0 14px"},variant:"pro",onClick:function(){o(!0,"smush_header_findoutmore")}},(0,Zn.__)("Pro Features","wp-smushit"))),a.createElement(Gu,{activeMenuKey:p,menuItems:S,align:"right",style:{}})))};function _p(e){return function(e){if(Array.isArray(e))return Sp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Op(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ep(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||Op(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Op(e,t){if(e){if("string"==typeof e)return Sp(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sp(e,t):void 0}}function Sp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var jp=function(e){var t=e.className,n=void 0===t?"":t,r=qr().hideSideContent,o=bo(),i=o.isSideContentVisible,l=o.notifications,c=o.readNotificationIds,s=o.setReadNotificationIds,u=["smush-sidecontent",n].filter(Boolean).join(" "),m=Ep((0,a.useState)(null),2),f=m[0],p=m[1],d=(0,a.useRef)(null),v=(0,a.useRef)({}),h=function(e){var t={},n=new Date;return e.forEach(function(e){var r,o=new Date(e.timestamp),a=Math.floor((n-o)/864e5);r=0===a?(0,Zn.__)("Today","wp-smushit"):1===a?(0,Zn.__)("Yesterday","wp-smushit"):a<7?(0,Zn.sprintf)("%sd ago",a):o.toLocaleDateString(void 0,{day:"numeric",month:"long",year:"numeric"}),t[r]||(t[r]=[]),t[r].push(e)}),t}(l.sort(function(e,t){return new Date(t.timestamp)-new Date(e.timestamp)})),C=Object.keys(h),b=l.map(function(e){return e.id});return(0,a.useEffect)(function(){if(i){var e=b.filter(function(e){return!c.includes(e)}),t=new window.IntersectionObserver(function(e){var t=[];e.forEach(function(e){if(e.isIntersecting){var n=e.target.getAttribute("data-id");n&&!c.includes(n)&&t.push(n)}}),t.length&&s([].concat(_p(c),t))},{root:d.current,threshold:.5});return e.forEach(function(e){v.current[e]&&t.observe(v.current[e])}),function(){t.disconnect()}}},[i,l,c,s]),(0,a.useEffect)(function(){s(c)},[c]),Xl(i,r),a.createElement(g.Column,{className:u,gap:0,style:{height:"100%"}},a.createElement(P,{align:"center",justify:"space-between",className:"smush-sidecontent__header",gap:0},a.createElement(Hi.H2,{align:"center",size:"sm",weight:400},(0,Zn.__)("Activity Log","wp-smushit")),a.createElement(Ms.Basic,{placement:"bottom-center",width:"60px",content:(0,Zn.__)("Hide","wp-smushit"),style:{"--wpmudev-tooltip-padding":"5px 10px 4px","--wpmudev-tooltip-font-size":"var( --wpmudev-text-xs, 11px )"}},a.createElement("button",{variant:"ghost",size:"sm","aria-label":(0,Zn.__)("Hide Notification","wp-smushit"),onClick:function(){Jl(!1),r()}},a.createElement(gn,{name:"HideNotification",size:16})))),a.createElement(P.Column,{className:"smush-sidecontent__drawers",padding:0,ref:d},C.length&&l.length?C.map(function(e){return a.createElement("div",{key:e,className:"smush-sidecontent__group"},l.length>1&&a.createElement(Hi,{className:"smush-sidecontent__group-label",size:"xs",color:"#666"},e),a.createElement(P.Column,{className:"smush-sidecontent__group-list",gap:"10px"},h[e].map(function(e){var t,n,r,o=(t=new Date(e.timestamp),n=new Date,(r=Math.floor((n-t)/1e3))<60?(0,Zn.__)("Just now","wp-smushit"):r<3600?(0,Zn.sprintf)("%dm ago",Math.floor(r/60)):r<86400?(0,Zn.sprintf)("%dh ago",Math.floor(r/3600)):null),i=new Date(e.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!0});return a.createElement("div",{key:e.id,ref:function(t){c.includes(e.id)||(v.current[e.id]=t)},"data-id":e.id,style:{width:"100%"}},a.createElement(hu,{variant:e.variant,icon:e.icon,time:a.createElement("span",{className:"time-switch".concat(f===e.id?" time-switch--hovered":""),onMouseEnter:function(){return p(e.id)},onMouseLeave:function(){return p(null)}},o&&a.createElement("span",{className:"fade-switch",style:{opacity:f===e.id?0:1}},o),a.createElement("span",{className:"fade-switch",style:{textTransform:"uppercase",opacity:o&&f!==e.id?0:1}},i)),action:e.action,selfLink:e.selfLink},e.content))})))}):a.createElement(P.Column,{className:"smush-sidecontent__empty",fullWidth:!0,align:"center",justify:"center",gap:"5px",style:{height:"100%"}},a.createElement(gn,{name:"ActivityLog",color:"#ccc"}),a.createElement(Hi,{align:"center",size:"18px",color:"#ccc",weight:400},(0,Zn.__)("No Activity log","wp-smushit")))))};jp.propTypes={className:l().string};var Np=jp,Pp=["className"];function xp(){return xp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xp.apply(null,arguments)}var kp=function(e){var t=e.className,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Pp),r=["wpmudev-footer",t].filter(Boolean).join(" "),o=[{key:"about",type:"text-link",content:function(){return a.createElement(Hi.Link,{href:"https://wpmudev.com/"},(0,Zn.__)("All in One WordPress Toolkit","wp-smushit"))}},{key:"pro-link",type:"text-link",content:function(){return a.createElement(Hi,null,a.createElement(gn,{name:"Smush",size:"16",color:"#fff"}),a.createElement("a",{rel:"noopener",href:"https://wpmudev.com/project/wp-smush-pro/"},(0,Zn.__)("Get the most out of this plugin","wp-smushit")))}}],i=[{key:"the-hub",type:"text-link",content:function(){return a.createElement(Hi.Link,{href:"https://wpmudev.com/hub/"},(0,Zn.__)("The Hub","wp-smushit"))}},{key:"plugins",type:"text-link",content:function(){return a.createElement(Hi.Link,{href:"https://wpmudev.com/plugins/"},(0,Zn.__)("Plugins","wp-smushit"))}},{key:"roadmap",type:"text-link",content:function(){return a.createElement(Hi.Link,{href:"https://wpmudev.com/roadmap/"},(0,Zn.__)("Roadmap","wp-smushit"))}}],l=[{key:"support",type:"text-link",content:function(){return a.createElement(Hi.Link,{href:"https://wpmudev.com/support/"},(0,Zn.__)("Support","wp-smushit"))}},{key:"community",type:"text-link",content:function(){return a.createElement(Hi.Link,{href:"https://wpmudev.com/community/"},(0,Zn.__)("Community","wp-smushit"))}}],c=[{key:"terms",type:"text-link",content:function(){return a.createElement(Hi.Link,{href:"https://wpmudev.com/terms-of-service/"},(0,Zn.__)("Terms","wp-smushit"))}},{key:"privacy",type:"text-link",content:function(){return a.createElement(Hi.Link,{href:"https://wpmudev.com/privacy/"},(0,Zn.__)("Privacy Policy","wp-smushit"))}}];return a.createElement(g.Column,xp({id:"wpmudev-footer",style:{"--column-gap":0},className:r},n),a.createElement(g.Row,{id:"wpmudev-footer-top",className:"wpmudev-footer__top"},a.createElement(Gu,{menuItems:o,mode:"dark",style:{"--wpmudev-nav-item-gap":"10px"}})),a.createElement(g,{id:"wpmudev-footer-bottom",className:"wpmudev-footer__bottom"},a.createElement(g,{className:"wpmudev-footer__bottom-inner"},a.createElement(g.Item,{className:"wpmudev-footer__bottom-logo",style:{marginTop:"3px"}},a.createElement(Hi.Link,{href:"https://wpmudev.com/"},a.createElement(gn,{name:"Wpmudev",size:"22",color:"#ffffff"}))),a.createElement(g,{className:"wpmudev-footer__bottom-link-groups"},a.createElement(g.Item,{className:"wpmudev-footer__bottom-main-links"},a.createElement(Gu,{align:"left",direction:"column",menuItems:i,mode:"dark"})),a.createElement(g,{className:"wpmudev-footer__bottom-resources-links"},a.createElement(g.Item,{className:"wpmudev-footer__bottom-support-community"},a.createElement(Gu,{direction:"column",menuItems:l,mode:"dark"})),a.createElement(g.Item,{className:"wpmudev-footer__bottom-terms-privacy"},a.createElement(Gu,{direction:"column",menuItems:c,mode:"dark"})))),a.createElement(g,{className:"wpmudev-footer__bottom-meta"},a.createElement(g,{className:"wpmudev-footer__bottom-social-links",style:{"--grid-gap":"29px"}},a.createElement(Hi.Link,{href:"https://facebook.com/wpmudev"},a.createElement(gn,{name:"Facebook",size:"20",color:"white"})),a.createElement(Hi.Link,{href:"https://x.com/wpmudev"},a.createElement(gn,{name:"X",size:"20",color:"white"})),a.createElement(Hi.Link,{href:"https://www.instagram.com/wpmu_dev/"},a.createElement(gn,{name:"Instagram",size:"20",color:"white"}))),a.createElement(P,{className:"wpmudev-footer__bottom-copyright"},a.createElement(Hi,{size:"xs",color:"#fff",style:{display:"flex",gap:"7px"}},(0,Zn.__)("Made with","wp-smushit")," ",a.createElement(gn,{name:"Heart",size:"16"})," ",(0,Zn.__)("by WPMU DEV","wp-smushit")))))))};kp.displayName="PageFooter",kp.propTypes={className:l().string};var Ap=kp;function Lp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Tp(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Tp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Mp=function(){var e=ai(),t=e.openDisconnectSiteConfirmModal,n=e.setOpenDisconnectSiteConfirmModal,r=e.disconnectSite,o=Lp((0,a.useState)(!1),2),i=o[0],l=o[1];return a.createElement(Yf,{className:"wpmudev-smush-disconnect-site-confirm-modal",isOpen:t,title:(0,Zn.__)("Disconnect this site?","wp-smushit"),content:a.createElement(a.Fragment,null,a.createElement(Hi.P,null,(0,Zn.__)("This will stop 2X image optimization and all WPMU DEV services. Your site will no longer be able to be managed from WPMU DEV.","wp-smushit"))),buttonText:(0,Zn.__)("Keep site connected","wp-smushit"),buttonVariant:"transparent",onClose:function(){n(!1)},extraButton:a.createElement(jn,{className:"wpmudev-smush-disconnect-site-confirm-modal__stop-button",variant:"danger",onClick:function(){l(!0),r().then(function(){window.location.reload()}).catch(function(){}).finally(function(){l(!1)})},size:"lg",style:{width:"100%"},loading:i,disabled:i},(0,Zn.__)("Disconnect site","wp-smushit")),showCloseButton:!1,closeOnOverlayClick:!0,avatar:a.createElement(gn,{name:"UserDisconnected",color:"#fff",size:20})})};function Ip(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zp(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Hp=function(e){e.size;return a.createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"80",height:"80",rx:"40",fill:"url(#paint0_linear_6771_2758)"}),a.createElement("path",{d:"M40.9886 60.3521C40.3112 60.3521 39.652 60.1689 39.0111 59.8027C38.3702 59.4548 37.8392 59.0062 37.4181 58.4569C37.0153 57.8893 36.8138 57.3033 36.8138 56.6991C36.8138 55.7836 36.9786 54.9688 37.3082 54.2546C37.6378 53.5405 37.8026 52.8081 37.8026 52.0574C37.8026 51.7827 37.3357 51.3158 36.4019 50.6566C35.468 49.9791 34.2687 49.0911 32.8038 47.9924C31.3207 46.8572 30.5791 45.5297 30.5791 44.0099C30.5791 43.2042 30.689 42.5176 30.9087 41.95C31.1467 41.364 31.2657 40.9337 31.2657 40.6591C31.2474 40.4943 31.1284 40.3112 30.9087 40.1097C30.689 39.9083 30.3502 39.6062 29.8925 39.2034L25.7726 35.6053C23.8317 33.8842 22.495 32.2454 21.7626 30.689C21.0302 29.1326 20.7463 27.6586 20.9111 26.267C21.0942 24.8571 21.5795 23.5112 22.3668 22.2295L25.1958 22.8063C24.4817 23.9598 24.0148 25.0676 23.795 26.1296C23.5936 27.1917 23.7767 28.3086 24.3444 29.4805C24.9303 30.634 26.0472 31.9524 27.6952 33.4355L31.8151 37.116C31.9066 37.1709 31.9799 37.235 32.0348 37.3082C32.108 37.3815 32.1813 37.4456 32.2545 37.5005C32.932 38.0498 33.4172 38.5533 33.7102 39.0111C34.0215 39.4689 34.1771 39.9999 34.1771 40.6041C34.1771 40.9886 34.049 41.6478 33.7926 42.5817C33.5546 43.2408 33.4355 43.7169 33.4355 44.0099C33.4355 44.5775 33.8018 45.136 34.5342 45.6853C34.8088 45.905 35.0835 46.1156 35.3582 46.317C35.6511 46.5184 35.9441 46.7107 36.2371 46.8938C37.7202 47.9375 38.828 48.8347 39.5604 49.5854C40.2928 50.3179 40.6591 51.1235 40.6591 52.0024C40.6774 52.625 40.6133 53.2201 40.4668 53.7877C40.3203 54.337 40.183 54.8131 40.0548 55.2159C39.9083 55.6737 39.8076 55.985 39.7527 56.1498C39.7161 56.3146 39.6978 56.4611 39.6978 56.5892C39.6978 56.7906 39.8351 56.9921 40.1097 57.1935C40.4027 57.3949 40.6682 57.4956 40.9062 57.4956C41.3457 57.4956 41.9683 57.1019 42.7739 56.3146C43.5979 55.5272 44.4951 54.5293 45.4656 53.3208C46.436 52.094 47.3607 50.8214 48.2396 49.5031C49.1185 48.1664 49.8418 46.9304 50.4094 45.7952C50.9771 44.6416 51.2609 43.7719 51.2609 43.1859C51.2609 42.8746 51.0228 42.4352 50.5468 41.8676C50.0707 41.2999 49.4756 40.7323 48.7615 40.1647C48.0474 39.5787 47.3424 39.0844 46.6466 38.6815C45.9691 38.2787 45.4381 38.0773 45.0536 38.0773C44.8156 38.0773 44.4036 38.2329 43.8176 38.5442C43.2317 38.8555 42.6 39.1667 41.9225 39.478C41.2633 39.771 40.6865 39.9175 40.1921 39.9175C39.5696 39.9175 38.8372 39.6978 37.9949 39.2583C37.1526 38.8188 36.3286 38.2512 35.5229 37.5554C34.7173 36.8413 34.049 36.1089 33.5179 35.3582C32.9869 34.6074 32.7214 33.9299 32.7214 33.3257C32.7214 32.7581 32.9137 32.1996 33.2982 31.6503C33.701 31.0826 34.1954 30.6249 34.7814 30.277C35.3673 29.9108 35.9624 29.7277 36.5667 29.7277C37.0793 29.7277 37.6836 29.9291 38.3794 30.3319C39.0752 30.7347 39.7344 31.1376 40.3569 31.5404C40.9795 31.9249 41.4281 32.1172 41.7028 32.1172C41.8676 32.1172 42.0049 32.0623 42.1147 31.9524C42.2429 31.8425 42.307 31.7052 42.307 31.5404C42.307 31.2841 42.188 30.9819 41.95 30.634C41.7302 30.2678 41.3457 29.7094 40.7964 28.9586C40.5217 28.5558 40.4393 28.1896 40.5492 27.86C40.6591 27.5121 40.8788 27.2557 41.2084 27.0909C41.9408 26.7064 42.8105 26.2578 43.8176 25.7451C44.8247 25.2141 45.8318 24.6282 46.8389 23.9873C47.8459 23.3464 48.7432 22.6689 49.5305 21.9548C50.3362 21.2224 50.9038 20.4534 51.2334 19.6477L53.7877 20.9661C53.4032 21.845 52.8264 22.6781 52.0574 23.4655C51.3066 24.2528 50.4644 24.9761 49.5305 25.6353C48.5967 26.2944 47.6628 26.8895 46.729 27.4205C45.8135 27.9515 44.9895 28.4093 44.2571 28.7938C44.8613 29.691 45.1635 30.4967 45.1635 31.2108C45.1635 32.3644 44.8247 33.2891 44.1472 33.9849C43.488 34.6624 42.5908 35.0011 41.4556 35.0011C40.9612 35.0011 40.3661 34.7997 39.6703 34.3969C38.9928 33.994 38.3611 33.6003 37.7751 33.2158C37.2075 32.813 36.8047 32.6116 36.5667 32.6116C36.3652 32.6116 36.1547 32.694 35.9349 32.8588C35.7152 33.0236 35.6053 33.1792 35.6053 33.3257C35.6053 33.5637 35.7885 33.8842 36.1547 34.287C36.5209 34.6898 36.9603 35.111 37.473 35.5504C38.004 35.9716 38.5259 36.3286 39.0386 36.6216C39.5513 36.9146 39.9358 37.061 40.1921 37.061C40.6133 37.061 41.0985 36.9054 41.6478 36.5941C42.2155 36.2828 42.7922 35.9807 43.3782 35.6877C43.9824 35.3765 44.5409 35.2208 45.0536 35.2208C45.8593 35.2208 46.7839 35.4955 47.8276 36.0448C48.8713 36.5941 49.8693 37.2899 50.8214 38.1322C51.7919 38.9562 52.5884 39.8259 53.2109 40.7415C53.8335 41.6387 54.1448 42.4535 54.1448 43.1859C54.1448 44.1564 53.8152 45.3649 53.156 46.8114C52.4968 48.2396 51.6362 49.7411 50.5742 51.3158C49.5305 52.8722 48.4044 54.337 47.1959 55.7103C46.0057 57.0836 44.8613 58.2006 43.7627 59.0612C42.6641 59.9218 41.7394 60.3521 40.9886 60.3521ZM39.9999 66.9988C36.2645 66.9988 32.7672 66.2938 29.5079 64.8839C26.267 63.4923 23.4014 61.5514 20.9111 59.0612C18.4392 56.5892 16.4983 53.7328 15.0884 50.4918C13.6968 47.2325 13.001 43.7352 13.001 39.9999C13.001 36.2645 13.6968 32.7672 15.0884 29.5079C16.4983 26.2487 18.4392 23.3831 20.9111 20.9111C23.4014 18.4392 26.267 16.5074 29.5079 15.1158C32.7672 13.7059 36.2645 13.001 39.9999 13.001C43.7352 13.001 47.2325 13.7059 50.4918 15.1158C53.7511 16.5074 56.6167 18.4392 59.0886 20.9111C61.5605 23.3831 63.4923 26.2487 64.8839 29.5079C66.2938 32.7672 66.9988 36.2645 66.9988 39.9999C66.9988 43.7352 66.2938 47.2325 64.8839 50.4918C63.4923 53.7328 61.5605 56.5892 59.0886 59.0612C56.6167 61.5514 53.7511 63.4923 50.4918 64.8839C47.2325 66.2938 43.7352 66.9988 39.9999 66.9988ZM39.9999 62.5493C43.1127 62.5493 46.024 61.9634 48.734 60.7915C51.4623 59.6196 53.861 57.9991 55.9301 55.9301C57.9991 53.861 59.6196 51.4714 60.7915 48.7615C61.9634 46.0332 62.5493 43.1127 62.5493 39.9999C62.5493 36.8871 61.9634 33.9757 60.7915 31.2657C59.6196 28.5375 57.9991 26.1388 55.9301 24.0697C53.861 22.0006 51.4623 20.3801 48.734 19.2083C46.024 18.0364 43.1127 17.4504 39.9999 17.4504C36.8871 17.4504 33.9666 18.0364 31.2383 19.2083C28.5283 20.3801 26.1388 22.0006 24.0697 24.0697C22.0006 26.1388 20.3801 28.5375 19.2083 31.2657C18.0364 33.9757 17.4504 36.8871 17.4504 39.9999C17.4504 43.1127 18.0364 46.0332 19.2083 48.7615C20.3801 51.4714 22.0006 53.861 24.0697 55.9301C26.1388 57.9991 28.5283 59.6196 31.2383 60.7915C33.9666 61.9634 36.8871 62.5493 39.9999 62.5493Z",fill:"#6B12B0"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_6771_2758",x1:"40",y1:"0",x2:"40",y2:"80",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"white"}),a.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0.5"}))))},Bp=function(){return a.createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"80",height:"80",rx:"40",fill:"url(#paint0_linear_6771_2762)"}),a.createElement("g",{clipPath:"url(#clip0_6771_2762)"},a.createElement("path",{d:"M39.2671 60.0774C38.4858 60.0774 37.8816 59.7661 37.4543 59.1436C37.0271 58.521 36.8135 57.636 36.8135 56.4885V40.9612C36.8135 40.2288 36.8806 39.6245 37.0149 39.1484C37.1614 38.6602 37.4116 38.2329 37.7656 37.8667C38.1196 37.5005 38.6079 37.1404 39.2305 36.7864L52.6887 29.0227C53.592 28.4978 54.3855 28.2354 55.0691 28.2354C55.8381 28.2354 56.4424 28.5466 56.8818 29.1692C57.3213 29.7795 57.541 30.6707 57.541 31.8425V47.3699C57.541 48.1023 57.4678 48.7126 57.3213 49.2009C57.1748 49.6892 56.9246 50.1165 56.5706 50.4827C56.2288 50.8367 55.7588 51.1907 55.1606 51.5447L41.7024 59.29C40.7747 59.8149 39.9629 60.0774 39.2671 60.0774ZM40.5122 55.7378C40.561 55.7622 40.616 55.7561 40.677 55.7195L53.1831 48.4319C53.6348 48.1511 53.8606 47.7544 53.8606 47.2417L53.9521 32.7397C53.9521 32.6177 53.9155 32.5505 53.8423 32.5383C53.7812 32.5261 53.7202 32.5444 53.6592 32.5933L41.208 39.9175C40.7563 40.186 40.5305 40.5828 40.5305 41.1077L40.384 55.573C40.384 55.6707 40.4268 55.7256 40.5122 55.7378ZM31.7964 55.811C31.125 55.811 30.5696 55.5181 30.1301 54.9321C29.7029 54.3584 29.4893 53.6077 29.4893 52.6799V36.4751C29.4893 35.7183 29.5381 35.1384 29.6357 34.7356C29.7334 34.3206 29.9348 33.9666 30.24 33.6736C30.5574 33.3806 31.0334 33.0571 31.6682 32.7031L45.8772 24.5183C46.512 24.1643 47.1223 23.9873 47.7083 23.9873C48.343 23.9873 48.8618 24.1887 49.2646 24.5916C49.6797 24.9944 49.8933 25.5559 49.9055 26.2761L34.1584 35.3398C33.8411 35.5352 33.603 35.7122 33.4443 35.8708C33.2856 36.0173 33.1758 36.2004 33.1147 36.4202C33.0659 36.6277 33.0415 36.9207 33.0415 37.2991V55.4448C32.6265 55.689 32.2114 55.811 31.7964 55.811ZM24.7651 51.7461C24.0693 51.7461 23.5078 51.4592 23.0806 50.8855C22.6655 50.2996 22.458 49.5427 22.458 48.615V32.4102C22.458 31.6533 22.5068 31.0735 22.6045 30.6707C22.7021 30.2556 22.9036 29.9077 23.2087 29.627C23.5261 29.334 24.0083 29.0044 24.6553 28.6382L38.8276 20.4717C39.4502 20.1055 40.0667 19.9224 40.677 19.9224C41.2996 19.9224 41.8123 20.1238 42.2151 20.5266C42.6301 20.9172 42.8499 21.4727 42.8743 22.1929L27.1272 31.2749C26.8098 31.458 26.5657 31.6289 26.3948 31.7876C26.2361 31.9463 26.1262 32.1355 26.0652 32.3552C26.0164 32.575 25.9919 32.8618 25.9919 33.2158V51.3799C25.5891 51.624 25.1802 51.7461 24.7651 51.7461Z",fill:"#6B12B0"})),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_6771_2762",x1:"40",y1:"0",x2:"40",y2:"80",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"white"}),a.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0.5"})),a.createElement("clipPath",{id:"clip0_6771_2762"},a.createElement("rect",{width:"40",height:"40",fill:"white",transform:"translate(20 20)"}))))},Dp=function(e){e.size;return a.createElement("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"40",height:"40",rx:"20",fill:"url(#paint0_linear_6771_2771)"}),a.createElement("g",{clipPath:"url(#clip0_6771_2771)"},a.createElement("path",{d:"M20.0127 11.8567C19.745 11.8567 19.5171 11.7655 19.3291 11.5833C19.1468 11.3953 19.0557 11.1674 19.0557 10.8997C19.0557 10.6433 19.1497 10.4211 19.3376 10.2332C19.5256 10.0452 19.7507 9.95117 20.0127 9.95117C20.2804 9.95117 20.5055 10.0452 20.6877 10.2332C20.8757 10.4154 20.9697 10.6376 20.9697 10.8997C20.9697 11.1731 20.8786 11.401 20.6963 11.5833C20.514 11.7655 20.2861 11.8567 20.0127 11.8567ZM16.0906 14.1125C15.8285 14.1125 15.6035 14.0214 15.4155 13.8391C15.2332 13.6511 15.1421 13.4261 15.1421 13.1641C15.1421 12.902 15.2361 12.677 15.4241 12.489C15.6121 12.301 15.8342 12.207 16.0906 12.207C16.3583 12.207 16.5833 12.301 16.7656 12.489C16.9536 12.6713 17.0476 12.8963 17.0476 13.1641C17.0476 13.4318 16.9565 13.6568 16.7742 13.8391C16.5919 14.0214 16.364 14.1125 16.0906 14.1125ZM23.9348 14.1125C23.6671 14.1125 23.4392 14.0214 23.2512 13.8391C23.0689 13.6568 22.9778 13.4318 22.9778 13.1641C22.9778 12.902 23.0718 12.677 23.2598 12.489C23.4478 12.301 23.6728 12.207 23.9348 12.207C24.1969 12.207 24.419 12.301 24.6013 12.489C24.7893 12.6713 24.8833 12.8963 24.8833 13.1641C24.8833 13.4318 24.7922 13.6568 24.6099 13.8391C24.4276 14.0214 24.2026 14.1125 23.9348 14.1125ZM12.1855 16.4026C11.9178 16.4026 11.6899 16.3114 11.502 16.1292C11.3197 15.9412 11.2285 15.7133 11.2285 15.4456C11.2285 15.1892 11.3225 14.967 11.5105 14.7791C11.6985 14.5911 11.9235 14.4971 12.1855 14.4971C12.4476 14.4971 12.6698 14.5911 12.8521 14.7791C13.04 14.9613 13.134 15.1835 13.134 15.4456C13.134 15.719 13.0429 15.9469 12.8606 16.1292C12.6783 16.3114 12.4533 16.4026 12.1855 16.4026ZM20.0127 16.7188C19.6652 16.7188 19.3661 16.5963 19.1155 16.3513C18.8705 16.1007 18.748 15.7987 18.748 15.4456C18.748 15.1038 18.8734 14.8075 19.124 14.5569C19.3747 14.3062 19.6709 14.1809 20.0127 14.1809C20.3659 14.1809 20.665 14.3062 20.9099 14.5569C21.1606 14.8018 21.2859 15.0981 21.2859 15.4456C21.2859 15.8044 21.1634 16.1064 20.9185 16.3513C20.6735 16.5963 20.3716 16.7188 20.0127 16.7188ZM27.8142 16.4026C27.5465 16.4026 27.3215 16.3114 27.1392 16.1292C26.9569 15.9412 26.8657 15.7133 26.8657 15.4456C26.8657 15.1892 26.9597 14.967 27.1477 14.7791C27.3357 14.5911 27.5579 14.4971 27.8142 14.4971C28.0819 14.4971 28.307 14.5911 28.4893 14.7791C28.6772 14.9613 28.7712 15.1835 28.7712 15.4456C28.7712 15.719 28.6772 15.9469 28.4893 16.1292C28.307 16.3114 28.0819 16.4026 27.8142 16.4026ZM16.0906 18.9917C15.7431 18.9917 15.444 18.8692 15.1934 18.6243C14.9484 18.3736 14.8259 18.0717 14.8259 17.7185C14.8259 17.3767 14.9513 17.0805 15.2019 16.8298C15.4583 16.5792 15.7545 16.4539 16.0906 16.4539C16.4438 16.4539 16.7428 16.5792 16.9878 16.8298C17.2384 17.0748 17.3638 17.371 17.3638 17.7185C17.3638 18.0774 17.2413 18.3793 16.9963 18.6243C16.7514 18.8692 16.4495 18.9917 16.0906 18.9917ZM23.9348 18.9917C23.5816 18.9917 23.2797 18.8692 23.0291 18.6243C22.7841 18.3736 22.6616 18.0717 22.6616 17.7185C22.6616 17.3767 22.7869 17.0805 23.0376 16.8298C23.2882 16.5792 23.5873 16.4539 23.9348 16.4539C24.2766 16.4539 24.5728 16.5792 24.8235 16.8298C25.0741 17.0748 25.1995 17.371 25.1995 17.7185C25.1995 18.0774 25.077 18.3793 24.832 18.6243C24.5871 18.8692 24.288 18.9917 23.9348 18.9917ZM12.1855 20.957C11.9178 20.957 11.6899 20.8659 11.502 20.6836C11.3197 20.4956 11.2285 20.2677 11.2285 20C11.2285 19.738 11.3225 19.5129 11.5105 19.325C11.6985 19.137 11.9235 19.043 12.1855 19.043C12.4476 19.043 12.6698 19.137 12.8521 19.325C13.04 19.5072 13.134 19.7323 13.134 20C13.134 20.2677 13.0429 20.4956 12.8606 20.6836C12.6783 20.8659 12.4533 20.957 12.1855 20.957ZM20.0127 21.4783C19.6082 21.4783 19.2607 21.333 18.9702 21.0425C18.6797 20.752 18.5344 20.4045 18.5344 20C18.5344 19.7323 18.5999 19.4873 18.731 19.2651C18.8677 19.0373 19.0471 18.8578 19.2693 18.7268C19.4972 18.5901 19.745 18.5217 20.0127 18.5217C20.4172 18.5217 20.7646 18.667 21.0552 18.9575C21.3457 19.248 21.491 19.5955 21.491 20C21.491 20.4102 21.3486 20.7605 21.0637 21.051C20.7789 21.3359 20.4285 21.4783 20.0127 21.4783ZM27.8142 20.957C27.5465 20.957 27.3215 20.8659 27.1392 20.6836C26.9569 20.4956 26.8657 20.2677 26.8657 20C26.8657 19.738 26.9597 19.5129 27.1477 19.325C27.3357 19.137 27.5579 19.043 27.8142 19.043C28.0819 19.043 28.307 19.137 28.4893 19.325C28.6772 19.5072 28.7712 19.7323 28.7712 20C28.7712 20.2734 28.6772 20.5013 28.4893 20.6836C28.307 20.8659 28.0819 20.957 27.8142 20.957ZM16.0906 23.5461C15.7488 23.5461 15.4526 23.4237 15.2019 23.1787C14.9513 22.9281 14.8259 22.629 14.8259 22.2815C14.8259 21.934 14.9513 21.6349 15.2019 21.3843C15.4526 21.1336 15.7488 21.0083 16.0906 21.0083C16.4438 21.0083 16.7428 21.1336 16.9878 21.3843C17.2384 21.6292 17.3638 21.9283 17.3638 22.2815C17.3638 22.6347 17.2413 22.9338 16.9963 23.1787C16.7514 23.4237 16.4495 23.5461 16.0906 23.5461ZM23.9348 23.5461C23.5816 23.5461 23.2797 23.4237 23.0291 23.1787C22.7841 22.9338 22.6616 22.6347 22.6616 22.2815C22.6616 21.934 22.7869 21.6349 23.0376 21.3843C23.2882 21.1336 23.5873 21.0083 23.9348 21.0083C24.2823 21.0083 24.5785 21.1336 24.8235 21.3843C25.0741 21.6292 25.1995 21.9283 25.1995 22.2815C25.1995 22.6347 25.077 22.9338 24.832 23.1787C24.5871 23.4237 24.288 23.5461 23.9348 23.5461ZM12.1855 25.4944C11.9178 25.4944 11.6899 25.4032 11.502 25.2209C11.3197 25.033 11.2285 24.8079 11.2285 24.5459C11.2285 24.2896 11.3225 24.0674 11.5105 23.8794C11.6985 23.6857 11.9235 23.5889 12.1855 23.5889C12.4476 23.5889 12.6698 23.6829 12.8521 23.8708C13.04 24.0588 13.134 24.2839 13.134 24.5459C13.134 24.8193 13.0429 25.0472 12.8606 25.2295C12.6783 25.4061 12.4533 25.4944 12.1855 25.4944ZM20.0127 25.8105C19.6652 25.8105 19.3661 25.6881 19.1155 25.4431C18.8705 25.1925 18.748 24.8934 18.748 24.5459C18.748 24.2041 18.8734 23.9079 19.124 23.6572C19.3747 23.4066 19.6709 23.2812 20.0127 23.2812C20.3659 23.2812 20.665 23.4066 20.9099 23.6572C21.1606 23.9022 21.2859 24.1984 21.2859 24.5459C21.2859 24.9048 21.1634 25.2067 20.9185 25.4517C20.6735 25.6909 20.3716 25.8105 20.0127 25.8105ZM27.8142 25.4944C27.5465 25.4944 27.3215 25.4032 27.1392 25.2209C26.9569 25.0387 26.8657 24.8136 26.8657 24.5459C26.8657 24.2896 26.9569 24.0674 27.1392 23.8794C27.3271 23.6857 27.5522 23.5889 27.8142 23.5889C28.0763 23.5889 28.3013 23.6829 28.4893 23.8708C28.6772 24.0588 28.7712 24.2839 28.7712 24.5459C28.7712 24.8136 28.6801 25.0387 28.4978 25.2209C28.3155 25.4032 28.0876 25.4944 27.8142 25.4944ZM16.0906 27.793C15.8285 27.793 15.6035 27.699 15.4155 27.511C15.2332 27.323 15.1421 27.098 15.1421 26.8359C15.1421 26.5796 15.2361 26.3546 15.4241 26.1609C15.6121 25.9729 15.8342 25.8789 16.0906 25.8789C16.3583 25.8789 16.5833 25.9701 16.7656 26.1523C16.9536 26.3403 17.0476 26.5682 17.0476 26.8359C17.0476 27.1094 16.9565 27.3372 16.7742 27.5195C16.5919 27.7018 16.364 27.793 16.0906 27.793ZM23.9348 27.793C23.6671 27.793 23.4392 27.699 23.2512 27.511C23.0689 27.3287 22.9778 27.1037 22.9778 26.8359C22.9778 26.5739 23.0718 26.3489 23.2598 26.1609C23.4478 25.9729 23.6728 25.8789 23.9348 25.8789C24.1969 25.8789 24.419 25.9701 24.6013 26.1523C24.7893 26.3403 24.8833 26.5682 24.8833 26.8359C24.8833 27.1094 24.7922 27.3372 24.6099 27.5195C24.4276 27.7018 24.2026 27.793 23.9348 27.793ZM20.0127 30.0488C19.745 30.0488 19.5171 29.9548 19.3291 29.7668C19.1468 29.5846 19.0557 29.3624 19.0557 29.1003C19.0557 28.8383 19.1497 28.6133 19.3376 28.4253C19.5256 28.2373 19.7507 28.1433 20.0127 28.1433C20.2804 28.1433 20.5055 28.2345 20.6877 28.4167C20.8757 28.6047 20.9697 28.8326 20.9697 29.1003C20.9697 29.3681 20.8786 29.5931 20.6963 29.7754C20.514 29.9577 20.2861 30.0488 20.0127 30.0488Z",fill:"white"})),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_6771_2771",x1:"20",y1:"0",x2:"20",y2:"40",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#005F70"}),a.createElement("stop",{offset:"1",stopColor:"#004551"})),a.createElement("clipPath",{id:"clip0_6771_2771"},a.createElement("rect",{width:"20",height:"20",fill:"white",transform:"translate(10 10)"}))))},Vp=function(e){e.size;return a.createElement("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"40",height:"40",rx:"20",fill:"url(#paint0_linear_6771_2760)"}),a.createElement("g",{clipPath:"url(#clip0_6771_2760)"},a.createElement("path",{d:"M10.6586 18.5046H14.5294C14.8313 18.5046 15.0193 18.6043 15.0934 18.8037C15.1731 18.9974 15.1276 19.2082 14.9567 19.436L13.0597 22.0593C12.9287 22.2416 12.772 22.3328 12.5897 22.3328C12.4131 22.3328 12.2593 22.2416 12.1283 22.0593L10.2228 19.436C10.0576 19.2082 10.0149 18.9974 10.0946 18.8037C10.1687 18.6043 10.3567 18.5046 10.6586 18.5046ZM19.9982 13.3691C19.081 13.3691 18.2208 13.5429 17.4176 13.8904C16.6201 14.2322 15.9166 14.7078 15.307 15.3174C14.6975 15.9212 14.2218 16.6248 13.88 17.428C13.5382 18.2255 13.3673 19.0857 13.3673 20.0085C13.3673 20.2478 13.279 20.4529 13.1024 20.6238C12.9315 20.7947 12.7236 20.8801 12.4786 20.8801C12.2394 20.8801 12.0343 20.7947 11.8634 20.6238C11.6925 20.4529 11.6042 20.2478 11.5985 20.0085C11.6042 18.8464 11.8235 17.7584 12.2565 16.7444C12.6894 15.7247 13.2904 14.8303 14.0595 14.0613C14.8285 13.2922 15.72 12.6912 16.734 12.2583C17.748 11.8197 18.8361 11.6003 19.9982 11.6003C21.1261 11.6003 22.1885 11.8168 23.1854 12.2498C24.1823 12.6827 25.0482 13.2666 25.7831 14.0015C26.0167 14.2122 26.1249 14.4458 26.1078 14.7021C26.0907 14.9585 25.9967 15.1664 25.8258 15.3259C25.6777 15.4683 25.4954 15.5481 25.2789 15.5652C25.0625 15.5823 24.8318 15.4883 24.5868 15.2832C24.0057 14.6908 23.3193 14.2236 22.5275 13.8818C21.7356 13.54 20.8925 13.3691 19.9982 13.3691ZM29.3378 21.4954H25.4669C25.165 21.4954 24.9742 21.3985 24.8944 21.2048C24.8204 21.0055 24.8659 20.7918 25.0311 20.564L26.9367 17.9321C27.062 17.7555 27.2129 17.6672 27.3895 17.6672C27.5718 17.6672 27.7285 17.7555 27.8595 17.9321L29.7736 20.564C29.9388 20.7918 29.9843 21.0055 29.9103 21.2048C29.8362 21.3985 29.6454 21.4954 29.3378 21.4954ZM19.9982 26.6309C20.9153 26.6309 21.7727 26.4571 22.5702 26.1096C23.3734 25.7678 24.077 25.295 24.6808 24.6912C25.2903 24.0816 25.766 23.3781 26.1078 22.5806C26.4553 21.7773 26.629 20.9143 26.629 19.9915C26.629 19.7522 26.7145 19.5471 26.8854 19.3762C27.062 19.1996 27.2699 19.1113 27.5092 19.1113C27.7541 19.1113 27.962 19.1968 28.1329 19.3677C28.3038 19.5386 28.3893 19.7465 28.3893 19.9915C28.3893 21.1479 28.1728 22.2359 27.7399 23.2556C27.3069 24.2753 26.7031 25.1697 25.9284 25.9387C25.1593 26.7078 24.2678 27.3088 23.2538 27.7417C22.2398 28.1803 21.1546 28.3997 19.9982 28.3997C18.8646 28.3997 17.7993 28.1832 16.8024 27.7502C15.8112 27.3173 14.9453 26.7305 14.2047 25.99C13.9769 25.7849 13.8715 25.5542 13.8886 25.2979C13.9056 25.0415 13.9968 24.8336 14.162 24.6741C14.3101 24.5317 14.4924 24.4519 14.7089 24.4348C14.931 24.412 15.1618 24.5032 15.401 24.7083C15.9878 25.3007 16.6742 25.7678 17.4603 26.1096C18.2522 26.4571 19.0981 26.6309 19.9982 26.6309Z",fill:"white"})),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_6771_2760",x1:"20",y1:"0",x2:"20",y2:"40",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#005F70"}),a.createElement("stop",{offset:"1",stopColor:"#004551"})),a.createElement("clipPath",{id:"clip0_6771_2760"},a.createElement("rect",{width:"20",height:"20",fill:"white",transform:"translate(10 10)"}))))},Zp=function(e){e.size;return a.createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"80",height:"80",rx:"40",fill:"url(#paint0_linear_6771_2756)"}),a.createElement("g",{clipPath:"url(#clip0_6771_2756)"},a.createElement("path",{d:"M26.7212 45.4602C25.7414 45.4602 24.8755 45.2608 24.1235 44.8621C23.383 44.4519 22.8019 43.8936 22.3804 43.1873C21.9588 42.4809 21.748 41.672 21.748 40.7605V39.2395C21.748 38.3394 21.9588 37.5362 22.3804 36.8298C22.8019 36.1235 23.383 35.5652 24.1235 35.155C24.8755 34.7449 25.7414 34.5398 26.7212 34.5398H53.2788C54.2586 34.5398 55.1188 34.7449 55.8594 35.155C56.5999 35.5652 57.181 36.1235 57.6025 36.8298C58.0355 37.5362 58.252 38.3394 58.252 39.2395V40.7605C58.252 41.672 58.0412 42.4809 57.6196 43.1873C57.1981 43.8936 56.6113 44.4519 55.8594 44.8621C55.1188 45.2608 54.2586 45.4602 53.2788 45.4602H26.7212ZM27.251 42.5208H52.7661C53.4611 42.5208 54.008 42.3157 54.4067 41.9055C54.8055 41.4954 55.0049 40.977 55.0049 40.3503V39.6667C55.0049 39.0401 54.8055 38.5217 54.4067 38.1116C54.008 37.7014 53.4611 37.4963 52.7661 37.4963H27.251C26.556 37.4963 26.0091 37.7014 25.6104 38.1116C25.2116 38.5217 25.0122 39.0401 25.0122 39.6667V40.3503C25.0122 40.977 25.2116 41.4954 25.6104 41.9055C26.0091 42.3157 26.556 42.5208 27.251 42.5208ZM40 30.6604C39.624 30.6604 39.3107 30.5294 39.0601 30.2673C38.8094 30.0053 38.667 29.6863 38.6328 29.3103L38.479 25.9607V21.1414C38.479 20.7312 38.6271 20.378 38.9233 20.0818C39.231 19.7856 39.5898 19.6375 40 19.6375C40.4102 19.6375 40.7633 19.7856 41.0596 20.0818C41.3672 20.378 41.521 20.7312 41.521 21.1414V25.9607L41.3501 29.3103C41.3387 29.6863 41.202 30.0053 40.9399 30.2673C40.6893 30.5294 40.376 30.6604 40 30.6604ZM40 32.677C39.6354 32.677 39.2651 32.5118 38.8892 32.1814L33.6426 27.2253C33.4831 27.0886 33.3634 26.9405 33.2837 26.781C33.2153 26.6101 33.1812 26.4278 33.1812 26.2341C33.1812 25.8354 33.3065 25.5107 33.5571 25.26C33.8192 25.0094 34.1496 24.884 34.5483 24.884C34.9471 24.884 35.2832 25.0264 35.5566 25.3113L37.4365 27.2937L39.5557 29.6521H40.4272L42.5635 27.2937L44.4434 25.3113C44.7168 25.0264 45.0472 24.884 45.4346 24.884C45.8333 24.884 46.1637 25.0094 46.4258 25.26C46.6992 25.5107 46.8359 25.8354 46.8359 26.2341C46.8359 26.4278 46.7961 26.6101 46.7163 26.781C46.6366 26.9519 46.5226 27.1 46.3745 27.2253L41.0938 32.1814C40.7292 32.5118 40.3646 32.677 40 32.677ZM40 49.3396C40.376 49.3396 40.6893 49.4763 40.9399 49.7498C41.202 50.0118 41.3387 50.3308 41.3501 50.7068L41.521 54.0393V58.8757C41.521 59.2859 41.3672 59.6334 41.0596 59.9182C40.7633 60.2144 40.4102 60.3625 40 60.3625C39.5898 60.3625 39.231 60.2144 38.9233 59.9182C38.6271 59.6334 38.479 59.2859 38.479 58.8757V54.0393L38.6328 50.7068C38.667 50.3308 38.8094 50.0118 39.0601 49.7498C39.3107 49.4763 39.624 49.3396 40 49.3396ZM40 47.3401C40.3646 47.3401 40.7292 47.511 41.0938 47.8528L46.3745 52.7917C46.5226 52.9285 46.6366 53.0766 46.7163 53.2361C46.7961 53.3956 46.8359 53.5779 46.8359 53.783C46.8359 54.1703 46.6992 54.4893 46.4258 54.74C46.1637 55.002 45.8333 55.1331 45.4346 55.1331C45.0472 55.1331 44.7168 54.9906 44.4434 54.7058L42.5635 52.7234L40.4272 50.3479H39.5557L37.4365 52.7234L35.5566 54.7058C35.2832 54.9906 34.9471 55.1331 34.5483 55.1331C34.1496 55.1331 33.8192 55.002 33.5571 54.74C33.3065 54.4893 33.1812 54.1703 33.1812 53.783C33.1812 53.5779 33.2153 53.3956 33.2837 53.2361C33.3634 53.0766 33.4831 52.9285 33.6426 52.7917L38.8892 47.8528C39.2651 47.511 39.6354 47.3401 40 47.3401Z",fill:"white"})),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_6771_2756",x1:"40",y1:"0",x2:"40",y2:"80",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#005F70"}),a.createElement("stop",{offset:"1",stopColor:"#004551"})),a.createElement("clipPath",{id:"clip0_6771_2756"},a.createElement("rect",{width:"40",height:"40",fill:"white",transform:"translate(20 20)"}))))},Fp=function(e){var t=e.size,n=void 0===t?120:t;return a.createElement("svg",{style:{width:n+"px",height:n+"px"},width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{width:"120",height:"120",rx:"60",fill:"url(#paint0_linear_6771_2764)"}),a.createElement("path",{d:"M60 33C45.15 33 33 45.15 33 60C33 74.85 45.15 87 60 87C74.85 87 87 74.85 87 60C87 45.15 74.85 33 60 33ZM60 81.6C55.68 81.6 51.9 77.82 51.9 73.5C51.9 69.18 55.68 65.4 60 65.4C64.32 65.4 68.1 69.18 68.1 73.5C68.1 77.82 64.32 81.6 60 81.6ZM74.58 69.72C74.31 70.8 74.04 71.88 73.5 72.96C73.23 69.45 71.88 66.48 69.45 64.05C67.02 61.35 63.51 60 60 60C57.3 60 54.6 60.81 52.44 62.16C50.28 63.51 48.39 65.67 47.58 68.1C47.04 69.72 46.5 71.34 46.5 72.96C45.69 71.07 45.15 68.91 45.15 66.75C45.15 62.7 46.77 58.92 49.47 56.22C52.17 53.52 55.95 51.9 60 51.9C62.97 51.9 65.94 52.71 68.37 54.33C70.8 55.95 72.69 58.38 73.77 61.08C74.85 63.78 75.12 66.75 74.58 69.72ZM79.98 67.56C79.98 67.29 79.98 67.02 79.98 66.75C79.98 61.35 77.82 56.22 74.04 52.44C70.26 48.66 65.4 46.5 60 46.5C55.95 46.5 52.17 47.58 48.66 50.01C45.42 52.17 42.72 55.41 41.1 59.19C40.02 61.89 39.48 64.86 39.48 67.83C38.94 65.13 38.4 62.7 38.4 60C38.4 54.33 40.56 48.66 44.61 44.61C48.66 40.56 54.33 38.4 60 38.4C64.32 38.4 68.37 39.75 71.88 41.91C75.39 44.34 78.09 47.58 79.71 51.63C81.6 55.68 82.14 60 81.06 64.32C80.79 65.4 80.52 66.48 79.98 67.56Z",fill:"white"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_6771_2764",x1:"60",y1:"0",x2:"60",y2:"120",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#56E4FF"}),a.createElement("stop",{offset:"1",stopColor:"#00D7FF"}))))},Rp=function(e){var t=e.orbitRef,n=e.className,r=void 0===n?"":n,o=Rl().hasCustomPluginIcon;return a.createElement("div",{className:"smush-scene".concat(r?" "+r:""),ref:t},a.createElement("div",{className:"smush-orbit"},a.createElement("div",{className:"smush-icon smush-icon1"},a.createElement("div",{className:"smush-icon-inner"},a.createElement("div",{className:"smush-icon--animation"},a.createElement("div",{className:"smush-icon--animation-2"},a.createElement("div",{className:"smush-icon--animation-3"},a.createElement("div",{className:"smush-icon--svg-wrapper"},a.createElement(Hp,null))))))),a.createElement("div",{className:"smush-icon smush-icon--small-size smush-icon2"},a.createElement("div",{className:"smush-icon-inner"},a.createElement("div",{className:"smush-icon--animation"},a.createElement("div",{className:"smush-icon--animation-2"},a.createElement("div",{className:"smush-icon--animation-3"},a.createElement("div",{className:"smush-icon--svg-wrapper"},a.createElement(Vp,null))))))),a.createElement("div",{className:"smush-icon smush-icon--small-size smush-icon3"},a.createElement("div",{className:"smush-icon-inner"},a.createElement("div",{className:"smush-icon--animation"},a.createElement("div",{className:"smush-icon--animation-2"},a.createElement("div",{className:"smush-icon--animation-3"},a.createElement("div",{className:"smush-icon--svg-wrapper"},a.createElement(Dp,null))))))),a.createElement("div",{className:"smush-icon smush-icon4"},a.createElement("div",{className:"smush-icon-inner"},a.createElement("div",{className:"smush-icon--animation"},a.createElement("div",{className:"smush-icon--animation-2"},a.createElement("div",{className:"smush-icon--animation-3"},a.createElement("div",{className:"smush-icon--svg-wrapper"},a.createElement(Zp,null))))))),a.createElement("div",{className:"smush-icon smush-icon5"},a.createElement("div",{className:"smush-icon-inner"},a.createElement("div",{className:"smush-icon--animation"},a.createElement("div",{className:"smush-icon--animation-2"},a.createElement("div",{className:"smush-icon--animation-3"},a.createElement("div",{className:"smush-icon--svg-wrapper"},a.createElement(Bp,null)))))))),a.createElement("div",{className:"smush-center-wrapper"},a.createElement("div",{className:"smush-center"},o()?a.createElement(op,{customIconSize:120}):a.createElement(Fp,null)),a.createElement("div",{className:"smush-center-glow"})))},Up=function(e){var t=e.baseClass,n=e.onStartScan,r=e.onSkip,o=(0,a.useRef)(null),i=Ip((0,a.useState)(!0),2),l=i[0],c=(i[1],Rl().removeBrandingFromText);return a.createElement(a.Fragment,null,a.createElement(Rp,{orbitRef:o,className:l?"orbit-animate-expanded":"orbit-animate-collapsed"}),a.createElement(Hi.H1,{className:"".concat(t,"__title")},c((0,Zn.__)("Welcome to Smush","wp-smushit"))),a.createElement(Hi.P,{className:"".concat(t,"__subtitle"),size:"32px",color:"#666",lineHeight:"1.25",style:{marginTop:0,marginBottom:0}},(0,Zn.__)("Scan images to speed up your site","wp-smushit")),a.createElement(jn,{variant:"black",size:"lg",className:"".concat(t,"__start-button"),onClick:n}," ",a.createElement(gn,{name:"ScanSite",color:"#fff",size:16}),(0,Zn.__)("Scan site","wp-smushit")),a.createElement("div",{className:"".concat(t,"__skip-text")},a.createElement("button",{className:"".concat(t,"__skip-link"),onClick:r,style:{display:"block",marginBottom:"2px"}},(0,Zn.__)("Skip start up wizard","wp-smushit"))))};Up.propTypes={baseClass:l().string.isRequired,onStartScan:l().func,onSkip:l().func};var Gp=Up,Wp=["children","className"];function qp(){return qp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qp.apply(null,arguments)}var $p=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Wp),i=["wpmudev-emoji-wrapper",r].filter(Boolean).join(" ");return a.createElement("div",qp({className:i},o),t)};$p.propTypes={children:l().node.isRequired,className:l().string};var Kp=$p;function Xp(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Jp(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Jp(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Jp(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Jp(m,"constructor",s),Jp(s,"constructor",c),c.displayName="GeneratorFunction",Jp(s,o,"GeneratorFunction"),Jp(m),Jp(m,o,"Generator"),Jp(m,r,function(){return this}),Jp(m,"toString",function(){return"[object Generator]"}),(Xp=function(){return{w:a,m:f}})()}function Jp(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Jp=function(e,t,n,r){function a(t,n){Jp(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Jp(e,t,n,r)}function Yp(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function Qp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ed(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ed(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ed(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var td=function(e){var t=e.baseClass,n=e.onComplete,r=e.onSkip,o=fa()||{},i=o.scanStatus,l=o.startScan,c=o.cancelScan,s=ya()||{},u=s.startPollingGlobalStats,m=s.stopPollingGlobalStats,f=i||{},p=f.totalItems,d=void 0===p?0:p,v=f.processedItems,h=void 0===v?0:v,C=f.starting,g=void 0!==C&&C,b=f.cancelling,y=void 0!==b&&b,w=(0,a.useRef)(!1),_=Qp((0,a.useState)(!0),2),E=_[0],O=_[1],S=Qp(Ja("lossy"),2),j=S[0],N=S[1],P=Xa().syncNow;(0,a.useEffect)(function(){return null==u||u(),function(){return null==m?void 0:m()}},[]),(0,a.useEffect)(function(){var e=function(){var e,t=(e=Xp().m(function e(){var t;return Xp().w(function(e){for(;;)switch(e.p=e.n){case 0:if(w.current||g){e.n=5;break}return w.current=!0,O(!0),t=yr(1,2),j!==t&&(Pr(ur,j),N(t)),e.p=1,e.n=2,P();case 2:e.n=4;break;case 3:e.p=3,e.v;case 4:l({onCompleted:function(){null==m||m(),setTimeout(function(){null==n||n()},300)},onCancelled:function(){null==r||r()}}),O(!1);case 5:return e.a(2)}},e,null,[[1,3]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Yp(a,r,o,i,l,"next",e)}function l(e){Yp(a,r,o,i,l,"throw",e)}i(void 0)})});return function(){return t.apply(this,arguments)}}();e()},[g,N,P,l,m,n,r]);var x=E?0:h,k=E?0:d,A=((k>0?x/k*100:0)<=70?{subtitle:(0,Zn.__)("This won’t take long","wp-smushit")}:{subtitle:(0,Zn.__)("Finishing up soon","wp-smushit")}).subtitle;return a.createElement(a.Fragment,null,a.createElement(Kp,null,a.createElement(gn,{name:"Scan",color:"#fff",size:32})),a.createElement(Hi.H1,{className:"".concat(t,"__title")},(0,Zn.__)("Scanning media library","wp-smushit")),a.createElement(Hi.P,{className:"".concat(t,"__subtitle")},A),a.createElement(Cl,{value:x,max:k,onClose:function(){c(),r&&r()},showSpinner:!0,paused:!1,label:!1,loading:!1,disabled:y,showCloseButton:!1}))};td.propTypes={baseClass:l().string.isRequired,onComplete:l().func,onSkip:l().func};var nd=td;function rd(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return od(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(od(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,od(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,od(m,"constructor",s),od(s,"constructor",c),c.displayName="GeneratorFunction",od(s,o,"GeneratorFunction"),od(m),od(m,o,"Generator"),od(m,r,function(){return this}),od(m,"toString",function(){return"[object Generator]"}),(rd=function(){return{w:a,m:f}})()}function od(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}od=function(e,t,n,r){function a(t,n){od(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},od(e,t,n,r)}function ad(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function id(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){ad(a,r,o,i,l,"next",e)}function l(e){ad(a,r,o,i,l,"throw",e)}i(void 0)})}}function ld(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return cd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var sd=function(e){var t=e.baseClass,n=e.onContinue,r=e.onClose,o=ld((0,a.useState)(!1),2),i=o[0],l=o[1],c=ld((0,a.useState)(!1),2),s=c[0],u=c[1],m=ya()||{},f=m.globalStats,p=m.startPollingGlobalStats,d=m.stopPollingGlobalStats,v=(qr()||{}).pageUrls,h=void 0===v?{}:v,C=f||{},g=C.remainingCount,b=void 0===g?0:g,y=C.countTotal,w=void 0===y?0:y,_=b,E=!_||0===_,O=Rl().getWhitelabelText;(0,a.useEffect)(function(){return null==p||p(),function(){return null==d?void 0:d()}},[]);var S=function(){var e=id(rd().m(function e(){var t;return rd().w(function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,_&&0!==_){e.n=2;break}if(null===(t=Nr(ur))){e.n=2;break}return e.n=1,Kn.request("smush_sync_settings",{settings:JSON.stringify({lossy:Number(t)}),context:"site"});case 1:xr(ur);case 2:e.n=4;break;case 3:e.p=3,e.v;case 4:return e.a(2)}},e,null,[[0,3]])}));return function(){return e.apply(this,arguments)}}(),j=function(){var e=id(rd().m(function e(t){return rd().w(function(e){for(;;)switch(e.n){case 0:return t.preventDefault(),l(!0),e.n=1,S();case 1:r?(r(!1,!1),setTimeout(function(){window.location.href=(null==h?void 0:h.directorySmushUrl)||"".concat(window.location.origin).concat(window.location.pathname,"?page=smush-directory")},300)):window.location.href=(null==h?void 0:h.directorySmushUrl)||"".concat(window.location.origin).concat(window.location.pathname,"?page=smush-directory");case 2:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}(),N=function(){var e=id(rd().m(function e(t){return rd().w(function(e){for(;;)switch(e.n){case 0:return t.preventDefault(),u(!0),e.n=1,S();case 1:r?(r(!1,!1),setTimeout(function(){window.location.href=(null==h?void 0:h.dashboardUrl)||"".concat(window.location.origin).concat(window.location.pathname,"?page=smush")},300)):window.location.href=(null==h?void 0:h.dashboardUrl)||"".concat(window.location.origin).concat(window.location.pathname,"?page=smush");case 2:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}();return a.createElement(a.Fragment,null,a.createElement(Kp,null,a.createElement(gn,{name:"Scan",color:"#fff",size:32})),a.createElement(Hi.H1,{className:"".concat(t,"__title ").concat(E?"":"".concat(t,"__title--no-subtitle"))},(0,Zn.__)("Scan complete","wp-smushit")),E&&a.createElement(Hi.P,{className:"".concat(t,"__subtitle")},w>0?(0,Zn.__)("All images optimized","wp-smushit"):(0,Zn.__)("No images found","wp-smushit")),E?a.createElement(a.Fragment,null,a.createElement(jn,{variant:"secondary",size:"lg",className:"".concat(t,"__continue-button"),onClick:j,disabled:i,loading:i,loadingIconName:"Spinner"},O((0,Zn.__)("Go to Directory Smush","wp-smushit"),(0,Zn.__)("Go to Directory Optimization","wp-smushit"))),a.createElement("div",{className:"".concat(t,"__divider ").concat(t,"__divider_hc"),style:{margin:0}},a.createElement("span",{style:{fontWeight:700,color:"var(--wpmudev-text-primary, #1a1a1a)"}},(0,Zn.__)("or","wp-smushit"))),a.createElement(jn,{variant:"black",size:"lg",className:"".concat(t,"__continue-button"),onClick:N,disabled:s,loading:s,style:{marginTop:"12px"}},(0,Zn.__)("Go to Dashboard","wp-smushit"))):a.createElement(Vn,{shadow:!1,border:!1,className:"".concat(t,"__scan-completed-card")},a.createElement(P.Column,{align:"center",gap:"4px",className:"".concat(t,"__result-card")},a.createElement(Hi,{className:"".concat(t,"__result-number")},_.toLocaleString()),a.createElement(Hi,{className:"".concat(t,"__result-label")},(0,Zn.__)("Images to optimize","wp-smushit"))),a.createElement(P.Column,{gap:"12px",fullWidth:!0,className:"".concat(t,"__benefits")},a.createElement(P,{align:"flex-start",gap:"8px",className:"".concat(t,"__benefit-item")},a.createElement(gn,{name:"Check",className:"".concat(t,"__benefit-icon")}),a.createElement(Hi,{size:"sm"},(0,Zn.__)("Reduce file size up to 30% without losing quality","wp-smushit"))),a.createElement(P,{align:"flex-start",gap:"8px",className:"".concat(t,"__benefit-item")},a.createElement(gn,{name:"Check",className:"".concat(t,"__benefit-icon")}),a.createElement(Hi,{size:"sm"},(0,Zn.__)("Optimized for Google","wp-smushit")))),a.createElement(jn,{variant:"black",size:"lg",className:"".concat(t,"__continue-button"),onClick:n,style:{marginTop:"20px"}},(0,Zn.__)("Speed up your site","wp-smushit"))))};sd.propTypes={baseClass:l().string.isRequired,onContinue:l().func,onClose:l().func};var ud=sd;function md(e){return md="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},md(e)}function fd(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 pd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fd(Object(n),!0).forEach(function(t){dd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dd(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=md(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=md(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==md(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vd(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return hd(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(hd(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,hd(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,hd(m,"constructor",s),hd(s,"constructor",c),c.displayName="GeneratorFunction",hd(s,o,"GeneratorFunction"),hd(m),hd(m,o,"Generator"),hd(m,r,function(){return this}),hd(m,"toString",function(){return"[object Generator]"}),(vd=function(){return{w:a,m:f}})()}function hd(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}hd=function(e,t,n,r){function a(t,n){hd(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},hd(e,t,n,r)}function Cd(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function gd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var yd=!1,wd=function(e){var t=e.baseClass,n=e.onContinue,r=gd(Ja("lossy"),2),o=r[0],i=r[1],l=gd(Ja("auto"),2),c=l[0],s=l[1],u=gd(Ja("lazyLoad"),2),m=u[0],f=u[1],p=gd(Ja("preload_images"),2)[1],d=gd(Ja("original"),2),v=d[0],h=d[1],C=Xa().syncNow,g=Rl().removeBrandingFromText,b=gd((0,a.useState)(function(){return yd?{highestLevel:Number(null!=o?o:1)>br(1,0),automaticCompression:!(null!=c&&!c),lazyLoad:!(null!=m&&!m),compressOriginal:!(null!=v&&!v)}:{highestLevel:!0,automaticCompression:!0,lazyLoad:!0,compressOriginal:!0}}),2),y=b[0],w=b[1],_=function(){var e,t=(e=vd().m(function e(t){return vd().w(function(e){for(;;)switch(e.p=e.n){case 0:return i(t.highestLevel?br(2,1):0),s(t.automaticCompression),f(t.lazyLoad),h(t.compressOriginal),br()&&p(t.lazyLoad),e.p=1,e.n=2,C();case 2:e.n=4;break;case 3:e.p=3,e.v;case 4:return e.a(2)}},e,null,[[1,3]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Cd(a,r,o,i,l,"next",e)}function l(e){Cd(a,r,o,i,l,"throw",e)}i(void 0)})});return function(e){return t.apply(this,arguments)}}(),E=function(e){w(function(t){var n=!t[e];return pd(pd({},t),{},dd({},e,n))})};return(0,a.useEffect)(function(){yd&&_(y)},[y]),(0,a.useEffect)(function(){yd||(yd=!0,_({highestLevel:!0,automaticCompression:!0,lazyLoad:!0,compressOriginal:!0}))},[]),a.createElement(a.Fragment,null,a.createElement(Kp,{style:{marginBottom:"15px"}},a.createElement(gn,{name:"SmushSettings",color:"#fff",size:32})),a.createElement(Hi.H1,{className:"".concat(t,"__title")},g((0,Zn.__)("Smush Settings","wp-smushit"))),a.createElement(Hi.P,{className:"".concat(t,"__subtitle"),style:{marginTop:"-4px"}},(0,Zn.__)("Optimized defaults in place","wp-smushit")),a.createElement(ff,null,a.createElement(ff.Body,null,a.createElement("div",{className:"".concat(t,"__setting-container")},a.createElement("div",{className:"".concat(t,"__setting-item"),onClick:function(){return E("highestLevel")}},a.createElement("span",{className:"".concat(t,"__setting-label")},br((0,Zn.__)("Ultra 5x compression","wp-smushit"),(0,Zn.__)("Super 2X compression","wp-smushit")),a.createElement(Ms.Basic,{content:br((0,Zn.__)("Optimize images up to 5x more than Super compression with our professional grade multi-pass lossy compression.","wp-smushit"),(0,Zn.__)("Harness the power of lossy compression for substantial file size reduction with excellent image clarity. Accelerate page loads for better performance.","wp-smushit"))})),a.createElement(cl,{checked:y.highestLevel,onChange:function(){return E("highestLevel")}})),a.createElement("div",{className:"".concat(t,"__setting-item"),onClick:function(){return E("automaticCompression")}},a.createElement("span",{className:"".concat(t,"__setting-label")},(0,Zn.__)("Automatic Compression","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Automatically compress images upon upload to save time and ensure consistent optimization.","wp-smushit")})),a.createElement(cl,{checked:y.automaticCompression,onChange:function(){return E("automaticCompression")}})),a.createElement("div",{className:"".concat(t,"__setting-item"),onClick:function(){return E("lazyLoad")}},a.createElement("span",{className:"".concat(t,"__setting-label")},br((0,Zn.__)("Lazy Load & Preload","wp-smushit"),(0,Zn.__)("Lazy Load","wp-smushit")),a.createElement(Ms.Basic,{content:br((0,Zn.__)("Preload critical images for faster LCP, and Lazy Load off-screen images to speed up pages, save bandwidth, and improve Google PSI image delivery.","wp-smushit"),(0,Zn.__)('Delay loading off-screen images until visitors scroll to them. Make your page load faster, use less bandwidth, and fix Google PSI "Image delivery" insight.',"wp-smushit"))})),a.createElement(cl,{checked:y.lazyLoad,onChange:function(){return E("lazyLoad")}})),a.createElement("div",{className:"".concat(t,"__setting-item"),onClick:function(){return E("compressOriginal")}},a.createElement("span",{className:"".concat(t,"__setting-label")},(0,Zn.__)("Optimize original images","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Optimize original images to reduce file size while maintaining quality.","wp-smushit")})),a.createElement(cl,{checked:y.compressOriginal,onChange:function(){return E("compressOriginal")}}))))),a.createElement(jn,{variant:"black",size:"lg",className:"".concat(t,"__continue-button"),onClick:function(){xr(ur),null==n||n()},style:{minHeight:"40px",marginTop:"20px",borderRadius:"10px"}},a.createElement(Hi,{color:"#fff",weight:"700"},(0,Zn.__)("Continue","wp-smushit"))))};wd.propTypes={baseClass:l().string.isRequired,onContinue:l().func};var _d=wd;function Ed(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Od(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Od(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Od(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Sd=function(e){var t=e.baseClass,n=e.initialError,r=void 0===n?"":n,o=e.submitLabel,i=e.submitLoadingLabel,l=e.onClose,c=(e.action,Ed((0,a.useState)(r),2)),s=(c[0],c[1],Ed((0,a.useState)(!1),2)),u=s[0],m=(s[1],ai()),f=m.hubConnectorData,p=m.hubConnectionCampaign,d=m.buildAuthUrl,v=m.redirectToDashboardIfAvailable,h=qr().pageUrls;return a.createElement("div",{className:"hubconnector_auth_div"},a.createElement(jn,{variant:"black",size:"lg",className:"".concat(t,"__submit-button ").concat(t,"__create-account-submit-button"),disabled:u,loading:u,onClick:function(){if(null==v||!v(l)){var e=null!=h&&h.dashboardUrl?"".concat(h.dashboardUrl,"&smush-action=skip-wizard"):void 0;window.location.href=d(null==f?void 0:f.hub_signup_url,p||"smush_wizard_connect_create_account",{skipWizardUrl:e})}}},u?i||(0,Zn.__)("Creating account...","wp-smushit"):o||(0,Zn.__)("Create account","wp-smushit")))};Sd.propTypes={baseClass:l().string.isRequired,initialError:l().string,submitLabel:l().string,submitLoadingLabel:l().string,onClose:l().func,action:l().string};var jd=Sd,Nd=n(6869);function Pd(e){return Pd="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},Pd(e)}function xd(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 kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xd(Object(n),!0).forEach(function(t){Ad(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ad(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Pd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Pd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ld(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Td(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Td(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Td(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Md=function(e){var t=e.baseClass,n=e.initialError,r=void 0===n?"":n,o=e.submitLabel,i=e.submitLoadingLabel,l=(e.action,Ld((0,a.useState)(r),2)),c=l[0],s=l[1],u=Ld((0,a.useState)(""),2),m=u[0],f=u[1],p=Ld((0,a.useState)(!1),2),d=p[0],v=p[1],h=Ld((0,a.useState)(!1),2),C=h[0],g=h[1],b=Ld((0,a.useState)({name:!1,password:!1}),2),y=b[0],w=b[1],_=Ld((0,a.useState)(""),2),E=_[0],O=_[1],S=Ld((0,a.useState)(""),2),j=S[0],N=S[1],x=Ld((0,a.useState)(""),2),k=x[0],A=x[1],L=ai().hubConnectorData,T=null==L?void 0:L.loginUrl;return a.createElement("form",{className:"hubconnector_auth_form",method:"post",onSubmit:function(e){e.preventDefault(),f(""),s(""),A("");var t=e.target,n=new FormData(t),r=n.get("username"),o=n.get("password"),a=!1;r&&""!==r.trim()?function(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}(r)||(f((0,Zn.__)("Please enter a valid email address.","wp-smushit")),a=!0):(f((0,Zn.__)("Please enter your email address.","wp-smushit")),a=!0),o&&""!==o.trim()||(A((0,Zn.__)("Please enter your password.","wp-smushit")),a=!0),a||(v(!0),t.submit())},action:T},c&&a.createElement(P,{className:"".concat(t,"__login-error"),align:"center"},a.createElement(gn,{name:"WarningTriangle",color:"var(--wpmudev-text-warning, #D70015)"}),a.createElement(Hi.P,{size:"sm",lineHeight:"22px",style:{color:"var(--wpmudev-text-warning, #D70015)"}},"string"==typeof c?a.createElement(Nd.A,null,c):c)),a.createElement(Mf,null,a.createElement("div",{className:"input-group",style:{width:"100%",display:"flex"}},a.createElement(Mf.Input,{type:"email",name:"username",onChange:function(e){var t=e.target.value;O(t),y.name&&(t&&""!==t.trim()?f(""):f((0,Zn.__)("Please enter your name.","wp-smushit")))},onBlur:function(){w(function(e){return kd(kd({},e),{},{name:!0})}),E&&""!==E.trim()?f(""):f((0,Zn.__)("Please enter your email address.","wp-smushit"))},className:"".concat(t,"__input ").concat(t,"__input_hc").concat(m&&y.name?" input error":""),placeholder:(0,Zn.__)("Email","wp-smushit")}),m&&y.name&&a.createElement("span",{className:"".concat(t,"__input-error"),style:{position:"absolute",right:10,top:"50%",transform:"translateY(-50%)",cursor:"pointer",display:"flex",alignItems:"center",zIndex:1e3}},a.createElement(Ms.Basic,{content:m,placement:"top-center"},a.createElement(gn,{name:"ErrorIcon",size:16}))))),a.createElement(Mf,null,a.createElement("div",{className:"input-group ".concat(t,"__password-group"),style:{width:"100%"}},a.createElement(Mf.Input,{type:C?"text":"password",name:"password",onChange:function(e){var t=e.target.value;N(t),y.password&&(t&&""!==t.trim()?A(""):A((0,Zn.__)("Please enter your password.","wp-smushit")))},onBlur:function(){w(function(e){return kd(kd({},e),{},{password:!0})}),j&&""!==j.trim()?A(""):A((0,Zn.__)("Please enter your password.","wp-smushit"))},placeholder:(0,Zn.__)("Password","wp-smushit"),autoComplete:"off",className:"".concat(t,"__input ").concat(t,"__input_hc ").concat(t,"__input--with-toggle").concat(k&&y.password?" input error":"")}),!!j&&a.createElement("button",{type:"button",className:"".concat(t,"__password-toggle"),onClick:function(){return g(function(e){return!e})}},C?(0,Zn.__)("Hide","wp-smushit"):(0,Zn.__)("Show","wp-smushit")),k&&y.password&&a.createElement("span",{className:"".concat(t,"__input-error"),style:{position:"absolute",right:10,top:"50%",transform:"translateY(-50%)",cursor:"pointer",display:"flex",alignItems:"center",zIndex:1e3}},a.createElement(Ms.Basic,{content:k,placement:"top-center"},a.createElement(gn,{name:"ErrorIcon",size:16}))))),a.createElement(jn,{variant:"black",size:"lg",className:"".concat(t,"__submit-button"),type:"submit",disabled:d,loading:d,style:{marginTop:"18px"}},d?i||(0,Zn.__)("Signing in...","wp-smushit"):o||(0,Zn.__)("Sign in","wp-smushit")),c&&a.createElement(Hi.Link,{className:"wpmudev-text-link--underline",href:null==L?void 0:L.forgot_password_url,weight:"700",style:{marginTop:"20px",marginBottom:"7px"}},(0,Zn.__)("Forgot password","wp-smushit")),a.createElement("div",{className:"".concat(t,"__divider ").concat(t,"__divider_hc"),style:{margin:"10px 0"}},a.createElement("span",null,(0,Zn.__)("or","wp-smushit"))))};Md.propTypes={baseClass:l().string.isRequired,initialError:l().string,submitLabel:l().string,submitLoadingLabel:l().string,action:l().string};var Id=Md;function zd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Hd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Bd=function(e){var t,n,r=e.initialTab,o=void 0===r?"create":r,i=e.baseClass,l=(e.onContinue,e.onTabChange),c=e.setActiveTabRef,s=e.onClose,u=null===(t=smushUIData)||void 0===t||null===(t=t.hubConnector)||void 0===t?void 0:t.has_login_error,m=(null===(n=smushUIData)||void 0===n||null===(n=n.hubConnector)||void 0===n?void 0:n.login_error_message)||(0,Zn.__)("<strong>Incorrect login details.</strong> Use your WPMU DEV email and password, then try again.","wp-smushit"),f=zd((0,a.useState)(u?"login":o),2),p=f[0],d=f[1],v=function(e){d(e),null==l||l(e)},h=ai(),C=h.setHubConnectionCampaign,g=h.redirectToDashboardIfAvailable;c&&(c.current=v);(0,Zn.__)("I am a new user","wp-smushit"),(0,Zn.__)("I am an existing user","wp-smushit");return a.createElement(a.Fragment,null,a.createElement(Kp,{style:{marginBottom:"15px"}},a.createElement(gn,{name:"WpmudevV2",color:"#fff",size:32})),a.createElement(Hi.H1,{className:"".concat(i,"__title ").concat("login"===p?"".concat(i,"__title--login"):"")},"login"===p?(0,Zn.__)("Sign in with your","wp-smushit"):(0,Zn.__)("Connect to WPMU DEV","wp-smushit")),"login"===p&&a.createElement(Hi.P,{className:"".concat(i,"__subtitle ").concat(i,"__subtitle--login-dark")},(0,Zn.__)("WPMU DEV account","wp-smushit")),"create"===p&&a.createElement(Hi.P,{className:"".concat(i,"__subtitle")},(0,Zn.__)("to optimize your images","wp-smushit")),a.createElement(Vn,{shadow:!1,border:!1,className:"".concat(i,"__hub-card")},a.createElement(qs.Panel,{tabId:"create",activeTab:p},a.createElement(jd,{baseClass:i,submitLabel:(0,Zn.__)("Create free account","wp-smushit"),submitLoadingLabel:(0,Zn.__)("Creating account...","wp-smushit"),onClose:s}),a.createElement("div",{className:"".concat(i,"__divider ").concat(i,"__divider_hc"),style:{margin:"10px 0"}},a.createElement("span",{style:{fontWeight:700,color:"var( --wpmduev-text-primary, #1A1A1A)"}},(0,Zn.__)("or","wp-smushit"))),a.createElement(jn,{variant:"secondary",size:"lg",className:"".concat(i,"__start-button"),onClick:function(){null!=g&&g(s)||(v("login"),C(function(e){return(e||"smush_wizard_connect_create_account").replace("_create_account","_signin")}))},style:{marginTop:0}},(0,Zn.__)("Sign in","wp-smushit"))),a.createElement(qs.Panel,{tabId:"login",activeTab:p},a.createElement(P.Column,{gap:"0",className:"".concat(i,"__form"),style:{marginTop:"-1px"}},a.createElement(Id,{baseClass:i,initialError:u?m:""}),a.createElement(Xf,{action:"signin",onClick:function(){var e,t=(null===(e=smushUIData)||void 0===e?void 0:e.hubConnector)||{};if(null!=t&&t.hub_auth_url){var n=t.redirect_url||window.location.href,r=null==t?void 0:t.hub_auth_url,o=null==t?void 0:t.auth_nonce,a=null==t?void 0:t.domain,i=document.createElement("form");i.method="POST",i.action=r;var l={redirect_url:n,auth_nonce:o,domain:a,context:"connect"};Object.keys(l).forEach(function(e){if(l[e]){var t=document.createElement("input");t.type="hidden",t.name=e,t.value=l[e],i.appendChild(t)}}),document.body.appendChild(i),i.submit()}},size:"lg",label:(0,Zn.__)("Continue with Google","wp-smushit")})))))};Bd.propTypes={baseClass:l().string.isRequired,onContinue:l().func,onTabChange:l().func,setActiveTabRef:l().object,onClose:l().func};var Dd=Bd;function Vd(e){return Vd="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},Vd(e)}function Zd(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 Fd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zd(Object(n),!0).forEach(function(t){Rd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Rd(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Vd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Vd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Vd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ud(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Gd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Wd=function(e){var t=e.onComplete,n=(e.onSkip,e.onClose),r="wpmudev-onboarding-wizard",o="smush_onboarding_history",i=function(e){if(null!==(e=smushUIData)&&void 0!==e&&null!==(e=e.hubConnector)&&void 0!==e&&e.has_login_error)return 5;var t=Nr(or);if(t){var n=parseInt(t,10);return n===fr?mr:n}return mr}(),l=Ud((0,a.useState)(i),2),c=l[0],s=l[1],u=Ud((0,a.useState)("create"),2),m=u[0],f=u[1],p=(0,a.useRef)(null),d=(0,a.useRef)(!1),v=(0,a.useRef)(!1);(0,a.useEffect)(function(){c!==fr&&Pr(or,c)},[c]),(0,a.useEffect)(function(){var e=function(e){var t,n,r,a,i;if(null!==(t=e.state)&&void 0!==t&&t[o]){var l=null!==(n=null===(r=e.state)||void 0===r?void 0:r.step)&&void 0!==n?n:mr;d.current=!0,s(l===fr?mr:l);var c="login"===(null===(a=e.state)||void 0===a?void 0:a.hubTab)?"login":"create";f(c),null===(i=p.current)||void 0===i||i.call(p,c)}},t=window.history.state||{};return window.history.replaceState(Fd(Fd({},t),{},Rd(Rd(Rd({},o,!0),"step",c),"hubTab",m)),document.title),v.current=!0,window.addEventListener("popstate",e),function(){window.removeEventListener("popstate",e)}},[]),(0,a.useEffect)(function(){if(v.current&&c!==fr)if(d.current)d.current=!1;else{var e=window.history.state||{};null!=e&&e[o]&&e.step===c&&e.hubTab===m||window.history.pushState(Fd(Fd({},e),{},Rd(Rd(Rd({},o,!0),"step",c),"hubTab",m)),document.title)}},[c,m]);var h=function(){xr(or);for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];null==n||n.apply(void 0,t)},C=function(){h(!0,!0,"skip-wizard")};return a.createElement("div",{className:"".concat(r,"-wrapper")},a.createElement(Vn,{shadow:!1,border:!0,className:r},!1,a.createElement("div",{className:"".concat(r,"__close-button")},a.createElement(Ms.Basic,{placement:"bottom-center",width:"fit-content",content:(0,Zn.__)("Close Wizard","wp-smushit"),style:{"--wpmudev-tooltip-padding":"4px 10px","--wpmudev-tooltip-font-size":"var( --wpmudev-text-xs, 11px )"}},a.createElement("button",{className:"wpmudev-popup-close",onClick:function(){[mr,fr,pr,dr].includes(c)?C():h()}},a.createElement(gn,{name:"Close",size:16})))),a.createElement("div",{className:"".concat(r,"__content ").concat(r,"__step_").concat(c,"_content")},c===mr&&a.createElement(Gp,{baseClass:r,onStartScan:function(){s(fr)},onSkip:C}),c===fr&&a.createElement(nd,{baseClass:r,onComplete:function(){s(pr)},onSkip:C}),c===pr&&a.createElement(ud,{baseClass:r,onContinue:function(){s(dr),null==t||t()},onClose:h}),c===dr&&a.createElement(_d,{baseClass:r,onContinue:function(){var e;br()||null!==(e=smushUIData)&&void 0!==e&&null!==(e=e.hubConnector)&&void 0!==e&&e.is_logged_in?h(!1):s(5)},onClose:C}),5===c&&a.createElement(Dd,{baseClass:r,onContinue:function(){var e,t;(h(!1,!1),null!==(e=smushUIData)&&void 0!==e&&null!==(e=e.hubConnector)&&void 0!==e&&e.hub_signup_url)&&(window.location.href=null===(t=smushUIData)||void 0===t||null===(t=t.hubConnector)||void 0===t?void 0:t.hub_signup_url)},onTabChange:f,setActiveTabRef:p,onClose:function(){h(!(arguments.length>0&&void 0!==arguments[0])||arguments[0],!(arguments.length>1&&void 0!==arguments[1])||arguments[1],arguments.length>2&&void 0!==arguments[2]?arguments[2]:sr,arguments.length>3&&void 0!==arguments[3]?arguments[3]:"")}}))))};Wd.propTypes={onComplete:l().func,onSkip:l().func,onClose:l().func};function qd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Kd=function(){var e=qr(),t=e.openHubConnectionFlow,n=e.setOpenHubConnectionFlow,r=qd((0,a.useState)("create"),2),o=r[0],i=r[1],l=(0,a.useRef)(null),c=ac(t,function(){n(!1)},!0),s=c.closing,u=c.shouldRender,m=c.handleClose;if(!u)return null;var f=["wpmudev-onboarding-wizard-overlay",s&&"wpmudev-onboarding-wizard-overlay--closing"].filter(Boolean).join(" ");return a.createElement("div",{className:f},"login"===o&&a.createElement(jn,{variant:"secondary",className:"wpmudev-onboarding-wizard-overlay__back",onClick:function(){var e;return null===(e=l.current)||void 0===e?void 0:e.call(l,"create")},"aria-label":"Back"},a.createElement(gn,{name:"ChevronLeft",size:10})),a.createElement("div",{className:"wpmudev-onboarding-wizard-overlay__close"},a.createElement(Ms.Basic,{placement:"bottom-center",width:"fit-content",content:(0,Zn.__)("Exit","wp-smushit"),style:{"--wpmudev-tooltip-padding":"4px 10px","--wpmudev-tooltip-font-size":"var( --wpmudev-text-xs, 11px )"}},a.createElement("button",{className:"wpmudev-onboarding-wizard-overlay__close-button",onClick:m,"aria-label":(0,Zn.__)("Close","wp-smushit")},a.createElement(gn,{name:"Close",size:16})))),a.createElement(Vn,{shadow:!1,border:!1,className:"wpmudev-onboarding-wizard"},a.createElement(P.Column,{align:"center",justify:"center",className:"wpmudev-onboarding-wizard__inner",gap:"0"},a.createElement(Dd,{baseClass:"wpmudev-onboarding-wizard",onContinue:m,onTabChange:function(e){i(e)},setActiveTabRef:l,initialTab:["login","create"].includes(t)?t:"create"}))))};function Xd(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Jd(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Jd(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Jd(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Jd(m,"constructor",s),Jd(s,"constructor",c),c.displayName="GeneratorFunction",Jd(s,o,"GeneratorFunction"),Jd(m),Jd(m,o,"Generator"),Jd(m,r,function(){return this}),Jd(m,"toString",function(){return"[object Generator]"}),(Xd=function(){return{w:a,m:f}})()}function Jd(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Jd=function(e,t,n,r){function a(t,n){Jd(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Jd(e,t,n,r)}function Yd(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}var Qd=function(e){var t=e.isOpen,n=e.onClose,r=void 0===n?function(){}:n,o=e.onConfirm,i=e.isProcessing,l=e.isCancelling,c=ea()||{},s=c.bulkSmushStatus,u=void 0===s?{}:s,m=u.cancelling,f=void 0!==m&&m,p=u.inProcessing,d=u.starting,v=void 0!==d&&d,h=c.cancelBulkSmush,C=Rl().hideDocLink,g=void 0!==l?l:f,b=void 0!==i?i:v||p||g;(0,a.useEffect)(function(){t&&(b||r())},[t,b,r]);var y=function(){var e,t=(e=Xd().m(function e(){return Xd().w(function(e){for(;;)switch(e.n){case 0:if("function"!=typeof o){e.n=2;break}return e.n=1,o();case 1:return e.a(2);case 2:h();case 3:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Yd(a,r,o,i,l,"next",e)}function l(e){Yd(a,r,o,i,l,"throw",e)}i(void 0)})});return function(){return t.apply(this,arguments)}}();return a.createElement(Yf,{className:"wpmudev-smush-cancel-confirm-modal",isOpen:t,title:(0,Zn.__)("Stop this process? ","wp-smushit"),content:C?null:a.createElement("div",{style:{maxWidth:"285px",margin:"0 auto",padding:"0 15px"}},a.createElement(Hi.P,{size:"xs"},(0,ic.A)((0,Zn.__)(" Visit our <troubleshootingGuideLink>troubleshooting guide</troubleshootingGuideLink> for help with common Smush issues.","wp-smushit"),{troubleshootingGuideLink:a.createElement(Hi.Link,{size:"xs",className:"wpmudev-text-link--underline",href:"https://wpmudev.com/docs/wpmu-dev-plugins/smush/#troubleshooting-guide"})}))),buttonText:(0,Zn.__)("Resume","wp-smushit"),onClose:r,extraButton:a.createElement(jn,{className:"wpmudev-smush-cancel-confirm-modal__stop-button",variant:"ghost",size:"lg",onClick:y,loading:g,disabled:g},(0,Zn.__)("Stop Optimizing","wp-smushit")),showCloseButton:!1,closeOnOverlayClick:!0})};Qd.propTypes={isOpen:l().bool.isRequired,onClose:l().func,onConfirm:l().func,isProcessing:l().bool,isCancelling:l().bool};var ev=Qd,tv=function(){var e=qr(),t=e.isBulkSmushCancelModalOpen,n=e.setIsBulkSmushCancelModalOpen,r="undefined"!=typeof document&&!!document.querySelector(".smush-dashboard-page"),o=fa&&fa()||{},i=o.scanStatus,l=void 0===i?{}:i,c=l.inProcessing,s=void 0!==c&&c,u=l.totalItems,m=void 0===u?0:u,f=l.processedItems,p=void 0===f?0:f,d=l.starting,v=void 0!==d&&d,h=l.cancelling,C=void 0!==h&&h,g=(o.cancelScan,o.setIsScanCancelModalOpen),b=ea&&ea()||{},y=b.bulkSmushStatus,w=void 0===y?{}:y,_=w.inProcessing,E=void 0!==_&&_,O=w.totalItems,S=void 0===O?0:O,j=w.processedItems,N=void 0===j?0:j,P=w.starting,x=void 0!==P&&P,k=w.cancelling,A=void 0!==k&&k,L=w.isPaused,T=void 0!==L&&L,M=(b.cancelBulkSmush,!!(v||s||C)),I=!(T||!(x||E||A)),z=!!I;if(!M&&!I)return null;var H="smush-directory"===jr(["page"]).page;return M?a.createElement(Cl,{variant:"floating",value:p||0,max:m||0,label:H?(0,Zn.__)("Scanning Media Library","wp-smushit"):(0,Zn.__)("Scanning","wp-smushit"),showSpinner:!1,showCloseButton:r,onClose:function(){return g(!0)},loading:v,disabled:!!C,className:"smush-scan-progress-bar"}):I&&!r?a.createElement(a.Fragment,null,a.createElement(Cl,{variant:"floating",value:N||0,max:S||0,label:H?(0,Zn.__)("Optimizing Media Library","wp-smushit"):(0,Zn.__)("Optimizing","wp-smushit"),onClose:z?function(){return n(!0)}:void 0,showSpinner:!1,showCloseButton:z,loading:x,showBackgroundNote:!0,disabled:!!A}),a.createElement(ev,{isOpen:t,onClose:function(){return n(!1)}})):null};tv.displayName="GlobalProgressOverlays";var nv=tv;function rv(e){return rv="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},rv(e)}function ov(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return av(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?av(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function av(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iv(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 lv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iv(Object(n),!0).forEach(function(t){cv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cv(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=rv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=rv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rv(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sv=function(e){var t=e.icon,n=e.badgeText,r=e.iconBackground,o=void 0===r?"#005F70":r,i=e.iconStyle,l=void 0===i?{}:i,c=e.title,s=e.description,u=e.content,m=e.className,f=["wpmudev-slide-modal__header",void 0===m?"":m].filter(Boolean).join(" ");return a.createElement(P,{className:f,gap:"10px",direction:"column",align:"center",justify:"center"},(t||n)&&a.createElement(P,{className:"wpmudev-slide-modal__header-icon",align:"center",justify:"center",style:lv({backgroundColor:o},l)},t&&a.createElement(gn,{name:t,size:20,color:"#FFFFFF"}),!t&&n),a.createElement(P,{direction:"column",align:"center",justify:"center",gap:"0"},a.createElement(Hi.H3,{size:"32px",lineHeight:"40px"},c),u,s&&a.createElement(Hi.P,{size:"sm",color:"#666",align:"center"},s)))};sv.propTypes={icon:l().string,iconBackground:l().string,title:l().node.isRequired,description:l().node,className:l().string};var uv=function(e){var t=e.step,n=e.index,r=e.hideIcon;return a.createElement(P,{align:"center",gap:"15px",className:"wpmudev-slide-modal__step"},!r&&t.icon&&a.createElement("div",{className:"wpmudev-slide-modal__step-icon"},a.createElement(gn,{name:t.icon,color:"#fff"})),!r&&!t.icon&&a.createElement("div",{className:"wpmudev-slide-modal__step-icon wpmudev-slide-modal__step-number"},n+1),a.createElement(P,{direction:"column",gap:"0"},a.createElement(Hi.P,{size:"sm",weight:"bold"},t.title),t.description&&a.createElement(Hi.P,{size:"sm",color:"#666"},t.description)))};uv.propTypes={step:l().shape({icon:l().string,title:l().node.isRequired,description:l().node}).isRequired,index:l().number.isRequired};var mv=function(e){var t=e.steps,n=e.introTitle,r=e.introDescription,o=e.sectionTitle,i=e.className,l=void 0===i?"":i,c=e.contentClassName,s=void 0===c?"":c,u=e.contentStyle,m=void 0===u?{}:u,f=e.hideIcon,p=void 0!==f&&f,d=["wpmudev-slide-modal__steps",l].filter(Boolean).join(" "),v=["wpmudev-slide-modal__steps-content",s].filter(Boolean).join(" ");return a.createElement("div",{className:d},a.createElement(P,{gap:"20px",direction:"column",className:v,style:m},(n||r)&&a.createElement(P,{direction:"column",gap:"4px"},n&&a.createElement(Hi.P,{size:"sm",weight:"bold"},n),r&&a.createElement(Hi.P,{size:"sm"},r)),o&&a.createElement(a.Fragment,null,a.createElement("div",{className:"wpmudev-slide-modal__steps-divider"}),a.createElement(Hi.P,{size:"sm",weight:"bold"},o)),t.map(function(e,t){return a.createElement(uv,{key:"".concat(e.title,"-").concat(t),step:e,index:t,hideIcon:p})})))};mv.propTypes={steps:l().arrayOf(uv.propTypes.step).isRequired,introTitle:l().node,introDescription:l().node,sectionTitle:l().node,className:l().string,contentClassName:l().string,contentStyle:l().object};var fv=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.style,i=void 0===o?{}:o,l=["wpmudev-slide-modal__actions",r].filter(Boolean).join(" ");return a.createElement(P,{align:"center",justify:"center",gap:"10px",className:l,style:i},t)};fv.propTypes={children:l().node.isRequired,className:l().string,style:l().object};var pv=function(e){var t=e.isOpen,n=e.onClose,r=e.className,o=void 0===r?"":r,i=e.panelClassName,l=void 0===i?"":i,c=e.children,s=e.showCloseButton,u=void 0===s||s,m=e.closeOnOverlayClick,f=void 0===m||m,p=e.closeOnEscape,d=void 0===p||p,v=e.openDelay,h=void 0===v?120:v,C=e.animationDuration,g=void 0===C?700:C,b=e.style,y=ov((0,a.useState)(!1),2),w=y[0],_=y[1];(0,a.useEffect)(function(){var e;return t?e=setTimeout(function(){_(!0)},h):_(!1),function(){e&&clearTimeout(e)}},[t,h]);var E=ac(w,function(){},d,g,n),O=E.pending,S=E.closing,j=E.shouldRender,N=E.handleClose;if((0,a.useEffect)(function(){return document.body.style.overflow=j?"hidden":"",function(){document.body.style.overflow=""}},[j]),!j)return null;var P="wpmudev-slide-modal",x=[P,O&&"".concat(P,"--pending"),S&&"".concat(P,"--closing"),o].filter(Boolean).join(" "),k=document.getElementById("wpmudev-ui-root")||document.body;return(0,fl.createPortal)(a.createElement("div",{className:x,role:"dialog","aria-modal":"true",style:b},a.createElement("div",{className:"".concat(P,"__overlay"),onClick:function(e){f&&e.target===e.currentTarget&&N()},onKeyDown:function(e){f&&e.target===e.currentTarget&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),N()))},role:"button",tabIndex:f?0:-1},a.createElement("div",{className:"".concat(P,"__positioner")},a.createElement("div",{className:["".concat(P,"__panel"),l].filter(Boolean).join(" ")},u&&a.createElement("div",{className:"".concat(P,"__close")},a.createElement(Ms.Basic,{placement:"bottom-center",width:"fit-content",content:(0,Zn.__)("Exit","wp-smushit")},a.createElement("button",{"aria-label":(0,Zn.__)("Close","wp-smushit"),onClick:N},a.createElement(gn,{name:"Close",size:16})))),a.createElement("div",{className:"".concat(P,"__content")},c))))),k)};pv.propTypes={isOpen:l().bool.isRequired,onClose:l().func.isRequired,className:l().string,panelClassName:l().string,children:l().node.isRequired,showCloseButton:l().bool,closeOnOverlayClick:l().bool,closeOnEscape:l().bool,openDelay:l().number,animationDuration:l().number},pv.Header=sv,pv.Content=mv,pv.Actions=fv;var dv=pv;function vv(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return hv(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(hv(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,hv(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,hv(m,"constructor",s),hv(s,"constructor",c),c.displayName="GeneratorFunction",hv(s,o,"GeneratorFunction"),hv(m),hv(m,o,"Generator"),hv(m,r,function(){return this}),hv(m,"toString",function(){return"[object Generator]"}),(vv=function(){return{w:a,m:f}})()}function hv(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}hv=function(e,t,n,r){function a(t,n){hv(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},hv(e,t,n,r)}function Cv(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function gv(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Cv(a,r,o,i,l,"next",e)}function l(e){Cv(a,r,o,i,l,"throw",e)}i(void 0)})}}function bv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yv(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var wv,_v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){var e=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(/^\d+\.\d+(?:\.\d+)?/);return e?e[0]:""}(e),r=n.split("."),o=r.length>=2?r.slice(0,2).join("."):"";return t[e]?e:t[n]?n:t[o]?o:null},Ev=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,a.useMemo)(function(){return _v(e,t)},[e,t]),r=bv((0,a.useState)(!0),2),o=r[0],i=r[1];return{isOpen:o,handleClose:(0,a.useCallback)(gv(vv().m(function e(){var t;return vv().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,Kn.common.hideUpgradeModal();case 1:e.n=3;break;case 2:e.p=2,t=e.v,console.error("Error hiding upgrade modal:",t);case 3:window.smushUIData&&(window.smushUIData.showUpgradeModal=!1),i(!1);case 4:return e.a(2)}},e,null,[[0,2]])})),[]),resolvedVersion:n}};function Ov(e){return Ov="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},Ov(e)}function Sv(){return Sv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sv.apply(null,arguments)}function jv(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Nv(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Nv(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Nv(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Nv(m,"constructor",s),Nv(s,"constructor",c),c.displayName="GeneratorFunction",Nv(s,o,"GeneratorFunction"),Nv(m),Nv(m,o,"Generator"),Nv(m,r,function(){return this}),Nv(m,"toString",function(){return"[object Generator]"}),(jv=function(){return{w:a,m:f}})()}function Nv(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Nv=function(e,t,n,r){function a(t,n){Nv(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Nv(e,t,n,r)}function Pv(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function xv(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Pv(a,r,o,i,l,"next",e)}function l(e){Pv(a,r,o,i,l,"throw",e)}i(void 0)})}}function kv(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 Av(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kv(Object(n),!0).forEach(function(t){Lv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Lv(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Ov(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ov(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ov(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tv=((null===(wv=window.smushUIData)||void 0===wv||null===(wv=wv.updateNotification)||void 0===wv?void 0:wv.currentVersion)||"").replace(/-.+$/,""),Mv={title:(0,Zn.__)("Powerful image optimization, made simple","wp-smushit"),description:(0,Zn.sprintf)((0,Zn.__)("Smush %s simplifies your workflow and makes powerful features easier to find and use.","wp-smushit"),Tv)},Iv={pro:{sectionTitle:"",benefits:[]},freeConnected:{sectionTitle:(0,Zn.__)("More power, now free:","wp-smushit"),benefits:[{icon:"Infinity",title:(0,Zn.__)("Unlimited optimization","wp-smushit"),description:(0,Zn.__)("No more 50-image limit. Optimize your entire library in one go. Bulk smush away!","wp-smushit")},{icon:"Time",title:(0,Zn.__)("Background processing","wp-smushit"),description:(0,Zn.__)("Start optimizing and move on. Smush handles the rest.","wp-smushit")}]},freeDisconnected:{sectionTitle:(0,Zn.sprintf)((0,Zn.__)("Plus, you're getting more than ever with %s:","wp-smushit"),Tv),benefits:[{icon:"Infinity",title:(0,Zn.__)("Unlimited optimization","wp-smushit"),description:(0,Zn.__)("No more 50-image limit. Optimize your entire library in one go. Bulk smush away!","wp-smushit")},{icon:"Time",title:(0,Zn.__)("Background processing","wp-smushit"),description:(0,Zn.__)("Start optimizing and move on. Smush handles the rest.","wp-smushit")}]}},zv={"4.0":{titleVersion:"4.0",badgeType:"text",badgeText:a.createElement(Hi,{size:"28px",color:"#fff",lineHeight:"22px"},"4"),primaryLabel:(0,Zn.__)("Get started","wp-smushit")}},Hv={maxHeight:"328px",overflowY:"auto"},Bv=function(){var e,t=!(null===(e=window.smushUIData)||void 0===e||!e.isPro),n=qr(),r=n.pageUrls,o=void 0===r?{}:r,i=n.setOpenHubConnectionFlow,l=ai().hubConnectorData,c=!(null==l||!l.is_available),s=!!(null!=l&&l.is_logged_in||null!=l&&l.profile_data),u=Ev(Tv,zv),m=u.isOpen,f=u.handleClose,p=u.resolvedVersion,d=u.closingModal,v=(0,a.useMemo)(function(){return p?zv[p]:Av(Av({},zv["4.0"]),{},{titleVersion:Tv})},[p]),h=(0,a.useMemo)(function(){return function(e,t){return e?"pro":t?"freeConnected":"freeDisconnected"}(t,s)},[t,s]),C=(0,a.useMemo)(function(){return Iv[h]},[h]),g=(0,a.useCallback)(xv(jv().m(function e(){var n;return jv().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,f();case 1:if(n=null==o?void 0:o.dashboardUrl,!t&&!s){e.n=2;break}return n&&(window.location.href=n),e.a(2);case 2:if(!c){e.n=3;break}return i("create","smush_welcome_modal_connect_create_account"),e.a(2);case 3:n&&(window.location.href=n);case 4:return e.a(2)}},e)})),[f,c,s,t,null==o?void 0:o.dashboardUrl,i]);if(!v||!C)return null;var b=(0,Zn.sprintf)((0,Zn.__)("Welcome to Smush %s","wp-smushit"),v.titleVersion);return a.createElement(dv,{isOpen:m,onClose:f,showCloseButton:!0,closeOnOverlayClick:!1,closingModal:d},a.createElement(P,{gap:"30px",direction:"column",align:"center",justify:"center"},a.createElement(dv.Header,Sv({},"icon"===v.badgeType&&{icon:v.badgeIcon},"text"===v.badgeType&&{badgeText:v.badgeText},{iconBackground:"#00D7FF",iconStyle:{borderRadius:"16px",width:"45px",height:"45px"},title:b,content:a.createElement(Hi.P,{size:"32px",lineHeight:"40px",color:"#666"},(0,Zn.__)("See what's new","wp-smushit"))})),a.createElement(dv.Content,{steps:C.benefits,introTitle:Mv.title,introDescription:Mv.description,sectionTitle:C.sectionTitle,contentStyle:Hv}),a.createElement(dv.Actions,null,a.createElement(jn,{className:"wpmudev-slide-modal__button",variant:"black",size:"lg",onClick:g},v.primaryLabel))))};function Dv(e){return Dv="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},Dv(e)}function Vv(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 Zv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vv(Object(n),!0).forEach(function(t){Fv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fv(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Dv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Dv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Dv(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rv="smush_deactivated_notification",Uv=function(){var e=!!Lr().smushDeactivated,t=qr(),n=t.setToast,r=t.registerQueueableToast,o=t.showQueueableToast,i=(0,a.useCallback)(function(){n(function(e){return Zv(Zv({},e),{},{open:!1})})},[n]),l=(0,a.useCallback)(function(){return{placement:"top-right",info:{title:(0,Zn.__)("Smush Free deactivated","wp-smushit"),description:(0,Zn.__)("Smush Free was deactivated. You have Smush Pro active!","wp-smushit"),icon:a.createElement(gn,{name:"Check",size:16,color:"#FFFFFF"}),closable:!0},autoClose:!0}},[i]);return(0,a.useEffect)(function(){return r(Rv,l)},[r,l]),(0,a.useEffect)(function(){e&&o({toastKey:Rv})},[o,e]),null},Gv="plugin-conflict",Wv=function(){var e=hi(),t=e.isNoticeDismissed,n=e.dismissNotice,r=Lr().pluginConflictData||{},o=r.plugins,i=void 0===o?[]:o,l=r.pluginsPageUrl,c=void 0===l?"":l,s=!("smush-lazy-preload"===new URLSearchParams(window.location.search).get("page"))&&!t(Gv)&&i.length>0,u=a.createElement(a.Fragment,null,a.createElement("p",null,(0,Zn.__)("You have multiple image optimization plugins installed that could conflict with Smush and cause issues. For best results, we recommend deactivating the following plugin(s):","wp-smushit")),a.createElement("ul",{style:{marginTop:"15px"}},i.map(function(e,t){return a.createElement("li",{key:t},a.createElement("strong",null,e))})));return a.createElement(Yf,{isOpen:s,onClose:function(){return n(Gv)},showCloseButton:!1,closeOnEscape:!1,avatar:a.createElement("div",{className:"wpmudev-info-modal__info-modal-avatar--warning"},a.createElement(gn,{name:"WarningTriangleWhite",size:16,color:"#FFFFFF"})),title:(0,Zn.__)("Incompatible plugin(s) detected","wp-smushit"),content:u,buttonText:(0,Zn.__)("Dismiss","wp-smushit"),buttonVariant:"transparent",extraButton:a.createElement(jn,{variant:"black",size:"lg",style:{width:"100%"},onClick:function(){window.location.href=c}},(0,Zn.__)("Manage Plugins","wp-smushit"))})};Wv.displayName="PluginConflictNotice";var qv=Wv;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},$v(e)}function Kv(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 Xv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kv(Object(n),!0).forEach(function(t){Jv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Jv(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=$v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yv=function(e){var t=e.className,n=void 0===t?"":t,r=e.width,o=void 0===r?"100%":r,i=e.height,l=void 0===i?"20px":i,c=e.borderRadius,s=void 0===c?"4px":c,u=e.hideOnMobile,m=void 0!==u&&u,f=e.style,p=void 0===f?{}:f,d=["smush-preloader",m?"smush-preloader--hide-on-mobile":"",n].filter(Boolean).join(" "),v=Xv({width:o,height:l,borderRadius:s},p);return a.createElement("div",{className:d,style:v,"aria-hidden":"true"})};Yv.propTypes={className:l().string,width:l().string,height:l().string,borderRadius:l().string,style:l().object};var Qv=function(e){var t=e.className,n=void 0===t?"":t,r=e.width,o=void 0===r?"310px":r,i=e.height,l=void 0===i?"70px":i,c=e.avatarSize,s=void 0===c?"40px":c,u=e.lineHeight,m=void 0===u?"12px":u,f=e.cardContent,p=void 0===f||f,d=e.style,v=void 0===d?{}:d,h=["smush-preloader","smush-preloader-card",n].filter(Boolean).join(" "),C=Xv({width:o,height:l},v);return a.createElement("div",{className:h,style:C,"aria-hidden":"true"},a.createElement("div",{className:"smush-preloader-card__avatar",style:{width:s,height:s}}),p&&a.createElement("div",{className:"smush-preloader-card__content"},a.createElement("div",{className:"smush-preloader-card__line",style:{height:m}}),a.createElement("div",{className:"smush-preloader-card__line smush-preloader-card__line--short",style:{height:m}})))};Qv.propTypes={className:l().string,width:l().string,height:l().string,avatarSize:l().string,lineHeight:l().string,cardContent:l().bool,style:l().object};var eh=Yv,th=function(e){var t=e.className,n=["smush-header",void 0===t?"":t].filter(Boolean).join(" ");return a.createElement(P,{id:"wpmudev-page-header",align:"center",justify:"space-between",className:n},a.createElement(bp,null),a.createElement(P,{align:"center",gap:"15px"},a.createElement(eh,{hideOnMobile:!0,width:"111px",height:"30px",borderRadius:"15px"}),a.createElement(eh,{hideOnMobile:!0,width:"124px",height:"30px",borderRadius:"15px",style:{marginRight:"10px"}}),a.createElement("li",{className:"wpmudev_nav__item-separator","aria-hidden":"true"}),a.createElement(P,{align:"center",gap:"10px"},a.createElement(eh,{hideOnMobile:!0,width:"30px",height:"30px",borderRadius:"15px"}),a.createElement(eh,{width:"30px",height:"30px",borderRadius:"15px"}),a.createElement(eh,{width:"30px",height:"30px",borderRadius:"15px"})),a.createElement(eh,{width:"55px",height:"30px",borderRadius:"15px"})))};th.displayName="PageHeaderLoader",th.propTypes={className:l().string};var nh=th,rh=function(e){var t=e.className,n=["smush-sidecontent","smush-sidecontent--preloader",void 0===t?"":t].filter(Boolean).join(" ");return a.createElement(g.Column,{className:n,gap:0},a.createElement(P,{align:"center",justify:"space-between",className:"smush-sidecontent__header",gap:0},a.createElement("div",{className:"smush-sidecontent__header-spacer","aria-hidden":"true"}),a.createElement(eh,{className:"smush-sidecontent__header-title",width:"69px",height:"22px",borderRadius:"100px"}),a.createElement(eh,{className:"smush-sidecontent__header-action",width:"30px",height:"30px",borderRadius:"15px"})),a.createElement(P.Column,{className:"smush-sidecontent__drawers",padding:0},a.createElement("div",{className:"smush-sidecontent__group"},a.createElement(Hi,{className:"smush-sidecontent__group-label smush-preloader",size:"xs",color:"#666",style:{borderRadius:"100px",minWidth:"50px",marginTop:"15px",marginBottom:"10px",height:"22px"}}),Array.from({length:3}).map(function(e,t){return a.createElement(Qv,{key:t,width:"100%",height:"60px",avatarSize:"30px",lineHeight:"14px",cardContent:!1,style:{marginBottom:"10px"}})}))))};rh.propTypes={className:l().string};var oh,ah,ih=rh;function lh(e){return lh="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},lh(e)}function ch(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 sh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ch(Object(n),!0).forEach(function(t){uh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ch(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uh(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=lh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=lh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==lh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mh={guest:{variant:"guest",planName:(0,Zn.__)("Free","wp-smushit"),buttonText:(0,Zn.__)("Your current plan","wp-smushit"),buttonVariant:"black",buttonDisabled:!0,features:[a.createElement(P,{align:"center",gap:"7px"},(0,Zn.__)("Image compression","wp-smushit"),a.createElement(Un,null,(0,Zn.__)("Basic","wp-smushit"))),a.createElement(P,{align:"center",gap:"7px"},(0,Zn.__)("Image formats","wp-smushit"),a.createElement(Un,null,(0,Zn.__)("Basic","wp-smushit")))],proFeatures:[a.createElement(a.Fragment,null,(0,Zn.sprintf)((0,Zn.__)("%d Points CDN","wp-smushit"),(null===(oh=window.smushUIData)||void 0===oh||null===(oh=oh.metaData)||void 0===oh?void 0:oh.cdnPopLocations)||119),a.createElement(Un,null,(0,Zn.__)("Up to 500GB","wp-smushit"))),a.createElement(a.Fragment,null,(0,Zn.__)("Preload","wp-smushit"))]},member:{variant:"member",planName:(0,Zn.__)("Pro","wp-smushit"),buttonText:a.createElement(Hi.Link,{color:"#fff",weight:"bold",href:"https://wpmudev.com/project/wp-smush-pro/"},(0,Zn.__)("Find out more","wp-smushit")),buttonVariant:"black",features:[a.createElement(P,{align:"center",gap:"7px"},(0,Zn.__)("Image compression","wp-smushit"),a.createElement(Un,{size:"sm",variant:"purple-tag"},(0,Zn.__)("Ultra 5X","wp-smushit"))),a.createElement(P,{align:"center",gap:"7px"},(0,Zn.__)("Image formats","wp-smushit"),a.createElement(Un,{size:"sm",variant:"purple-tag"},(0,Zn.__)("Next-Gen","wp-smushit"))),a.createElement(P,{align:"center",gap:"7px"},(0,Zn.sprintf)((0,Zn.__)("%d Points CDN","wp-smushit"),(null===(ah=window.smushUIData)||void 0===ah||null===(ah=ah.metaData)||void 0===ah?void 0:ah.cdnPopLocations)||119),a.createElement(Un,{size:"sm",variant:"purple-tag"},(0,Zn.__)("Up to 500GB","wp-smushit"))),a.createElement(a.Fragment,null,(0,Zn.__)("Preload","wp-smushit"))]}},fh=sh(sh({},mh),{},{member:sh(sh({},mh.member),{},{saleAmount:36,saleDescription:a.createElement(Hi,{weight:"bold"},(0,Zn.__)("40% lifetime discount","wp-smushit"))})}),ph=function(){return a.createElement("svg",{width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M25.1082 11.9987C25.1082 13.2516 23.0945 14.1731 22.7279 15.3055C22.3614 16.4379 23.4209 18.4038 22.7104 19.3806C21.9998 20.3573 19.8254 19.9354 18.8387 20.6535C17.8519 21.3716 17.6059 23.5636 16.4333 23.9427C15.2608 24.3219 13.807 22.6948 12.5541 22.6948C11.3012 22.6948 9.80475 24.3118 8.67488 23.9427C7.54501 23.5736 7.24623 21.3641 6.26952 20.6535C5.29281 19.943 3.11593 20.3673 2.39783 19.3806C1.68727 18.4038 2.7619 16.478 2.38026 15.3055C1.99861 14.1329 0 13.2542 0 11.9987C0 10.7433 2.01368 9.82437 2.38026 8.69199C2.7619 7.51944 1.68727 5.59364 2.39783 4.61693C3.11593 3.63018 5.28277 4.06204 6.26952 3.34395C7.25627 2.62585 7.50233 0.436416 8.67488 0.0572818C9.84744 -0.321852 11.3012 1.30516 12.5541 1.30516C13.807 1.30516 15.3034 -0.311809 16.4333 0.0572818C17.5632 0.426372 17.862 2.63589 18.8387 3.34646C19.8254 4.06455 21.9923 3.63269 22.7104 4.61944C23.4285 5.6062 22.3463 7.52195 22.7279 8.6945C23.1096 9.86706 25.1082 10.7458 25.1082 12.0013V11.9987Z",fill:"url(#paint0_radial_17142_31227)"}),a.createElement("path",{d:"M8.8584 0.625977C8.99172 0.58287 9.16774 0.584187 9.42285 0.663086C9.68231 0.743342 9.96795 0.885039 10.3008 1.06445C10.6153 1.23403 10.9833 1.44461 11.3418 1.60352C11.7022 1.76326 12.1182 1.90226 12.5537 1.90234C12.9879 1.90234 13.4054 1.76393 13.7686 1.60547C14.1307 1.44743 14.5025 1.2402 14.8213 1.07031C15.1578 0.890999 15.4455 0.748174 15.7051 0.666992C15.9623 0.586541 16.13 0.586441 16.248 0.625C16.3668 0.663857 16.5052 0.76523 16.6699 0.985352C16.8354 1.20653 16.9884 1.49458 17.1572 1.83789C17.3171 2.16302 17.497 2.5494 17.6943 2.88672C17.8916 3.22388 18.1437 3.57906 18.4873 3.8291C18.8343 4.0816 19.2514 4.21173 19.6338 4.29395C20.0151 4.37589 20.4371 4.42406 20.793 4.47363C21.1695 4.52609 21.4881 4.58086 21.748 4.66992C22.0048 4.75793 22.1476 4.86092 22.2275 4.9707C22.3075 5.08053 22.3608 5.24766 22.3652 5.51758C22.3697 5.79087 22.3232 6.10883 22.2568 6.48242C22.194 6.83584 22.1108 7.25243 22.0713 7.6416C22.0316 8.03214 22.0267 8.46976 22.1602 8.87988C22.294 9.29073 22.5554 9.63963 22.8174 9.92969C23.0779 10.2182 23.3913 10.5033 23.6484 10.749C23.9209 11.0094 24.1438 11.2381 24.2998 11.4619C24.4528 11.6813 24.5107 11.8528 24.5107 12.001C24.5102 12.1477 24.4516 12.3209 24.2969 12.5439C24.1391 12.7712 23.9144 13.0041 23.6416 13.2666C23.3843 13.5142 23.0701 13.8006 22.8115 14.0859C22.5523 14.372 22.29 14.7173 22.1592 15.1211C22.0291 15.5229 22.0367 15.9578 22.0762 16.3438C22.1156 16.7296 22.1984 17.1472 22.2598 17.5029C22.3246 17.879 22.3694 18.2023 22.3643 18.4795C22.3591 18.755 22.305 18.9229 22.2275 19.0293C22.1502 19.1356 22.0088 19.2371 21.751 19.3252C21.4909 19.414 21.1721 19.4694 20.7949 19.5225C20.438 19.5727 20.0158 19.6223 19.6338 19.7051C19.251 19.7881 18.8339 19.9187 18.4873 20.1709C18.1401 20.4236 17.8895 20.7807 17.6943 21.1191C17.4999 21.4563 17.3239 21.8426 17.168 22.165C17.0028 22.5065 16.8524 22.7918 16.6875 23.0107C16.5252 23.2261 16.3825 23.331 16.25 23.374C16.1167 23.4171 15.9406 23.4158 15.6855 23.3369C15.4261 23.2567 15.1404 23.1149 14.8076 22.9355C14.493 22.7659 14.1242 22.5554 13.7656 22.3965C13.4052 22.2368 12.9892 22.0977 12.5537 22.0977C12.1196 22.0977 11.7019 22.2361 11.3389 22.3945C10.9769 22.5525 10.6057 22.7599 10.2871 22.9297C9.95064 23.109 9.66288 23.2518 9.40332 23.333C9.14608 23.4135 8.97839 23.4136 8.86035 23.375C8.74152 23.3362 8.60328 23.2349 8.43848 23.0146C8.27296 22.7935 8.12003 22.5055 7.95117 22.1621C7.79128 21.837 7.61142 21.4506 7.41406 21.1133C7.21679 20.7761 6.96468 20.421 6.62109 20.1709C6.27604 19.9199 5.85954 19.7916 5.47852 19.71C5.09815 19.6285 4.67562 19.5793 4.31934 19.5293C3.94253 19.4764 3.6231 19.4207 3.3623 19.3311C3.10432 19.2424 2.9608 19.1391 2.88086 19.0293C2.8035 18.923 2.75023 18.7581 2.74609 18.4873C2.74194 18.2138 2.78852 17.8951 2.85449 17.5205C2.91695 17.1659 2.99918 16.7484 3.03809 16.3584C3.07706 15.9674 3.08154 15.5297 2.94824 15.1201C2.81441 14.7093 2.55294 14.3604 2.29102 14.0703C2.03049 13.7818 1.71706 13.4967 1.45996 13.251C1.18747 12.9905 0.96466 12.7619 0.808594 12.5381C0.655565 12.3186 0.597729 12.1473 0.597656 11.999C0.597656 11.851 0.656077 11.6762 0.811523 11.4521C0.969239 11.2248 1.194 10.9918 1.4668 10.7295C1.72397 10.4822 2.0374 10.1962 2.2959 9.91113C2.55503 9.6254 2.81735 9.28053 2.94824 8.87695C3.08159 8.46727 3.07709 8.02978 3.03809 7.63867C2.99919 7.24872 2.91695 6.83207 2.85449 6.47754C2.78847 6.10275 2.74191 5.78342 2.74609 5.50977C2.75025 5.23934 2.80362 5.07507 2.88086 4.96875C2.96077 4.85894 3.10358 4.75599 3.36035 4.66797C3.62027 4.5789 3.93883 4.52414 4.31543 4.47168C4.67138 4.4221 5.09324 4.37299 5.47461 4.29102C5.85701 4.20881 6.27414 4.07963 6.62109 3.82715C6.96827 3.5745 7.21887 3.21713 7.41406 2.87891C7.60848 2.54197 7.7845 2.15604 7.94043 1.83398C8.10559 1.49286 8.25505 1.20799 8.41992 0.989258C8.58238 0.77375 8.72555 0.669029 8.8584 0.625977Z",stroke:"#1A1A1A",strokeOpacity:"0.4",strokeWidth:"1.19483"}),a.createElement("path",{d:"M10.7812 17.1624C10.4813 17.1624 10.225 17.0332 10.0125 16.7749L6.95625 12.9749C6.87292 12.8749 6.8125 12.7791 6.775 12.6874C6.7375 12.5916 6.71875 12.4937 6.71875 12.3937C6.71875 12.1728 6.79167 11.9895 6.9375 11.8437C7.0875 11.6978 7.27708 11.6249 7.50625 11.6249C7.76458 11.6249 7.98125 11.7395 8.15625 11.9687L10.7563 15.2812L15.8188 7.2499C15.9146 7.0999 16.0146 6.99365 16.1188 6.93115C16.2271 6.86865 16.3604 6.8374 16.5188 6.8374C16.7438 6.8374 16.9271 6.90824 17.0688 7.0499C17.2104 7.19157 17.2812 7.3749 17.2812 7.5999C17.2812 7.68324 17.2667 7.77074 17.2375 7.8624C17.2083 7.95407 17.1625 8.0499 17.1 8.1499L11.55 16.7562C11.3708 17.027 11.1146 17.1624 10.7812 17.1624Z",fill:"white"}),a.createElement("defs",null,a.createElement("radialGradient",{id:"paint0_radial_17142_31227",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(12.5541 12) scale(12.5541 12)"},a.createElement("stop",{stopColor:"#1A1A1A",stopOpacity:"0.9"}),a.createElement("stop",{offset:"1",stopColor:"#1A1A1A",stopOpacity:"0.8"}))))},dh=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"13",viewBox:"0 0 19 13",fill:"none"},a.createElement("g",{clipPath:"url(#clip0_17142_31214)"},a.createElement("path",{d:"M3.055 13C2.96833 13 2.88167 13 2.795 13C0.216666 12.8158 0 10.9308 0 10.3567C0 9.4575 0.281667 8.645 0.801667 8.04916C1.56 7.19333 2.47 6.96583 2.88167 6.96583C3.04417 6.96583 3.1525 6.99833 3.19583 7.0525C3.20667 7.07417 3.23917 7.12833 3.22833 7.15C3.22833 7.22583 3.1525 7.28 3.01167 7.3775C2.74083 7.5725 2.25333 7.94083 1.66833 8.85083C1.35417 9.33833 1.21333 9.95583 1.27833 10.5408C1.37583 11.4617 1.97167 11.9492 3.00083 11.96C4.11667 11.96 5.4275 11.18 6.13167 10.1075C6.70583 9.23 6.87917 8.255 6.5975 7.48583C6.45667 7.1175 6.13167 6.8575 5.70917 6.81417C5.67667 6.81417 5.51417 6.81417 5.51417 6.81417C5.30833 6.81417 5.09167 6.7925 4.8425 6.64083C4.70167 6.55417 4.62583 6.38083 4.65833 6.21833C4.68 6.05583 4.79917 5.915 4.96167 5.87167C5.86083 5.61167 6.7925 5.27583 7.58333 4.615C8.385 3.95417 8.82917 3.06583 8.84 2.12333C8.84 1.4625 8.4175 1.01833 7.75667 0.985832H7.59417C6.54333 0.985832 5.63333 1.44083 5.1025 2.25333C4.8425 2.64333 4.72333 3.01167 4.745 3.36917C4.745 3.49917 4.82083 3.72667 4.9725 3.79167C5.09167 3.84583 5.2 3.8675 5.31917 3.8675C5.57917 3.8675 5.80667 3.72667 5.98 3.6075C5.99083 3.6075 6.06667 3.56417 6.08833 3.56417C6.12083 3.56417 6.24 3.58583 6.24 3.78083C6.24 3.95417 6.15333 4.225 5.96917 4.46333C5.8175 4.65833 5.53583 4.89667 5.1025 4.89667C5.005 4.89667 4.9075 4.89667 4.81 4.875C4.13833 4.78833 3.65083 4.30083 3.56417 3.62917C3.49917 3.14167 3.58583 2.6325 3.81333 2.16667C4.485 0.812499 5.9475 -0.0216675 7.62667 -0.0216675C8.01667 -0.0216675 8.40667 0.0216658 8.78583 0.119166C9.92333 0.411666 10.5733 1.41917 10.3675 2.57833C10.27 3.09833 9.77167 4.88583 7.1825 6.1425C7.23667 6.175 7.30167 6.21833 7.36667 6.25083C7.865 6.5975 8.19 7.09583 8.29833 7.7025C8.45 8.52583 8.17917 9.54417 7.605 10.3567C6.68417 11.6567 4.92917 12.9675 3.06583 12.9675L3.055 13Z",fill:"black"}),a.createElement("path",{d:"M12.0249 13C11.1799 13 10.4215 12.5233 10.0424 11.7541C9.80404 11.2775 9.67404 10.7358 9.65238 10.1508C9.53321 7.50748 10.779 4.47415 12.8807 2.23165C13.4007 1.67915 14.7549 0.389979 16.2607 0.249146C16.3365 0.249146 16.4124 0.249146 16.4774 0.249146C17.3982 0.249146 18.1782 0.779979 18.514 1.63581C18.7307 2.19915 18.8174 2.81665 18.774 3.48831C18.6224 5.63331 17.5824 8.17915 15.9899 10.3025C15.2315 11.31 14.029 12.5775 12.6099 12.9458C12.4149 13 12.2199 13.0216 12.0249 13.0216V13ZM16.694 1.34331C16.5749 1.34331 16.4449 1.37581 16.3149 1.42998C15.7624 1.66831 15.2424 2.05831 14.7007 2.63248C13.249 4.15998 12.1549 5.97998 11.429 8.03831C11.0715 9.06748 10.8007 10.4866 11.1257 11.3641C11.2557 11.7 11.559 11.9058 11.9599 11.9058C13.1299 11.8625 14.2565 10.6708 14.8307 9.95581C15.914 8.61248 16.7374 7.08498 17.2899 5.43831C17.5932 4.51748 18.0049 2.82748 17.3874 1.77665C17.2249 1.50581 16.9757 1.34331 16.694 1.34331Z",fill:"black"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_17142_31214"},a.createElement("rect",{width:"18.7958",height:"13",fill:"white"}))))},vh=function(){var e=qr(),t=e.openProFeatures,n=e.setOpenProFeatures,r=Or(e.proFeaturesCampaign||"smush_header_findoutmore","https://wpmudev.com/project/wp-smush-pro/"),o=sh(sh({},fh),{},{member:sh(sh({},fh.member),{},{buttonText:a.createElement(Hi.Link,{color:"#fff",weight:"bold",href:r},(0,Zn.__)("Find out more","wp-smushit"))})});return yr(a.createElement(hf,{className:"wpmudev-pro-features-popup",overlayClassName:"wpmudev-pro-features-popup-overlay",isOpen:t,onClose:function(){n(!1)},title:(0,Zn.__)("Upgrade your plan","wp-smushit"),style:{zIndex:"var( --wpmudev-z-max, 9999 )"},overflowHidden:!1},a.createElement(al,null,a.createElement(tl,{data:o.guest}),a.createElement(tl,{data:o.member})),a.createElement(P,{justify:"center",align:"center"},a.createElement(Hi.Link,{href:Or("smush_pro_modal_money_back","https://wpmudev.com/money-back-guarantee/"),className:"wpmudev-pro-features-popup__guarantee"},a.createElement(ph,null),a.createElement(Hi,{gap:"0"},a.createElement(dh,null),(0,ic.A)((0,Zn.__)("-day <strong>money back</strong> guarantee","wp-smushit"),{strong:a.createElement("strong",{style:{margin:"0 4px"}})}),a.createElement(gn,{style:{marginLeft:"5px"},className:"wpmudev-pro-features-popup__chevron",name:"ChevronRight",size:"16"}))))))};vh.displayName="ProFeaturesPopup";var hh=vh,Ch=["children","className","showSidebar","containerRef"];function gh(){return gh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gh.apply(null,arguments)}var bh=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.showHeader,i=void 0===o||o,l=e.showFooter,c=void 0!==l&&l,s=e.containerRef,u=bo(),m=u.isSideContentVisible,f=u.showSideContent,p=u.hideSideContent,d=["smush-page","smush-page--loading",r].filter(Boolean);Yl(r,f,p);var v=["smush-main-container",m?"smush-main-container--sidebar-open":"smush-main-container--sidebar-closed"].join(" ");return a.createElement(g,{className:d.join(" "),gap:0},i&&a.createElement(g.Item,{className:"smush-row smush-row--header"},a.createElement(nh,null)),a.createElement(g.Item,{className:"smush-row smush-row--main"},a.createElement(g,{gap:0,responsive:!0,breakpoint:"1024px",className:v},a.createElement(g.Item,{className:"smush-main-content-wrapper"},a.createElement("div",{ref:s,className:"smush-main-content-container"},a.createElement("div",{className:"smush-main-content-inner"},t))),a.createElement(g.Item,{className:"smush-side-content-wrapper".concat(m?" smush-side-content-wrapper--open":" smush-side-content-wrapper--closed")},a.createElement(ih,null)))),c&&a.createElement(g.Item,{className:"smush-row smush-row--footer"},a.createElement(FooterLoader,null)),a.createElement(hh,null))},yh=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.showSidebar,i=void 0!==o&&o,l=e.containerRef,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Ch);return a.createElement($r,{showSidebar:i},a.createElement(bh,gh({className:r,containerRef:l},c),t))};bh.displayName="PageLayoutContent",bh.propTypes={children:l().node.isRequired,pageIcon:l().node,showSidebar:l().bool,showHeader:l().bool,showFooter:l().bool,breakpoints:l().oneOfType([l().oneOf([!1]),l().arrayOf(l().shape({threshold:l().number.isRequired,levelKey:l().string.isRequired}))])},yh.displayName="PageLayoutLoader",yh.propTypes={children:l().node.isRequired,className:l().string,showSidebar:l().bool,showHeader:l().bool,showFooter:l().bool,pageTitle:l().string,pageIcon:l().node};var wh=yh,_h=function(){var e,t,n=qr(),r=n.openProFeatures,o=n.openHubConnectionFlow;return r||null!==(e=window.smushUIData)&&void 0!==e&&e.showOnboardingWizard?null:o?a.createElement(Kd,null):null!==(t=window.smushUIData)&&void 0!==t&&t.showUpgradeModal?a.createElement(a.Fragment,null,a.createElement(wh,null),a.createElement(Bv,null)):a.createElement(a.Fragment,null,a.createElement(nv,null),a.createElement(Mp,null),a.createElement(Uv,null),a.createElement(qv,null))},Eh=n.p+"images/info-icon.svg",Oh=n.p+"images/info-hover-icon.svg",Sh=n.p+"images/info-disabled-icon.svg",jh=["children","className","showSidebar","breakpoints"];function Nh(){return Nh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nh.apply(null,arguments)}function Ph(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var kh=[{threshold:1480,levelKey:"large-desktop"},{threshold:1180,levelKey:"desktop"},{threshold:980,levelKey:"tablet-landscape"},{threshold:780,levelKey:"tablet"},{threshold:0,levelKey:"mobile"}],Ah=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.showHeader,i=void 0===o||o,l=e.showFooter,c=void 0!==l&&l,s=e.containerRef,u=bo(),m=u.isSideContentVisible,f=u.showSideContent,p=u.hideSideContent,d=["smush-page",m?"smush-page--side-content-visible":"smush-page--side-content-hidden",r].filter(Boolean);return Yl(r,f,p),a.createElement(g,{className:d.join(" "),gap:0,style:{"--wpmudev-tooltip-info-icon":"url(".concat(Eh,")"),"--wpmudev-tooltip-info-hover-icon":"url(".concat(Oh,")"),"--wpmudev-tooltip-info-disabled-icon":"url(".concat(Sh,")")}},a.createElement(_h,null),i&&a.createElement(g.Item,{className:"smush-row smush-row--header"},a.createElement(yp,null)),a.createElement(g.Item,{className:"smush-row smush-row--main"},a.createElement(g,{gap:0,responsive:!0,breakpoint:"1024px",className:"smush-main-container"},a.createElement(g.Item,{className:"smush-main-content-wrapper"},a.createElement("div",{ref:s,className:"smush-main-content-container"},a.createElement("div",{className:"smush-main-content-inner"},t))),a.createElement(g.Item,{className:"smush-side-content-wrapper".concat(m?" smush-side-content-wrapper--open":" smush-side-content-wrapper--closed")},a.createElement(Np,null)))),c&&a.createElement(g.Item,{className:"smush-row smush-row--footer"},a.createElement(Ap,null)),a.createElement(hh,null))},Lh=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.showSidebar,i=void 0!==o&&o,l=e.breakpoints,c=void 0===l?[]:l,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,jh),u=Ph((0,a.useState)(!0),2),m=u[0],f=u[1],p=!!Array.isArray(c)&&(0===c.length?kh:c),d=Ph(p?Sl(p):[null,[],!0],3),v=d[0],h=d[1],C=d[2],g=[r];return h.length&&(h.map(function(e){return g.push("smush-page--content-".concat(e))}),g.push("smush-page-breakpoint--content-".concat(h[h.length-1]))),(0,a.useEffect)(function(){if(C){var e=window.setTimeout(function(){f(!1)},300);return function(){return window.clearTimeout(e)}}},[C]),m?a.createElement(wh,Nh({className:g.filter(Boolean).join(" "),showSidebar:i,containerRef:v},s),a.createElement("div",{"aria-busy":"true","aria-live":"polite",style:{padding:"var(--wpmudev-space-5)"}},a.createElement(gn,{size:"32",spin:!0,name:"Spinner"}))):a.createElement($r,{showSidebar:i},a.createElement(Ah,Nh({className:g.filter(Boolean).join(" "),containerRef:v},s),t))};Ah.displayName="PageLayoutContent",Ah.propTypes={children:l().node.isRequired,pageIcon:l().node,showSidebar:l().bool,showHeader:l().bool,showFooter:l().bool,breakpoints:l().oneOfType([l().oneOf([!1]),l().arrayOf(l().shape({threshold:l().number.isRequired,levelKey:l().string.isRequired}))])},Lh.displayName="PageLayout",Lh.propTypes={children:l().node.isRequired,className:l().string,showSidebar:l().bool,showHeader:l().bool,showFooter:l().bool,pageTitle:l().string,pageIcon:l().node};var Th=Lh,Mh=function(){var e="wpmudev-data-settings";return a.createElement("div",{className:e},a.createElement("div",{className:"".concat(e,"__container")},a.createElement("div",{className:"".concat(e,"__container--restore-content")},a.createElement(Hi,{size:"14",weight:"normal"},(0,Zn.__)("Reset Factory Settings","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Need to revert back to the default settings? This button will instantly reset your settings to the defaults.","wp-smushit")},a.createElement(gn,{name:"QuestionCircle",size:14,color:"#777"}))),a.createElement(Hi.Paragraph,{size:"11",weight:"normal",color:"#777777"},(0,Zn.__)("Need to revert back to the default settings? This button will instantly reset your settings to the defaults.","wp-smushit"))),a.createElement("div",null,a.createElement(jn,{variant:"secondary",size:"sm",className:"".concat(e,"__restore-button"),onClick:function(){var e;if(window.confirm((0,Zn.__)("Are you sure you want to reset Smush's settings back to the factory defaults?","wp-smushit"))){var t=(null===(e=window.smushUIData)||void 0===e?void 0:e.resetNonce)||"";t?window.jQuery&&window.jQuery.ajax({url:window.ajaxurl,type:"POST",data:{action:"reset_settings",_wpnonce:t}}).done(function(){var e;window.location.href=(null===(e=window.wp_smush_msgs)||void 0===e?void 0:e.smush_url)||window.location.href}).fail(function(e){alert((0,Zn.__)("Failed to reset settings. Please try again.","wp-smushit"))}):console.error("Nonce not found for reset settings")}}},a.createElement(gn,{name:"ArrowRotateLeft",size:12})," ",(0,Zn.__)("Reset Settings","wp-smushit")))))};function Ih(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return zh(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(zh(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,zh(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,zh(m,"constructor",s),zh(s,"constructor",c),c.displayName="GeneratorFunction",zh(s,o,"GeneratorFunction"),zh(m),zh(m,o,"Generator"),zh(m,r,function(){return this}),zh(m,"toString",function(){return"[object Generator]"}),(Ih=function(){return{w:a,m:f}})()}function zh(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}zh=function(e,t,n,r){function a(t,n){zh(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},zh(e,t,n,r)}function Hh(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function Bh(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Hh(a,r,o,i,l,"next",e)}function l(e){Hh(a,r,o,i,l,"throw",e)}i(void 0)})}}function Dh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Zh=function(){var e,t=null===(e=window.smushUIData)||void 0===e||null===(e=e.nextgenSettings)||void 0===e?void 0:e.setupWizard,n=Dh((0,a.useState)(!1),2),r=n[0],o=n[1],i=null==t?void 0:t.showSetupWizard,l=Ra(),c=l.currentSetupWizardStep,s=l.setCurrentSetupWizardStep,u=l.isWebpSetupWizardOpen,m=l.setIsWebpSetupWizardOpen,f=(0,a.useCallback)(Bh(Ih().m(function e(){var t,n,r,o,a=arguments;return Ih().w(function(e){for(;;)switch(e.n){case 0:n=(t=a.length>0&&void 0!==a[0]?a[0]:{}).reload,r=void 0===n||n,o=t.redirectURL,r?o?window.location.href=o:window.location.reload():m(!0);case 1:return e.a(2)}},e)})),[m]),p=(0,a.useCallback)(Bh(Ih().m(function e(){var t,n,r,o,a=arguments;return Ih().w(function(e){for(;;)switch(e.n){case 0:n=(t=a.length>0&&void 0!==a[0]?a[0]:{}).reload,r=void 0===n||n,o=t.redirectURL,r?o?window.location.href=o:window.location.reload():m(!1);case 1:return e.a(2)}},e)})),[m]),d=Dh(Ua("webpDirectConversion",function(e){return!1!==e?(0,Zn.__)("WebP conversion method set to Direct Conversion.","wp-smushit"):(0,Zn.__)("WebP conversion method set to Server Configuration.","wp-smushit")}),2)[1],v=(0,a.useCallback)(Bh(Ih().m(function e(){return Ih().w(function(e){for(;;)switch(e.n){case 0:m(!0);case 1:return e.a(2)}},e)})),[m,f]),h=(0,a.useCallback)(Bh(Ih().m(function e(){return Ih().w(function(e){for(;;)switch(e.n){case 0:m(!1);try{o(!0)}catch(e){}finally{o(!1)}case 1:return e.a(2)}},e)})),[m,f]),C=Dh((0,a.useState)(null==t?void 0:t.detectedServer),2),g=C[0],b=C[1],y=Dh((0,a.useState)("automatic"),2),w=y[0],_=y[1],E=Dh((0,a.useState)(!1),2),O=E[0],S=E[1],j=(0,a.useCallback)(Bh(Ih().m(function e(){var t,n,r,o,a,l,c=arguments;return Ih().w(function(e){for(;;)switch(e.p=e.n){case 0:return n=(t=c.length>0&&void 0!==c[0]?c[0]:{}).onConfigured,r=t.onRequiredSetup,e.p=1,e.n=2,Kn.webp.recheckStatus();case 2:if(null==(o=e.v)||!o.success){e.n=4;break}if("function"!=typeof n){e.n=3;break}return e.n=3,n();case 3:return e.a(2,!0);case 4:return a="function"==typeof r?r:i?function(){return f({reload:!1})}:f,e.n=5,a(null==o?void 0:o.data);case 5:return e.a(2,!1);case 6:return e.p=6,l=e.v,console.error("Failed to recheck WebP status:",l),e.a(2,!1)}},e,null,[[1,6]])})),[i,f]),N=(0,a.useCallback)(Bh(Ih().m(function e(){var t,n,r,o,a,i,l=arguments;return Ih().w(function(e){for(;;)switch(e.p=e.n){case 0:return n=(t=l.length>0&&void 0!==l[0]?l[0]:{}).onSuccess,r=t.onError,e.p=1,e.n=2,Kn.webp.applyHtaccessRules();case 2:return o=e.v,(a=null==o?void 0:o.success)?null==n||n():null==r||r(null==o?void 0:o.data),e.a(2,a);case 3:return e.p=3,i=e.v,console.error("Failed to apply .htaccess rules:",i),e.a(2,!1)}},e,null,[[1,3]])})),[]);return{setupWizardData:t,currentStep:c,setCurrentStep:s,serverType:g,setServerType:b,rulesMethod:w,setRulesMethod:_,rulesError:O,setRulesError:S,closingModal:r,isWebpSetupWizardOpen:u,showSetupWizardHandler:v,closeSetupWizardHandler:h,switchDirectConversionMethod:function(){d(!0),h()},openWebpSetupWizard:f,closeWebpSetupWizard:p,checkLocalWebpStatus:j,applyHtaccessRules:N,isLocalWebPConfigured:null==t?void 0:t.isConfigured}};function Fh(e){var t=e.serverType,n=e.setServerType,r=e.setupWizardData;return a.createElement(P.Column,{align:"center",justify:"center",className:"smush-wizard-steps-content",gap:"20px"},a.createElement(P.Column,{align:"center",justify:"center",style:{width:"100%"},gap:"5px"},a.createElement(Hi.H3,null,(0,Zn.__)("Choose Server Type","wp-smushit")),a.createElement(Hi.P,{className:"smush-wizard-steps-content__description"},(0,Zn.__)("Select the server running your website.","wp-smushit"))),a.createElement(qs,{className:"wpmudev-tabs-selection",tabs:[{id:"apache",label:a.createElement(P,{align:"center"},a.createElement("span",{className:"wpmudev-icon icon-circle"},a.createElement("svg",{style:{width:"16px",height:"16px"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},a.createElement("path",{d:"M17.805 2.197v.066h.156v.44h.072v-.44h.156v-.066zm.9 0-.175.353-.172-.353h-.087v.506h.067V2.3l.172.35h.045l.172-.35v.404h.066v-.506zm-4.257 1c-.204.31-.424.66-.66 1.06l-.04.062a45 45 0 0 0-1.265 2.29q-.281.54-.577 1.146l2.267-.25c.66-.302.955-.578 1.242-.976a16 16 0 0 0 .23-.342c.23-.363.46-.763.663-1.16.197-.386.37-.767.505-1.11q.125-.332.198-.6.062-.236.1-.45c-.884.15-1.965.295-2.668.33zM11.894 7.78l-.077.16q-.117.238-.236.488-.128.27-.26.552l-.132.287a75 75 0 0 0-1.427 3.3q-.244.596-.493 1.23c-.15.38-.297.765-.45 1.164l-.02.06q-.224.594-.453 1.22l-.01.027.72-.08a.2.2 0 0 1-.042-.006c.863-.106 2.01-.75 2.75-1.547.342-.367.652-.8.94-1.306q.319-.564.604-1.258.252-.607.48-1.318c-.196.105-.423.18-.673.235a2 2 0 0 1-.273.046c.806-.31 1.314-.905 1.683-1.64a2.8 2.8 0 0 1-.968.428q-.088.018-.174.03l-.043.006h.002c.278-.118.514-.248.718-.403a2.6 2.6 0 0 0 .637-.698l.063-.104.077-.154a8 8 0 0 0 .367-.85l.03-.088a3 3 0 0 0 .123-.463 1 1 0 0 1-.094.065c-.243.145-.66.277-.996.34l.663-.074-.664.073h-.017l-.1.017q.008-.005.017-.008l-2.265.25-.013.022zM8.27 16.45q-.176.485-.355.992l-.005.015q-.024.07-.05.142c-.08.227-.15.432-.31.9.264.12.475.435.675.793a1.44 1.44 0 0 0-.466-.99c1.293.06 2.41-.27 2.99-1.217q.075-.126.14-.268c-.26.333-.59.474-1.2.44q-.002 0-.005.002l.004-.002c.9-.404 1.354-.79 1.754-1.433q.14-.229.28-.503c-.788.81-1.702 1.04-2.664.865l-.72.078-.067.183zM15.42.112c-.376.222-1 .85-1.748 1.763l.686 1.294c.48-.687.97-1.307 1.462-1.836l.058-.062q-.03.03-.057.062c-.16.176-.644.74-1.375 1.863.703-.035 1.784-.18 2.666-.33.262-1.47-.258-2.142-.258-2.142s-.66-1.07-1.436-.61zm-3.084 6.402a40 40 0 0 1 1.306-2.26l.04-.064q.336-.529.677-1.02l-.685-1.293-.157.192q-.297.369-.613.79a40 40 0 0 0-2.016 2.97l-.022.038.893 1.763q.284-.568.575-1.118zm-3.73 8.32c.158-.406.319-.81.483-1.225.156-.394.32-.79.484-1.19a91 91 0 0 1 1.6-3.604l.205-.424c.12-.243.237-.485.36-.724a.1.1 0 0 1 .02-.04l-.895-1.763-.044.07a44 44 0 0 0-.617 1.042 38 38 0 0 0-1.092 2.04l-.094.193a25 25 0 0 0-1.258 3.087 19 19 0 0 0-.52 1.997l.896 1.77q.177-.476.364-.963zm-1.376-.476a13 13 0 0 0-.234 1.692q-.002.03-.005.06c-.28-.45-1.03-.888-1.026-.884.537.778.944 1.55 1.005 2.31-.29.058-.684-.027-1.14-.195.475.436.83.556.97.588-.434.03-.89.328-1.346.67.668-.27 1.21-.38 1.596-.29-.61 1.74-1.23 3.655-1.843 5.69a.54.54 0 0 0 .364-.354c.11-.368.84-2.786 1.978-5.965l.097-.27.028-.078q.181-.498.374-1.02l.09-.237v-.004L7.24 14.3c-.003.02-.01.04-.012.06z"}))),a.createElement(P.Column,{gap:"0"},a.createElement(Hi,{as:"h4",size:"sm"},(0,Zn.__)("Apache / LiteSpeed","wp-smushit")),"apache"===r.detectedServer&&a.createElement(Hi,{size:"xs"},(0,Zn.__)("Recommended (Detected).","wp-smushit"))))},{id:"nginx",label:a.createElement(P,{align:"center"},a.createElement("span",{className:"wpmudev-icon icon-circle"},a.createElement("svg",{style:{width:"16px",height:"16px"},role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"NGINX"),a.createElement("path",{d:"M12 0L1.605 6v12L12 24l10.395-6V6L12 0zm6 16.59c0 .705-.646 1.29-1.529 1.29-.631 0-1.351-.255-1.801-.81l-6-7.141v6.66c0 .721-.57 1.29-1.274 1.29H7.32c-.721 0-1.29-.6-1.29-1.29V7.41c0-.705.63-1.29 1.5-1.29.646 0 1.38.255 1.83.81l5.97 7.141V7.41c0-.721.6-1.29 1.29-1.29h.075c.72 0 1.29.6 1.29 1.29v9.18H18z"}))),a.createElement(P.Column,{gap:"0"},a.createElement(Hi,{as:"h4",size:"sm"},(0,Zn.__)("NGINX","wp-smushit")),"nginx"===r.detectedServer&&a.createElement(Hi,{size:"xs"},(0,Zn.__)("Recommended (Detected).","wp-smushit"))))}],activeTab:t,onChange:n,size:"md"}),a.createElement("div",{className:"smush-webp-wizard-notice",style:{textAlign:"center"}},a.createElement("div",{className:"smush-webp-wizard-notice-content"},a.createElement(P,{align:"center",className:"smush-webp-wizard-notice-message smush-notice-info"},a.createElement(gn,{name:"Info",color:"#666",size:"18"}),a.createElement(P.Column,{gap:"0"},a.createElement(Hi,{style:{display:"block"}},(0,Zn.sprintf)((0,Zn.__)("Detected %s","wp-smushit"),"nginx"===r.detectedServer?"NGINX":"Apache / LiteSpeed")),a.createElement(Hi.P,{color:"#666"},(0,Zn.sprintf)((0,Zn.__)("If this is incorrect, choose another server type.","wp-smushit"),"nginx"===r.detectedServer?"NGINX":"Apache / LiteSpeed")))))))}var Rh=function(e){var t=e.setupWizardData,n=e.copied,r=e.setCopied;return a.createElement("div",{className:"smush-wizard-rules-wrapper"},a.createElement("ol",null,a.createElement("li",null,a.createElement(P,{justify:"space-between"},a.createElement(Hi,null,(0,Zn.__)("Copy the configuration.","wp-smushit")),a.createElement(Ms,{placement:"bottom-center",open:n,width:"fit-content",content:(0,Zn.__)("Copied","wp-smushit")},a.createElement(jn,{onMouseLeave:function(){return r(!1)},variant:"transparent",className:"btn-clipboard","data-clipboard-target":"#webp-nginx-rules"},a.createElement(Hi,{size:"xs"},(0,Zn.__)("Copy","wp-smushit")))))),a.createElement("li",null,a.createElement(Hi,null,(0,Zn.__)("Paste these rules into your NGINX server configuration.","wp-smushit")),a.createElement(Hi.P,{style:{marginTop:"6px",marginLeft:"12px"}},(0,Zn.__)("If you don't have SSH/root access, contact your hosting provider or server administrator.","wp-smushit")),a.createElement("pre",{className:"sui-code-snippet",id:"webp-nginx-rules",style:{marginLeft:"12px"}},t.nginxRules)),a.createElement("li",null,a.createElement(Hi,null,(0,Zn.__)("Reload or restart NGINX to apply the changes.","wp-smushit"))),a.createElement("li",null,a.createElement(Hi.P,null,(0,ic.A)((0,Zn.__)("Next, click <strong>Check Status</strong> to verify it’s working.","wp-smushit"),{strong:a.createElement("strong",null)})))))};function Uh(e){var t=e.serverType,n=e.rulesMethod,r=e.setRulesMethod,o=e.setupWizardData,i=e.copied,l=e.setCopied;return(0,a.useEffect)(function(){var e=new ClipboardJS(".btn-clipboard");return e.on("success",function(e){l(!0)}),function(){return e.destroy()}},[t,n]),"nginx"===t?a.createElement(P.Column,{align:"center",justify:"center",className:"smush-wizard-steps-content",gap:"20px"},a.createElement(P.Column,{align:"center",justify:"center",style:{width:"100%"},gap:"5px"},a.createElement(Hi.H3,null,(0,Zn.sprintf)((0,Zn.__)("Add %s Rules","wp-smushit"),"NGINX")),a.createElement(Hi.P,{className:"smush-wizard-steps-content__description"},(0,Zn.__)("Copy the rules below into your NGINX config, then reload NGINX.","wp-smushit"))),a.createElement(Rh,{setupWizardData:o,copied:i,setCopied:l})):a.createElement(P.Column,{align:"center",justify:"center",className:"smush-wizard-steps-content",gap:"20px"},a.createElement(P.Column,{align:"center",justify:"center",style:{width:"100%"},gap:"5px"},a.createElement(Hi.H3,null,(0,Zn.sprintf)((0,Zn.__)("Add %s Rules","wp-smushit"),"Apache/LiteSpeed")),a.createElement(Hi.P,{className:"smush-wizard-steps-content__description"},(0,Zn.__)("Add the WebP rules automatically, or copy and add them manually.","wp-smushit"))),a.createElement("div",{className:"sui-side-tabs sui-tabs"},a.createElement(P,{align:"center",justify:"center"},a.createElement(qs,{tabs:[{id:"automatic",label:a.createElement(a.Fragment,null,a.createElement(Hi,null,(0,Zn.__)("Automatic","wp-smushit")),a.createElement(Ms.Basic,{content:(0,Zn.__)("Automatically add the WebP rules to your .htaccess file.","wp-smushit")}))},{id:"manual",label:a.createElement(a.Fragment,null,a.createElement(Hi,null,(0,Zn.__)("Manual","wp-smushit")),a.createElement(Ms.Basic,{content:(0,Zn.__)("Copy and add the WebP rules to your server configuration yourself.","wp-smushit")}))}],activeTab:n,onChange:r,size:"md"})),a.createElement(P.Column,{justify:"center",className:"smush-webp-wizard-tabs-content"},a.createElement(qs.Panel,{tabId:"automatic",activeTab:n},a.createElement("div",{className:"smush-webp-wizard-notice"},a.createElement("div",{className:"smush-webp-wizard-notice-content"},a.createElement(P,{align:"center",className:"smush-webp-wizard-notice-message smush-notice-info"},a.createElement(gn,{name:"Info",size:"18",color:"#666"}),a.createElement(Hi.P,{size:"12px",color:"#666"},(0,Zn.__)("Some servers have both Apache and NGINX software which may not begin serving WebP images after applying the .htaccess rules. If errors occur after applying the rules, we recommend adding NGINX rules manually.","wp-smushit")))))),a.createElement(qs.Panel,{tabId:"manual",activeTab:n},a.createElement("div",{className:"smush-wizard-rules-wrapper"},a.createElement("ol",{className:"sui-description"},a.createElement("li",null,a.createElement(P,{justify:"space-between"},a.createElement(Hi,null,(0,Zn.__)("Copy the configuration.","wp-smushit")),a.createElement(Ms,{placement:"bottom-center",open:i,width:"fit-content",content:(0,Zn.__)("Copied","wp-smushit")},a.createElement(jn,{onMouseLeave:function(){return l(!1)},variant:"transparent",className:"btn-clipboard","data-clipboard-target":"#webp-apache-rules"},a.createElement(Hi,{size:"xs"},(0,Zn.__)("Copy","wp-smushit")))))),a.createElement("li",null,a.createElement(Hi,null,(0,Zn.__)("Open your .htaccess file (usually in your site's root folder) and paste these rules in.","wp-smushit")),a.createElement("pre",{className:"sui-code-snippet",id:"webp-apache-rules"},o.apacheRules)),a.createElement("li",null,a.createElement(Hi.P,null,(0,ic.A)((0,Zn.__)("Next, click <strong>Check Status</strong> to verify it’s working.","wp-smushit"),{strong:a.createElement("strong",null)})))))),a.createElement("div",{role:"tabpanel",tabIndex:"0",id:"smush-tab-content-manual",className:"sui-tab-content"+("manual"===n?" active":""),"aria-labelledby":"smush-tab-manual",hidden:"manual"!==n}))))}function Gh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Wh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var qh=function(){var e,t=Hl().showSmushToast,n=!(null===(e=window.smushUIData)||void 0===e||!e.isMultisite),r=Gh((0,a.useState)(!1),2),o=r[0],i=r[1];return(0,a.useEffect)(function(){if(!o){i(!0);var e=Sr(hr);t({title:(0,Zn.__)("WebP is now being served","wp-smushit"),description:n?(0,ic.A)((0,Zn.__)("WebP versions of existing images in the Media Library can only be created by optimizing the originals using the <strong>Bulk Optimization</strong> tool on each subsite.","wp-smushit"),{strong:a.createElement("strong",null)}):(0,Zn.__)("To create WebP versions for existing Media Library images, optimize the originals in the Dashboard.","wp-smushit"),primaryLabel:(0,Zn.__)("Finish & Convert Now","wp-smushit"),icon:a.createElement(gn,{name:"NextGen",size:"16",color:"#fff"}),onSmush:function(){window.location.href=e}})}},[n,t]),a.createElement(P.Column,{align:"center",justify:"center",className:"smush-wizard-steps-content",gap:"20px"},a.createElement(P.Column,{align:"center",justify:"center",style:{width:"100%"},gap:"5px"},a.createElement(Hi.H3,null,(0,Zn.__)("Finish Setup","wp-smushit")),a.createElement(Hi.P,{className:"smush-wizard-steps-content__description"},(0,Zn.__)("The rules have been applied successfully.","wp-smushit"))))};qh.propTypes={isMultisite:l().bool.isRequired};var $h=qh;function Kh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Jh=function(e){var t=e.currentStep,n=e.serverType,r=e.rulesMethod,o=e.setRulesMethod,i=e.setServerType,l=(e.rulesError,e.setupWizardData),c=Kh((0,a.useState)(!1),2),s=c[0],u=c[1];return a.createElement("div",{className:"smush-wizard-steps-content-wrapper smush-wizard-step-".concat(t)},1===t?a.createElement(Fh,{serverType:n,setServerType:i,setupWizardData:l}):2===t?a.createElement(Uh,{serverType:n,rulesMethod:r,setRulesMethod:o,setupWizardData:l,copied:s,setCopied:u}):a.createElement($h,null))};function Yh(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Qh(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Qh(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Qh(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Qh(m,"constructor",s),Qh(s,"constructor",c),c.displayName="GeneratorFunction",Qh(s,o,"GeneratorFunction"),Qh(m),Qh(m,o,"Generator"),Qh(m,r,function(){return this}),Qh(m,"toString",function(){return"[object Generator]"}),(Yh=function(){return{w:a,m:f}})()}function Qh(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Qh=function(e,t,n,r){function a(t,n){Qh(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Qh(e,t,n,r)}function eC(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function tC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nC(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}(Object.getOwnPropertyDescriptor(Jh,"name")||{}).writable||Object.defineProperty(Jh,"name",{value:"default",configurable:!0});var rC=wp.i18n.__,oC=function(e){var t=function(e){var t,n;if(null==e)return"";var r=null===(t=window.document)||void 0===t||null===(n=t.createElement)||void 0===n?void 0:n.call(t,"textarea");return r?(r.innerHTML=String(e),r.value):String(e)}(e);return t.includes("<supportLink>")?(0,ic.A)(t,{supportLink:a.createElement(Hi.Link,{className:"wpmudev-text-link--underline",href:"https://wpmudev.com/hub2/support/#get-support"})}):t},aC=function(e){var t=e.currentStep,n=e.setCurrentStep,r=e.serverType,o=e.rulesMethod,i=e.switchDirectConversionMethod,l=rC("Something went wrong with the request.","wp-smushit"),c=Zh(),s=c.checkLocalWebpStatus,u=c.applyHtaccessRules,m=c.closeWebpSetupWizard,f=Hl().showSmushToast,p=tC(a.useState(!1),2),d=p[0],v=p[1],h=function(){var e,r=(e=Yh().m(function e(){return Yh().w(function(e){for(;;)switch(e.p=e.n){case 0:return v(!0),e.p=1,e.n=2,s({onConfigured:function(){return n(t+1)},onRequiredSetup:function(e){var t=e||l;f({title:rC("WebP isn’t being served","wp-smushit"),description:oC(t)||l,primaryLabel:rC("Try Direct Conversion","wp-smushit"),icon:a.createElement(gn,{name:"NextGen",size:"16",color:"#fff"}),onSmush:i})}});case 2:return e.p=2,v(!1),e.f(2);case 3:return e.a(2)}},e,null,[[1,,2,3]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){eC(a,r,o,i,l,"next",e)}function l(e){eC(a,r,o,i,l,"throw",e)}i(void 0)})});return function(){return r.apply(this,arguments)}}(),C=function(){v(!0);try{u({onSuccess:function(){h()},onError:function(e){var t=e||l;f({title:rC("Couldn’t apply the rules","wp-smushit"),description:oC(t)||l,primaryLabel:rC("Try Direct Conversion","wp-smushit"),icon:a.createElement(gn,{name:"NextGen",size:"16",color:"#fff"}),onSmush:i})}})}finally{v(!1)}},g=function(e){e.preventDefault(),v(!0),m({reload:!0})};return a.createElement(a.Fragment,null,t>1&&a.createElement(jn,{variant:"secondary",size:"lg",onClick:function(){return n(t-1)}},a.createElement(gn,{name:"ArrowLeft"}),a.createElement(Hi,{size:"sm",weight:700},rC("Previous","wp-smushit"))),1===t?a.createElement(jn,{variant:"black",size:"lg",onClick:function(){return n(t+1)}},rC("Next","wp-smushit")):2===t?"apache"===r&&"automatic"===o?a.createElement(jn,{variant:"black",size:"lg",loading:d,disabled:d,onClick:C},rC("Apply Rules","wp-smushit")):a.createElement(jn,{variant:"black",size:"lg",loading:d,disabled:d,onClick:h},rC("Check Status","wp-smushit")):a.createElement(jn,{variant:"black",size:"lg",loading:d,disabled:d,onClick:g},a.createElement("span",{className:"sui-button-text-default"},rC("Finish Setup","wp-smushit"))))};(Object.getOwnPropertyDescriptor(aC,"name")||{}).writable||Object.defineProperty(aC,"name",{value:"default",configurable:!0});var iC=[{key:1,label:(0,Zn.__)("Server Type","wp-smushit")},{key:2,label:(0,Zn.__)("Add Rules","wp-smushit")},{key:3,label:(0,Zn.__)("Finish Setup","wp-smushit")}],lC=function(){var e=Zh(),t=e.setupWizardData,n=e.currentStep,r=e.setCurrentStep,o=e.serverType,i=e.setServerType,l=e.rulesMethod,c=e.setRulesMethod,s=e.rulesError,u=e.setRulesError,m=e.closeSetupWizardHandler,f=e.closingModal,p=e.isWebpSetupWizardOpen,d=e.switchDirectConversionMethod;if(null==t||!t.showSetupWizard)return null;var v=function(e){var t="smush-wizard-bar-step";return e>n?t+" upcoming":t+(e===n?" current":" done")};return a.createElement(dv,{isOpen:p,onClose:m,showCloseButton:!0,closeOnOverlayClick:!1,closeOnEscape:!1,closingModal:f,className:"smush-local-webp-setup-wizard smush-local-webp-setup-wizard--".concat(o," smush-local-webp-setup-wizard-").concat(n),style:{"--wpmudev-tooltip-info-icon":"url(".concat(Eh,")"),"--wpmudev-tooltip-info-hover-icon":"url(".concat(Oh,")"),"--wpmudev-tooltip-info-disabled-icon":"url(".concat(Sh,")")}},a.createElement(P,{className:"smush-local-webp-setup-wizard__content",gap:"30px",direction:"column",align:"center",justify:"center"},a.createElement(dv.Header,{icon:"NextGen",iconStyle:{borderRadius:"50%"},iconBackground:"#005F70",title:(0,Zn.__)("Local WebP Setup","wp-smushit"),content:a.createElement("ul",{className:"smush-wizard-steps-container"},iC.map(function(e){return a.createElement("li",{key:e.key,className:v(e.key),onClick:function(){return r(e.key<n?e.key:n)}},a.createElement(Ms.Basic,{width:"fit-content",placement:"bottom-center",content:e.label},a.createElement("span",{className:"smush-wizard-step-indicator"},function(e){return n>e?a.createElement(gn,{name:"Check","aria-hidden":"true",size:14,color:"#1a1a1a"}):e}(e.key))))}))}),a.createElement(Jh,{currentStep:n,serverType:o,rulesMethod:l,setRulesMethod:c,rulesError:s,setServerType:i,setupWizardData:t}),a.createElement(dv.Actions,null,a.createElement(aC,{currentStep:n,setCurrentStep:r,serverType:o,rulesMethod:l,setRulesMethod:c,rulesError:s,setRulesError:u,switchDirectConversionMethod:d}))))};function cC(e){return cC="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},cC(e)}function sC(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return uC(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(uC(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,uC(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,uC(m,"constructor",s),uC(s,"constructor",c),c.displayName="GeneratorFunction",uC(s,o,"GeneratorFunction"),uC(m),uC(m,o,"Generator"),uC(m,r,function(){return this}),uC(m,"toString",function(){return"[object Generator]"}),(sC=function(){return{w:a,m:f}})()}function uC(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}uC=function(e,t,n,r){function a(t,n){uC(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},uC(e,t,n,r)}function mC(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function fC(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 pC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fC(Object(n),!0).forEach(function(t){dC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dC(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=cC(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=cC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==cC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hC(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var CC=function(){var e=qr(),t=e.setToast,n=e.setOpenProFeatures,r=bo().addNotification,o=vC(Ua("webpMod"),2),i=o[0],l=o[1],c=vC(Ua("avifMod"),2),s=c[0],u=c[1],m=vC(Ua("webpFallback",function(e){return e?(0,Zn.__)("JavaScript fallback enabled.","wp-smushit"):(0,Zn.__)("JavaScript fallback disabled.","wp-smushit")}),2),f=m[0],p=m[1],d=vC(Ua("avifFallback",function(e){return e?(0,Zn.__)("JavaScript fallback enabled.","wp-smushit"):(0,Zn.__)("JavaScript fallback disabled.","wp-smushit")}),2),v=d[0],h=d[1],C=vC(Ua("webpFallback"),2)[1],b=vC(Ua("avifFallback"),2)[1],y=vC(Ua("webpDirectConversion",function(e){return!1!==e?(0,Zn.__)("WebP conversion method set to Direct Conversion.","wp-smushit"):(0,Zn.__)("WebP conversion method set to Server Configuration.","wp-smushit")}),2),w=y[0],_=y[1],E=vC((0,a.useState)(!1),2),O=E[0],S=E[1],j=Ra().hasPendingChanges,N=Hl(),x=N.showSmushToast,k=N.buildSmushToast,A=Rl(),L=A.getWhitelabelText,T=A.removeBrandingFromText,M=vC(Ja("s3",!1),1)[0],I="wpmudev-next-gen-formats",z=function(e){var n=a.createElement("div",{className:"wpmudev-toast__actions"},a.createElement(jn,{variant:"transparent",size:"md",onClick:function(){t(function(e){return pC(pC({},e),{},{open:!1})})}},a.createElement(Hi,{size:"xs",weight:"bold"},(0,Zn.__)("Ok","wp-smushit"))));t(function(t){return pC(pC({},t),k({title:e,description:(0,Zn.__)("If you’re using page or server caching, clear it to ensure everything works properly.","wp-smushit"),toastActions:n}))})},H=!(!i&&!s),B=s&&!i?"avif":"webp",D=function(e){r({content:e?(0,Zn.__)("Next-Gen Formats enabled.","wp-smushit"):(0,Zn.__)("Next-Gen Formats disabled.","wp-smushit"),module:"next_gen"}),e?(l(!0),!1!==w&&z((0,Zn.__)("Next-Gen Formats status changed","wp-smushit")),S(!0)):(l(!1),u(!1),z((0,Zn.__)("Next-Gen Formats status changed","wp-smushit")))},V=Kl({isEnabled:br(H),featureName:(0,Zn.__)("Next-Gen Formats","wp-smushit"),onTurnOn:function(){return D(!0)},icon:"NextGen",iconSize:16,iconColor:"#FFFFFF",description:(0,Zn.__)("Do you want to turn it on?","wp-smushit")}),Z=V.showFeatureToggleToast,F=V.closeFeatureToggleToast;(0,a.useEffect)(function(){return function(){return F()}},[]);var R=function(){n(!0,"smush_settings_nextgen")},U=function(){br()?Z():R()},G="avif"===B?"AVIF":"WebP",W="avif"===B?v:f,q="avif"===B?h:p,$=!("webp"===B&&!1===w),K=vC((0,a.useState)(!1),2),X=K[0],J=K[1],Y=vC((0,a.useState)(!1),2),Q=Y[0],ee=Y[1],te=function(){var e,n=(e=sC().m(function e(){var n,o,i;return sC().w(function(e){for(;;)switch(e.p=e.n){case 0:return n="avif"===B?"smush_avif_delete_all":"smush_webp_delete_all",J(!0),e.p=1,e.n=2,Kn.request(n,{});case 2:o="avif"===B?"AVIF":"WebP",r({content:(0,Zn.sprintf)((0,Zn.__)("Generated %s files deleted.","wp-smushit"),o),module:"next_gen"}),t(function(e){return pC(pC({},e),{},{open:!0,autoClose:!0,info:{icon:a.createElement(gn,{name:"Delete",size:20,color:"#F6FDFD"}),title:(0,Zn.__)("Files deleted","wp-smushit"),description:"avif"===B?(0,Zn.__)("All AVIF files have been deleted.","wp-smushit"):(0,Zn.__)("All WebP files have been deleted.","wp-smushit")}})}),e.n=4;break;case 3:e.p=3,i=e.v,t(function(e){return pC(pC({},e),{},{open:!0,autoClose:!0,info:{icon:a.createElement(gn,{name:"Warning",size:20,color:"#F6FDFD"}),title:(0,Zn.__)("Failed to delete files","wp-smushit"),description:(null==i?void 0:i.message)||(0,Zn.__)("An error occurred. Please try again.","wp-smushit")}})});case 4:return e.p=4,J(!1),ee(!1),e.f(4);case 5:return e.a(2)}},e,null,[[1,3,4,5]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){mC(a,r,o,i,l,"next",e)}function l(e){mC(a,r,o,i,l,"throw",e)}i(void 0)})});return function(){return n.apply(this,arguments)}}(),ne=Zh(),re=ne.isWebpSetupWizardOpen,oe=ne.showSetupWizardHandler,ae=ne.isLocalWebPConfigured,ie=ne.checkLocalWebpStatus,le=ae&&i&&!w;return(0,a.useEffect)(function(){if(O&&!j&&i&&!w){var e=Sr(hr),t=function(){window.location.href=e};ie({onConfigured:function(){var e,n,r,o;i&&!w&&(M&&null!==(e=window.smushUIData)&&void 0!==e&&null!==(e=e.integrationStatus)&&void 0!==e&&e.s3?x({title:(0,Zn.__)("Amazon S3 integration detected","wp-smushit"),description:T((0,Zn.__)("Amazon S3 offload is enabled. Offloaded images can’t be served in Next‑Gen formats. Smush will still generate local Next‑Gen copies. Disable Next‑Gen Formats if you don’t want local files created.","wp-smushit")),primaryLabel:(0,Zn.__)("Disable Next-Gen","wp-smushit"),secondaryLabel:(0,Zn.__)("OK","wp-smushit"),icon:a.createElement(gn,{name:"NextGen",size:"16",color:"#fff"}),onSmush:function(){return D(!1)}}):null!==(n=window.smushUIData)&&void 0!==n&&n.isWpmudevHost?x({title:(0,Zn.__)("WebP is now being served","wp-smushit"),description:null!==(r=window.smushUIData)&&void 0!==r&&r.isMultisite?L((0,Zn.__)("WPMU DEV has already set up WebP. Run Bulk Optimization on each subsite to generate WebP files for existing images.","wp-smushit"),(0,Zn.__)("WebP is already set up by your host. Run Bulk Optimization on each subsite to generate WebP files for existing images.","wp-smushit")):L((0,Zn.__)("WPMU DEV has already configured WebP for you. Run Bulk Optimization to generate WebP files for existing images.","wp-smushit"),(0,Zn.__)("WebP is already set up by your host. Run Bulk Optimization to generate WebP files for existing images.","wp-smushit")),primaryLabel:(0,Zn.__)("Convert Now","wp-smushit"),icon:a.createElement(gn,{name:"NextGen",size:"16",color:"#fff"}),onSmush:t}):x({title:(0,Zn.__)("WebP is now being served","wp-smushit"),description:null!==(o=window.smushUIData)&&void 0!==o&&o.isMultisite?(0,Zn.__)("Your server is correctly serving WebP images. To generate WebP files for existing images, run Bulk Optimization on each subsite.","wp-smushit"):(0,Zn.__)("Your server is correctly serving WebP images. Run Bulk Optimization to generate WebP files for existing images.","wp-smushit"),primaryLabel:(0,Zn.__)("Convert Now","wp-smushit"),icon:a.createElement(gn,{name:"NextGen",size:"16",color:"#fff"}),onSmush:t}))}})}},[i,w,j,O,ie]),a.createElement(a.Fragment,null,a.createElement(P.Column,{className:I,gap:"20px"},a.createElement(g,{className:"".concat(I,"__top-grid"),columns:"repeat( 2, 480px )",gap:7},a.createElement(P.Column,{className:"".concat(I,"__main-card")},a.createElement(Wf,{className:"".concat(H?"".concat(I,"__selector-toggle-card--enabled"):""),isProFeature:!0,icon:a.createElement(gn,{circle:!0,name:"NextGen",size:16}),title:(0,Zn.__)("Next-Gen Formats","wp-smushit"),badge:a.createElement(Ei,null),checked:H,onClick:R,onChange:br(D,R),alwaysShowContent:!0,description:a.createElement(a.Fragment,null,(0,Zn.__)("Automatically convert your JPEG and PNG images to WebP or AVIF formats, dramatically reducing their size while keeping fidelity.","wp-smushit")),descriptionPosition:"bottom"},a.createElement("div",{className:"".concat(I,"__formats")},a.createElement("div",{className:"".concat(I,"__format-card ").concat(I,"__format-card--webp")},a.createElement("div",{className:"".concat(I,"__format-content")},a.createElement(Un,{variant:"new",size:"lg",className:"".concat(I,"__format-badge ").concat(I,"__format-badge--webp")},"WebP"))),a.createElement("div",{className:"".concat(I,"__format-card ").concat(I,"__format-card--avif")},a.createElement("div",{className:"".concat(I,"__format-content")},a.createElement(Un,{variant:"new",size:"lg",className:"".concat(I,"__format-badge ").concat(I,"__format-badge--avif")},"AVIF")))))),a.createElement(P.Column,{className:"".concat(I,"__right-column")},a.createElement(no,{isDisabled:!H,onDisabledClick:U},a.createElement("div",{className:"".concat(I,"__wrapper")},a.createElement(ff,{className:"".concat(I,"__settings-card ").concat(I,"__settings-card--gap-layout")},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("Others","wp-smushit"))),a.createElement(ff.Body,null,a.createElement("div",{className:"".concat(I,"__setting-container")},a.createElement("div",{className:"".concat(I,"__setting-item")},a.createElement("span",{className:"".concat(I,"__setting-label")},(0,Zn.__)("Supported media types","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Image formats that will be converted.","wp-smushit")})),a.createElement("div",{className:"".concat(I,"__supported-media-types")},a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-jpg"},a.createElement(gn,{name:"JpegFile",size:16})),a.createElement("span",{className:"wpmudev-text-icon wpmudev-text-icon-png"},a.createElement(gn,{name:"PngFile",size:16})))),$&&a.createElement("div",{className:"".concat(I,"__setting-item")},a.createElement("span",{className:"".concat(I,"__setting-label")},(0,Zn.__)("JavaScript fallback","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Enable JavaScript fallback for browser compatibility","wp-smushit")})),a.createElement(cl,{checked:!!W,onChange:function(e){q(e)},disabled:!H}))))),a.createElement(ff,{className:"".concat(I,"__revert-card")},a.createElement(ff.Body,null,a.createElement("div",{className:"".concat(I,"__revert-container")},a.createElement("div",{className:"".concat(I,"__revert-content")},a.createElement("h3",{className:"".concat(I,"__revert-title")},(0,Zn.__)("Revert conversion","wp-smushit")),a.createElement(Hi,{size:11,className:"".concat(I,"__revert-description")},(0,Zn.sprintf)((0,Zn.__)("Remove generated %s files to reclaim server space. Originals will revert to PNG or JPEG. CDN-converted WebP/AVIF files are unaffected.","wp-smushit"),G))),a.createElement(jn,{variant:"secondary",icon:"Delete",size:"sm",onClick:function(){ee(!0)},className:"".concat(I,"__delete-button"),disabled:!H||X,style:H?{color:"#D70015"}:{}},a.createElement(gn,{name:"Delete",size:16,color:H?"#D70015":"#1A1A1A"}),(0,Zn.__)("Delete files","wp-smushit"))))))))),a.createElement(P,{className:"".concat(I,"__format-section")},a.createElement(no,{isDisabled:!H,onDisabledClick:U},a.createElement(ff,{className:"".concat(I,"__format-type-card")},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("Format / Type","wp-smushit")),a.createElement(Ms.Basic,{content:(0,Zn.__)("Select format type and conversion method.","wp-smushit")})),a.createElement(ff.Body,null,a.createElement("div",{className:"".concat(I,"__format-type-content")},a.createElement(qs,{tabs:[{id:"webp",label:"WebP"},{id:"avif",label:"AVIF"}],activeTab:B,onChange:function(e){if(e!==B){var n="webp"===e?"WebP":"AVIF",o="webp"===B?"WebP":"AVIF";r({content:(0,Zn.sprintf)((0,Zn.__)("Next-Gen Format changed from %1$s to %2$s.","wp-smushit"),o,n),module:"next_gen"}),"avif"===e?(u(!0),l(!1),b(f)):(l(!0),u(!1),C(v),S(!0)),t(function(e){return pC(pC({},e),{},{open:!0,autoClose:!1,placement:e.placement||"bottom-right",className:"wpmudev-toast",info:{icon:a.createElement(gn,{name:"NextGen",size:16,color:"#FFFFFF"}),title:(0,Zn.__)("Require Action","wp-smushit"),description:(0,Zn.sprintf)((0,Zn.__)("You've changed the Next-Gen Format to %s, please run Bulk Optimization","wp-smushit"),n),closable:!1,actions:a.createElement(P,{className:"wpmudev-toast__actions",align:"center",justify:"start"},a.createElement(jn,{variant:"ghost",size:"sm",className:"wpmudev-toast__button wpmudev-toast__button--ghost",onClick:function(){return t(function(e){return pC(pC({},e),{},{open:!1,info:null})})}},(0,Zn.__)("Not now","wp-smushit")),a.createElement(jn,{variant:"black",size:"sm",className:"wpmudev-toast__button wpmudev-toast__button--primary",onClick:function(){window.location.href=Sr(hr)}},(0,Zn.__)("Optimize Images","wp-smushit")))}})})}},size:"md"}),a.createElement("div",{className:"".concat(I,"__panels-container")},a.createElement(qs.Panel,{tabId:"webp",activeTab:B},a.createElement("div",{className:"".concat(I,"__conversion-methods")},a.createElement(ml,{name:"conversion-method",value:"direct",checked:!1!==w,onChange:function(){var e=!1===w;_(!0),H&&e&&z((0,Zn.__)("Next-Gen Formats status changed","wp-smushit"))},className:"".concat(I,"__conversion-option ").concat(!1!==w?"".concat(I,"__conversion-option--active"):"")},(0,Zn.__)("Direct Conversion","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Convert images directly on upload.","wp-smushit")}),a.createElement("span",{className:"webp__recommended ".concat(H?"":"webp__recommended--disabled")},(0,Zn.__)("Recommended","wp-smushit"))),a.createElement(ml,{name:"conversion-method",value:"server",checked:!1===w,onChange:function(){H&&(_(!1),S(!0))},disabled:!H,className:"".concat(I,"__conversion-option ").concat(!1===w?"".concat(I,"__conversion-option--active"):"")},a.createElement(P,{justify:"space-between",align:"center",gap:0,fullWidth:!0},a.createElement(P,{align:"center",gap:"2px"},a.createElement(Hi,null,(0,Zn.__)("Server Configuration","wp-smushit")),a.createElement(Ms.Basic,{content:(0,Zn.__)("Configure server to serve converted images.","wp-smushit")})),!1===w&&!le&&a.createElement(Ms.Basic,{width:"fit-content",content:(0,Zn.__)("Open WebP Setup Wizard","wp-smushit")},a.createElement("button",{onClick:oe,disabled:re,style:{width:"16px",height:"16px"}},a.createElement(gn,{name:"Settings",size:16,color:re?"#ccc":"#1a1a1a"}))))))),a.createElement(qs.Panel,{tabId:"avif",activeTab:B},a.createElement("div",{className:"".concat(I,"__conversion-methods")},a.createElement(ml,{name:"conversion-method",value:"direct",checked:!0,onChange:function(){},className:"".concat(I,"__conversion-option ").concat(I,"__conversion-option--active")},(0,Zn.__)("Direct Conversion","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Convert images directly on upload.","wp-smushit")}))))))))),a.createElement(P.Column,{className:"".concat(I,"__format-right-column")}))),a.createElement(Yf,{isOpen:Q,onClose:function(){return!X&&ee(!1)},title:"avif"===B?(0,Zn.__)("Delete all AVIF files?","wp-smushit"):(0,Zn.__)("Delete all WebP files?","wp-smushit"),content:a.createElement(P.Column,{gap:"20px",align:"center",style:{width:"100%"}},a.createElement(Hi.Paragraph,{size:"14",style:{textAlign:"center"}},"avif"===B?(0,Zn.__)("This will permanently delete all generated AVIF files. Your original images will not be affected.","wp-smushit"):(0,Zn.__)("This will permanently delete all generated WebP files. Your original images will not be affected.","wp-smushit")),a.createElement(P.Column,{className:"wpmudev-info-modal__info-modal-actions",fullWidth:!0},a.createElement(jn,{variant:"secondary",size:"lg",onClick:function(){return ee(!1)},disabled:X},(0,Zn.__)("Cancel","wp-smushit")),a.createElement(jn,{variant:"danger",size:"lg",onClick:te,disabled:X},X?(0,Zn.__)("Deleting...","wp-smushit"):(0,Zn.__)("Delete files","wp-smushit")))),showButton:!1,showCloseButton:!1,closeOnOverlayClick:!0}),!le&&a.createElement(lC,null))};CC.displayName="NextGenFormats";var gC=CC;function bC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yC(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var wC=function(){var e=bC(Ja("accessibleColors"),2),t=e[0],n=e[1],r=t?"high-contrast":"default",o=[{id:"default",label:(0,Zn.__)("Default (AA)","wp-smushit"),aa:a.createElement(gn,{name:"AccessibilityDefault",width:32,height:20})},{id:"high-contrast",label:(0,Zn.__)("High (AAA)","wp-smushit"),aa:a.createElement(gn,{name:"AccessibilityContrast",width:32,height:20})}];return a.createElement(ff,{id:"general-accessibility",gap:"var(--wpmudev-space-2-5)"},a.createElement(ff.Header,null,a.createElement(ff.Title,{style:{color:"var(--grey-dark, #666)"}},(0,Zn.__)("Accessibility","wp-smushit")),a.createElement(Ms.Basic,{placement:"bottom-right",content:(0,Zn.__)("Choose your preferred accessibility mode","wp-smushit")})),a.createElement(ff.Body,{className:"wpmudev-accessibility-selector-body"},a.createElement("div",{className:"accessibility-card-group"},o.map(function(e,t){return a.createElement("div",{key:e.id,className:"accessibility-card".concat(r===e.id?" accessibility-card--selected":"").concat(0===t?" accessibility-card-left":"").concat(1===t?" accessibility-card-right":""),onClick:function(){return t=e.id,void n("high-contrast"===t);var t},tabIndex:0,role:"button","aria-pressed":r===e.id},a.createElement("div",{className:"accessibility-card-inner"},e.aa),a.createElement("div",{className:"accessibility-card-label"},e.label))}))))};wC.displayName="Accessibility";var _C=function(e){var t,n,r=e.customPluginName,o=e.whitelabelEnabled,i=r||yr((0,Zn.__)("Smush","wp-smushit"),(0,Zn.__)("Smush Pro","wp-smushit")),l=(null===(t=window)||void 0===t||null===(t=t.smushUIData)||void 0===t||null===(t=t.updateNotification)||void 0===t?void 0:t.currentVersion)||"-",c=(null===(n=window)||void 0===n||null===(n=n.smushUIData)||void 0===n||null===(n=n.updateNotification)||void 0===n?void 0:n.releaseDate)||"-";return a.createElement(ff,{id:"smush-info-card",className:"smush-info-card"},a.createElement(ff.Header,null,a.createElement(ff.Title,{style:{gap:"7px"}},a.createElement(op,{color:"#1A1A1A"}),a.createElement("span",{style:{fontSize:18,lineHeight:"27px",color:"var(--Black, #1A1A1A)"}},i))),a.createElement(ff.Body,null,a.createElement("div",{className:"smush-info-table"},a.createElement("div",{className:"smush-info-row"},a.createElement("span",{className:"smush-info-label"},(0,Zn.__)("Version","wp-smushit")),a.createElement("span",{className:"smush-info-value"},l)),a.createElement("div",{className:"smush-info-row"},a.createElement("span",{className:"smush-info-label"},(0,Zn.__)("Release date","wp-smushit")),a.createElement("span",{className:"smush-info-value"},c)),!o&&a.createElement("div",{className:"smush-info-row"},a.createElement("span",{className:"smush-info-label"},(0,Zn.__)("Developer","wp-smushit")),a.createElement("a",{className:"smush-info-value smush-info-link",href:"https://wpmudev.com/",target:"_blank",rel:"noopener noreferrer"},"WPMU DEV")))))};_C.displayName="SmushInfoCard";var EC=_C;function OC(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return SC(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(SC(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,SC(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,SC(m,"constructor",s),SC(s,"constructor",c),c.displayName="GeneratorFunction",SC(s,o,"GeneratorFunction"),SC(m),SC(m,o,"Generator"),SC(m,r,function(){return this}),SC(m,"toString",function(){return"[object Generator]"}),(OC=function(){return{w:a,m:f}})()}function SC(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}SC=function(e,t,n,r){function a(t,n){SC(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},SC(e,t,n,r)}function jC(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function NC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return PC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?PC(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function PC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var xC=function(){var e="wpmudev-general-settings-other",t=NC(Ja("usage",!1,function(e){return e?(0,Zn.__)("Share usage data enabled.","wp-smushit"):(0,Zn.__)("Share usage data disabled.","wp-smushit")}),2),n=t[0],r=t[1],o=NC(Ja("keepData",!1,function(e){return e?(0,Zn.__)("Preserve settings enabled.","wp-smushit"):(0,Zn.__)("Preserve settings disabled.","wp-smushit")}),2),i=o[0],l=o[1],c=NC((0,a.useState)(!1),2),s=c[0],u=c[1],m=NC((0,a.useState)(!1),2),f=m[0],p=m[1],d=NC((0,a.useState)(!1),2),v=d[0],h=d[1],C=Rl(),g=C.customPluginName,b=C.whitelabelEnabled,y=C.removeBrandingFromText,w=bo().addNotification,_=function(e){r(e)},E=function(e){l(e)},O=function(){var e,t=(e=OC().m(function e(){var t,n,r;return OC().w(function(e){for(;;)switch(e.p=e.n){case 0:return u(!0),e.p=1,e.n=2,Kn.settings.checkApiStatus();case 2:null!=(t=e.v)&&t.success?(r=null==t||null===(n=t.data)||void 0===n?void 0:n.isPro,w({content:r?(0,Zn.__)("API status updated: connection is valid.","wp-smushit"):(0,Zn.__)("API status updated: no valid Pro license detected.","wp-smushit"),module:"settings"})):w({content:(0,Zn.__)("Could not check API status. Please try again.","wp-smushit"),module:"settings"}),e.n=4;break;case 3:e.p=3,e.v,w({content:(0,Zn.__)("Could not check API status. Please try again.","wp-smushit"),module:"settings"});case 4:return e.p=4,u(!1),e.f(4);case 5:return e.a(2)}},e,null,[[1,3,4,5]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){jC(a,r,o,i,l,"next",e)}function l(e){jC(a,r,o,i,l,"throw",e)}i(void 0)})});return function(){return t.apply(this,arguments)}}();return a.createElement(a.Fragment,null,a.createElement(ff,{id:"general-other-settings",className:"general-other-settings",gap:"var( --wpmudev-space-5 )"},a.createElement(ff.Body,null,a.createElement("div",{className:"".concat(e,"__setting-container")},a.createElement("div",{className:"".concat(e,"__setting-item smush-api-status")},a.createElement("span",{className:"".concat(e,"__setting-label"),style:{gap:0}},(0,Zn.__)("API status","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Check and update API connection status.","wp-smushit"),placement:"bottom-right"})),a.createElement(jn,{variant:"secondary",size:"sm",onClick:O,className:"".concat(e,"__api-update-button"),disabled:s},a.createElement(gn,{name:"Update",size:16,color:"black"}),a.createElement(Hi,{className:"".concat(e,"__api-update-text"),weight:"700"},s?(0,Zn.__)("Checking…","wp-smushit"):(0,Zn.__)("Update","wp-smushit")))),a.createElement("div",{className:"".concat(e,"__setting-item smush-usage-data"),onClick:function(){return _(!n)},style:{cursor:"pointer"}},a.createElement("div",{style:{display:"flex",flexDirection:"column"}},a.createElement("span",{className:"".concat(e,"__setting-label"),style:{gap:"2px"}},(0,Zn.__)("Share Usage Data","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Help us improve by sharing anonymous usage data.","wp-smushit")})),a.createElement(Hi,{size:"xs",className:"wpmudev-form-description ".concat(e,"__setting-item-description")},(0,Zn.__)("Help us improve by sending anonymous usage data. This is recommended.","wp-smushit"))),a.createElement(cl,{checked:n,onChange:_})))),a.createElement(ff.Body,null,a.createElement("div",{className:"".concat(e,"__setting-container")},a.createElement("div",{className:"".concat(e,"__setting-item ").concat(e,"__setting-item--with-divider"),onClick:function(){return E(!i)},style:{cursor:"pointer"}},a.createElement("div",{style:{display:"flex",flexDirection:"column"}},a.createElement("span",{className:"".concat(e,"__setting-label"),style:{gap:"2px"}},(0,Zn.__)("Preserve settings","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Keeps your Smush configurations saved in the database for easy re-installation. Switch this off if you want a complete data wipe upon uninstallation.","wp-smushit")})),a.createElement(Hi,{size:"xs",className:"wpmudev-form-description ".concat(e,"__setting-item-description")},(0,Zn.__)("Keep your configurations saved even if the plugin is uninstalled.","wp-smushit"))),a.createElement(cl,{checked:!!i,onChange:E})),a.createElement("div",{className:"".concat(e,"__setting-item")},a.createElement("span",{className:"".concat(e,"__setting-label")},(0,Zn.__)("Reset to factory settings","wp-smushit")),a.createElement(jn,{variant:"secondary",size:"sm",onClick:function(){p(!0)},className:"".concat(e,"__smush-reset-settings-button")},a.createElement(gn,{name:"ArrowRotateLeft",size:16,color:"#E52400"}),a.createElement(Hi,{className:"".concat(e,"__smush-reset-settings-text"),weight:"700"},(0,Zn.__)("Reset","wp-smushit")))))),a.createElement(EC,{customPluginName:g,whitelabelEnabled:b})),a.createElement(Yf,{isOpen:f,onClose:function(){return!v&&p(!1)},title:(0,Zn.__)("Reset to factory settings?","wp-smushit"),content:a.createElement(P.Column,{gap:"20px",align:"center",style:{width:"100%"}},a.createElement(Hi.Paragraph,{size:"14",style:{textAlign:"center",maxWidth:"300px",color:"var(--wpmduev-text-primary, #1A1A1A)"}},y((0,Zn.__)("This will reset all Smush settings back to their factory defaults. This action cannot be undone.","wp-smushit")))),buttonText:(0,Zn.__)("Cancel","wp-smushit"),buttonVariant:"transparent",showButton:!0,showCloseButton:!1,closeOnOverlayClick:!0,extraButton:a.createElement(jn,{variant:"danger",size:"lg",onClick:function(){var e,t=(null===(e=window.smushUIData)||void 0===e?void 0:e.resetNonce)||"";t?(h(!0),window.jQuery&&window.jQuery.ajax({url:window.ajaxurl,type:"POST",data:{action:"reset_settings",_wpnonce:t}}).done(function(){var e;h(!1),p(!1),w({content:(0,Zn.__)("Settings reset to factory defaults.","wp-smushit"),module:"settings"}),window.location.href=(null===(e=window.wp_smush_msgs)||void 0===e?void 0:e.smush_url)||window.location.href}).fail(function(){h(!1),p(!1),w({content:(0,Zn.__)("Failed to reset settings. Please try again.","wp-smushit"),module:"settings"})})):console.error("Nonce not found for reset settings")},disabled:v,loading:v},(0,Zn.__)("Reset","wp-smushit"))}))};xC.displayName="OtherSettings";var kC=xC,AC=function(){return a.createElement(P.Column,{id:"smush-general-settings",fullWidth:!0,className:"smush-general-settings",gap:"15px"},a.createElement(g,{columns:"repeat(2, minmax(0, var(--wpmudev-setting-widget-max-width, 480px)))",gap:7},a.createElement(kC,null)))};AC.displayName="GeneralSettings";var LC=AC;function TC(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 MC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TC(Object(n),!0).forEach(function(t){IC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function IC(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=UC(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=UC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==UC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zC(e){return function(e){if(Array.isArray(e))return RC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||FC(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function HC(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return BC(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(BC(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,BC(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,BC(m,"constructor",s),BC(s,"constructor",c),c.displayName="GeneratorFunction",BC(s,o,"GeneratorFunction"),BC(m),BC(m,o,"Generator"),BC(m,r,function(){return this}),BC(m,"toString",function(){return"[object Generator]"}),(HC=function(){return{w:a,m:f}})()}function BC(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}BC=function(e,t,n,r){function a(t,n){BC(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},BC(e,t,n,r)}function DC(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function VC(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){DC(a,r,o,i,l,"next",e)}function l(e){DC(a,r,o,i,l,"throw",e)}i(void 0)})}}function ZC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||FC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function FC(e,t){if(e){if("string"==typeof e)return RC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?RC(e,t):void 0}}function RC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function UC(e){return UC="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},UC(e)}var GC=(0,a.createContext)(null),WC=function(e){return!!e},qC=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{key:e,label:t,status:WC(n)?"on":"off",rawValue:WC(n)?"active":"inactive",isPro:r}},$C=function(e,t,n,r){return{key:e,label:t,status:n===r?"on":"off",rawValue:n,isPro:arguments.length>4&&void 0!==arguments[4]&&arguments[4]}},KC=function(e){return Array.isArray(e)?e.filter(Boolean).map(function(e){return String(e).trim().toUpperCase()}).filter(Boolean):e&&"object"===UC(e)?Object.entries(e).filter(function(e){return!!ZC(e,2)[1]}).map(function(e){var t=ZC(e,1)[0];return String(t).trim().toUpperCase()}).filter(Boolean):"string"==typeof e?e.split(/[|,]/).map(function(e){return e.trim().toUpperCase()}).filter(Boolean):[]},XC=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Array.isArray(e))return e.length?e.some(function(e){return WC(e)}):WC(n);if(e&&"object"===UC(e)){var r=Object.entries(e).filter(function(e){var n=ZC(e,1)[0];return!t.includes(n)});return r.length?r.some(function(e){var t=ZC(e,2)[1];return WC(t)}):WC(n)}return WC(null==e||""===e?n:e)},JC=function(){var e,t,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=o.settings||{},i=o.lazy_load||{},l=function(){for(var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=r.settings||{},a=0,i=[null==r||null===(e=r.cdn)||void 0===e?void 0:e.supported_media_types,null==r||null===(t=r.cdn)||void 0===t?void 0:t.supportedMediaTypes,null==r||null===(n=r.cdn)||void 0===n?void 0:n.media_types,o.supported_media_types,o.supportedMediaTypes,o.cdn_media_types];a<i.length;a++){var l=KC(i[a]);if(l.length)return l}return["JPEG","PNG","WEBP","GIF","AVIF"]}(o),c=(n=a.lossy,(r=String(null!=n?n:"").toLowerCase()).includes("ultra")||"2"===r?"ultra":r.includes("super")||"1"===r?"super":"basic"),s=WC(a.cdn),u=s&&WC(a.background_images),m=s&&WC(a.cdn_dynamic_sizes),f=s&&WC(a.webp),p=s&&WC(a.rest_api_support),d=WC(a.preload_images),v=d&&WC(a.lcp_fetchpriority),h=Object.prototype.hasOwnProperty.call(o,"lazy_load"),C=h&&(null==i||Array.isArray(i)&&!i.length||!Array.isArray(i)&&"object"===UC(i)&&!Object.keys(i).length),g=WC(a.lazy_load)||C,b=g&&(!h||C),y=i&&"object"===UC(i)&&Object.prototype.hasOwnProperty.call(i,"format"),w=i&&"object"===UC(i)&&Object.prototype.hasOwnProperty.call(i,"output"),_=g&&(b||!y),E=g&&(b||!w),O=g&&XC(i.format,["embed_video"],_),S=g&&XC(i.output,[],E),j=g,N=i&&"object"===UC(i)&&Object.prototype.hasOwnProperty.call(i,"include"),P=(null===(e=window)||void 0===e||null===(e=e.smushUIData)||void 0===e||null===(e=e.metaData)||void 0===e?void 0:e.customPostTypes)||{},x=Array.isArray(P)?P.length>0:Object.keys(P).length>0,k=g&&(N?Object.values((null==i?void 0:i.include)||{}).some(function(e){return!WC(e)}):x),A=g,L=g&&WC(null===(t=i.format)||void 0===t?void 0:t.embed_video),T=g&&WC(i.native),M=g&&WC(i.noscript_fallback),I=Object.prototype.hasOwnProperty.call(a,"image_sizes"),z=a.image_sizes,H=!0;Array.isArray(z)?H=!!z.length&&z.map(function(e){return String(null!=e?e:"").trim()}).filter(Boolean).length>0:I&&null!=z&&(H=!1===z||WC(z));return[{module:(0,Zn.__)("Compression Level","wp-smushit"),isPro:!1,options:[$C("compression_basic",(0,Zn.__)("Basic 1X","wp-smushit"),"basic",c),$C("compression_super",(0,Zn.__)("Super 2X","wp-smushit"),"super",c),$C("compression_ultra",(0,Zn.__)("Ultra 5X","wp-smushit"),"ultra",c,!0)]},{module:(0,Zn.__)("Image Format / Type","wp-smushit"),isPro:!1,options:[qC("format_original",(0,Zn.__)("Original","wp-smushit"),!a.webp_mod&&!a.avif_mod),qC("format_webp",(0,Zn.__)("WebP","wp-smushit"),a.webp_mod,!0),qC("format_avif",(0,Zn.__)("AVIF","wp-smushit"),a.avif_mod,!0)]},{module:(0,Zn.__)("Image Loading","wp-smushit"),isPro:!1,options:[qC("lazy_load_enabled",(0,Zn.__)("Lazyload offscreen images","wp-smushit"),g),qC("lazy_preload_images",(0,Zn.__)("Preload critical images","wp-smushit"),d,!0),qC("lazy_fetchpriority",(0,Zn.__)("Fetchpriority","wp-smushit"),v,!0),qC("lazy_appearance",(0,Zn.__)("Lazy Loading Appearance","wp-smushit"),j),qC("lazy_media_types",(0,Zn.__)("Lazy loaded media types","wp-smushit"),O),qC("lazy_locations",(0,Zn.__)("Lazy loaded locations","wp-smushit"),S),qC("lazy_embed_preview",(0,Zn.__)("Youtube/Vimeo preview images","wp-smushit"),L),qC("lazy_excluded_content",(0,Zn.__)("Excluded content","wp-smushit"),k),qC("lazy_scripts",(0,Zn.__)("Scripts","wp-smushit"),A),qC("lazy_native",(0,Zn.__)("Native Lazy Loading","wp-smushit"),T),qC("lazy_noscript",(0,Zn.__)("Noscript Fallback","wp-smushit"),M)]},{module:(0,Zn.__)("CDN","wp-smushit"),isPro:!1,options:[qC("cdn_single_location",(0,Zn.__)("Single location","wp-smushit"),!s),qC("cdn_network",(0,Zn.__)("CDN network","wp-smushit"),s,!0),qC("cdn_supported_media_types","Supported media types: ".concat(l.join(" | ")),s,!0),qC("cdn_background_images",(0,Zn.__)("Background Images","wp-smushit"),u,!0),qC("cdn_dynamic_resizing",(0,Zn.__)("Dynamic Resizing","wp-smushit"),m,!0),qC("cdn_file_format",(0,Zn.__)("CDN file format","wp-smushit"),f,!0),qC("cdn_rest_api",(0,Zn.__)("REST API","wp-smushit"),p,!0)]},{module:(0,Zn.__)("Image Optimization Tools","wp-smushit"),isPro:!1,options:[qC("opt_auto_compression",(0,Zn.__)("Automatic Compression","wp-smushit"),a.auto),qC("opt_metadata",(0,Zn.__)("Metadata","wp-smushit"),a.strip_exif),qC("opt_original",(0,Zn.__)("Optimize original images","wp-smushit"),a.original),qC("opt_backup",(0,Zn.__)("Backup original images","wp-smushit"),a.backup),qC("opt_auto_resizing",(0,Zn.__)("Automatic Resizing","wp-smushit"),a.auto_resizing,!0),qC("opt_image_dimensions",(0,Zn.__)("Set image dimensions","wp-smushit"),a.image_dimensions,!0),qC("opt_image_sizes",(0,Zn.__)("Image sizes","wp-smushit"),H),qC("opt_resize_large_images",(0,Zn.__)("Resize large images","wp-smushit"),a.resize),qC("opt_disable_scaled",(0,Zn.__)("Disable scaled images","wp-smushit"),a.no_scale),qC("opt_png_to_jpeg",(0,Zn.__)("PNG to JPEG Conversion","wp-smushit"),a.png_to_jpg),qC("opt_email_notification",(0,Zn.__)("Email Notification","wp-smushit"),a.background_email)]},{module:(0,Zn.__)("Integrations","wp-smushit"),isPro:!1,options:[qC("integration_gutenberg",(0,Zn.__)("Gutenberg Support","wp-smushit"),a.gutenberg),qC("integration_wpbakery",(0,Zn.__)("WPBakery Page Builder","wp-smushit"),a.js_builder),qC("integration_gform",(0,Zn.__)("Gravity Forms","wp-smushit"),a.gform),qC("integration_s3",(0,Zn.__)("Amazon S3","wp-smushit"),a.s3,!0)]},{module:(0,Zn.__)("Settings","wp-smushit"),isPro:!1,options:[qC("settings_usage_tracking",(0,Zn.__)("Usage Tracking","wp-smushit"),a.usage)]}]},YC=function(e){var t={compression_level:(0,Zn.__)("Compression Level","wp-smushit"),image_format_type:(0,Zn.__)("Image Format / Type","wp-smushit"),bulk_smush:(0,Zn.__)("Image Optimization Tools","wp-smushit"),integrations:(0,Zn.__)("Integrations","wp-smushit"),lazy_load:(0,Zn.__)("Image Loading","wp-smushit"),cdn:(0,Zn.__)("CDN","wp-smushit"),settings:(0,Zn.__)("Settings","wp-smushit")},n={bulk_smush:new Set(["smush mode","original images","large image resizing","full images max-sizes to resize"]),lazy_load:new Set(["lazy load","auto resizing","add missing image dimensions","media types","output locations","display and animation","embedded content","included post types","load scripts in footer","native lazy load enabled","noscript tag"]),cdn:new Set(["cdn","dynamic image sizing","next-gen conversion","supported media types"]),integrations:new Set(["nextgen gallery"]),settings:new Set(["color accessibility","image resize detection","keep data on uninstall","disable_streams","disable streams"])},r=new Set(["cdn"]);return Object.entries(e||{}).filter(function(e){return"next_gen"!==ZC(e,1)[0]}).map(function(e){var o=ZC(e,2),a=o[0],i=o[1],l=(Array.isArray(i)?i.join("\n"):i||"").split("\n").filter(Boolean),c=n[a]||new Set;return{module:t[a]||a,isPro:r.has(a),options:l.map(function(e){var t=e.lastIndexOf(" - "),n=-1!==t?e.substring(0,t):e,o=-1!==t?e.substring(t+3).toLowerCase():"";return{key:null,label:n,status:"active"===o?"on":"inactive"===o?"off":"disabled",rawValue:o,isPro:r.has(a)}}).filter(function(e){var t,n=(t=e.label,String(t||"").trim().toLowerCase());return"active"!==n&&"inactive"!==n&&!c.has(n)})}})},QC=function(e){var t,n;return{id:e.id,title:e.name||e.title||"",description:e.description||"",note:e.description||"",noteAddedTime:e.note_added_time||"",badge:e.default?"Default":null,date:e.date||"",hub_id:e.hub_id||null,modules:null!==(t=e.config)&&void 0!==t&&null!==(t=t.configs)&&void 0!==t&&t.settings?JC(e.config.configs):YC((null===(n=e.config)||void 0===n?void 0:n.strings)||{}),raw:e}},eg=function(){var e=(0,a.useContext)(GC);if(!e)throw new Error("useConfigs must be used within ConfigsProvider");return e},tg=function(e){var t,n=e.children,r=(null===(t=window)||void 0===t||null===(t=t.smushUIData)||void 0===t?void 0:t.configsData)||{},o=r.restUrl||"",i=r.restNonce||"",l=ZC((0,a.useState)((r.configs||[]).map(QC)),2),c=l[0],s=l[1],u=ZC((0,a.useState)(!1),2),m=u[0],f=u[1],p=ZC((0,a.useState)(null),2),d=p[0],v=p[1],h=bo().addNotification,C=(0,a.useCallback)(function(e){var t;null!==(t=window)&&void 0!==t&&null!==(t=t.smushUIData)&&void 0!==t&&t.configsData&&(window.smushUIData.configsData.configs=e)},[]),g=(0,a.useCallback)(function(){var e=VC(HC().m(function e(t){var n;return HC().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,fetch(o,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":i},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=2;break}throw new Error("Failed to sync configs to REST API");case 2:return e.n=3,n.json();case 3:return e.a(2,e.v)}},e)}));return function(t){return e.apply(this,arguments)}}(),[o,i]),b=(0,a.useCallback)(function(){var e=VC(HC().m(function e(t){var n,r,o,a,i,l,u,m,p,d,b,y,w=arguments;return HC().w(function(e){for(;;)switch(e.p=e.n){case 0:return n=w.length>1&&void 0!==w[1]?w[1]:"",f(!0),v(null),e.p=1,e.n=2,Kn.configs.save();case 2:if((r=e.v).success){e.n=3;break}throw new Error((null===(o=r.data)||void 0===o?void 0:o.error_msg)||"Failed to get current config");case 3:if(a=Date.now(),i={id:a,name:t,description:n,date:a,config:r.data.config},!br()){e.n=7;break}return e.p=4,e.n=5,Kn.configs.syncToHub(i);case 5:null!=(u=e.v)&&u.success&&null!=u&&null!==(l=u.data)&&void 0!==l&&l.id&&(i.id=u.data.id,i.hub_id=u.data.id),e.n=7;break;case 6:e.p=6,b=e.v,console.warn("Hub sync failed:",b);case 7:return m=c.map(function(e){return e.raw||e}),p=[].concat(zC(m),[i]),e.n=8,g(p);case 8:return C(p),d=QC(i),s(function(e){return[].concat(zC(e),[d])}),h({content:(0,Zn.sprintf)((0,Zn.__)("%s saved.","wp-smushit"),t),module:"settings"}),e.a(2,d);case 9:throw e.p=9,y=e.v,v(y.message),y;case 10:return e.p=10,f(!1),e.f(10);case 11:return e.a(2)}},e,null,[[4,6],[1,9,10,11]])}));return function(t){return e.apply(this,arguments)}}(),[c,g,C]),y=(0,a.useCallback)(function(){var e=VC(HC().m(function e(t){var n,r,o,a,i;return HC().w(function(e){for(;;)switch(e.p=e.n){case 0:return f(!0),v(null),e.p=1,e.n=2,Kn.configs.apply(t);case 2:if((n=e.v).success){e.n=3;break}throw new Error((null===(r=n.data)||void 0===r?void 0:r.error_msg)||"Failed to apply config");case 3:return o=c.find(function(e){return e.id===t}),a=(null==o?void 0:o.title)||String(t),h({content:(0,Zn.sprintf)((0,Zn.__)("%1$s applied.","wp-smushit"),a),module:"settings"}),e.a(2,!0);case 4:throw e.p=4,i=e.v,v(i.message),i;case 5:return e.p=5,f(!1),e.f(5);case 6:return e.a(2)}},e,null,[[1,4,5,6]])}));return function(t){return e.apply(this,arguments)}}(),[c,h]),w=(0,a.useCallback)(function(){var e=VC(HC().m(function e(t){var n,r,o,a,i,l,u,m,p,d;return HC().w(function(e){for(;;)switch(e.p=e.n){case 0:return f(!0),v(null),e.p=1,e.n=2,Kn.configs.upload(t);case 2:if((n=e.v).success){e.n=3;break}throw new Error((null===(r=n.data)||void 0===r?void 0:r.error_msg)||"Failed to upload config");case 3:for(o=n.data,a=c.map(function(e){return e.raw||e}),i=new Set(a.map(function(e){return String(null==e?void 0:e.id)})),l=Number(null==o?void 0:o.id),(Number.isNaN(l)||l<=0)&&(l=Date.now());i.has(String(l));)l+=1;return u=MC(MC({},o),{},{id:l}),m=[].concat(zC(a),[u]),e.n=4,g(m);case 4:return C(m),p=QC(u),s(function(e){return[].concat(zC(e),[p])}),h({content:(0,Zn.sprintf)((0,Zn.__)("%1$s saved.","wp-smushit"),p.title),module:"settings"}),e.a(2,p);case 5:throw e.p=5,d=e.v,v(d.message),d;case 6:return e.p=6,f(!1),e.f(6);case 7:return e.a(2)}},e,null,[[1,5,6,7]])}));return function(t){return e.apply(this,arguments)}}(),[c,g,C]),_=(0,a.useCallback)(function(){var e=VC(HC().m(function e(t,n){var r,o,a,i,l,u,m,p;return HC().w(function(e){for(;;)switch(e.p=e.n){case 0:return f(!0),v(null),e.p=1,o=c.find(function(e){return e.id===t}),a=c.map(function(e){if(e.id!==t)return e;var r=MC(MC({},e.raw||{}),n);return MC(MC(MC({},e),QC(r)),{},{raw:r})}),i=QC((null===(r=a.find(function(e){return e.id===t}))||void 0===r?void 0:r.raw)||{}),l=a.map(function(e){return e.raw||e}),e.n=2,g(l);case 2:C(l),s(a),u=(null==o?void 0:o.title)||String(t),m=(null==o?void 0:o.description)||"",(null==i?void 0:i.title)!==u?h({content:(0,Zn.sprintf)((0,Zn.__)("%1$s edited.","wp-smushit"),u),module:"settings"}):m?null!=i&&i.description?h({content:(0,Zn.sprintf)((0,Zn.__)("%1$s note edited.","wp-smushit"),u),module:"settings"}):h({content:(0,Zn.sprintf)((0,Zn.__)("%1$s note deleted.","wp-smushit"),u),module:"settings"}):h({content:(0,Zn.sprintf)((0,Zn.__)("%1$s note saved.","wp-smushit"),u),module:"settings"}),e.n=4;break;case 3:throw e.p=3,p=e.v,v(p.message),p;case 4:return e.p=4,f(!1),e.f(4);case 5:return e.a(2)}},e,null,[[1,3,4,5]])}));return function(t,n){return e.apply(this,arguments)}}(),[c,g,C]),E=(0,a.useCallback)(function(){var e=VC(HC().m(function e(t){var n,r,o,a,i,l,u,m,p,d,b;return HC().w(function(e){for(;;)switch(e.p=e.n){case 0:return f(!0),v(null),e.p=1,n=2,r=function(e){var t;return(null===(t=c.find(function(t){return t.id===e}))||void 0===t?void 0:t.title)||String(e)},o=c.filter(function(e){return e.badge||!t.includes(e.id)}),a=o.map(function(e){return e.raw||e}),e.n=2,g(a);case 2:C(a),s(o),t.length>1?(i=t.map(r).filter(Boolean),l=i.slice(0,n),u=Math.max(0,i.length-l.length),m=u?(0,Zn.sprintf)((0,Zn.__)("%1$s and %2$d more deleted.","wp-smushit"),l.join(", "),u):(0,Zn.sprintf)((0,Zn.__)("%s deleted.","wp-smushit"),l.join(", ")),h({content:m,module:"settings"})):(d=(null===(p=c.find(function(e){return e.id===t[0]}))||void 0===p?void 0:p.title)||String(t[0]),h({content:(0,Zn.sprintf)((0,Zn.__)("%s deleted.","wp-smushit"),d),module:"settings"})),e.n=4;break;case 3:throw e.p=3,b=e.v,v(b.message),b;case 4:return e.p=4,f(!1),e.f(4);case 5:return e.a(2)}},e,null,[[1,3,4,5]])}));return function(t){return e.apply(this,arguments)}}(),[c,g,C]);return a.createElement(GC.Provider,{value:{configs:c,isLoading:m,error:d,saveConfig:b,applyConfig:y,uploadConfig:w,updateConfig:_,deleteConfigs:E}},n)};tg.propTypes={children:l().node.isRequired};function ng(e){return function(e){if(Array.isArray(e))return sg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||cg(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rg(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return og(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(og(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,og(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,og(m,"constructor",s),og(s,"constructor",c),c.displayName="GeneratorFunction",og(s,o,"GeneratorFunction"),og(m),og(m,o,"Generator"),og(m,r,function(){return this}),og(m,"toString",function(){return"[object Generator]"}),(rg=function(){return{w:a,m:f}})()}function og(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}og=function(e,t,n,r){function a(t,n){og(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},og(e,t,n,r)}function ag(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function ig(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){ag(a,r,o,i,l,"next",e)}function l(e){ag(a,r,o,i,l,"throw",e)}i(void 0)})}}function lg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||cg(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cg(e,t){if(e){if("string"==typeof e)return sg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sg(e,t):void 0}}function sg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ug=function(e){var t,n=e.onConfigSelect,r="wpmudev-config",o=eg(),i=o.configs,l=o.isLoading,c=o.saveConfig,s=o.uploadConfig,u=o.deleteConfigs,m=(null===(t=i.find(function(e){return"Default"===e.badge}))||void 0===t?void 0:t.id)||null,f=lg((0,a.useState)(new Set),2),p=f[0],d=f[1],v=lg((0,a.useState)(null),2),h=v[0],C=v[1],g=lg((0,a.useState)(!1),2),b=g[0],y=g[1],w=lg((0,a.useState)(""),2),_=w[0],E=w[1],O=lg((0,a.useState)(""),2),S=O[0],j=O[1],N=lg((0,a.useState)(null),2),x=N[0],k=N[1],A=lg((0,a.useState)(!1),2),L=A[0],T=A[1],M=lg((0,a.useState)(!1),2),I=M[0],z=M[1],H=lg((0,a.useState)(!1),2),B=H[0],D=H[1],V=(0,a.useRef)(null),Z=(0,a.useRef)(null),F=i.length>0&&i.every(function(e){return p.has(e.id)}),R=function(){return y(!1)},U=function(){var e=ig(rg().m(function e(){var t,n;return rg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(t=_.trim()){e.n=1;break}return k({code:"required_config_name",message:(0,Zn.__)("Config name is required.","wp-smushit")}),e.a(2);case 1:return e.p=1,e.n=2,c(t,S.trim());case 2:y(!1),e.n=4;break;case 3:e.p=3,n=e.v,k({code:"save_failed",message:n.message||(0,Zn.__)("Failed to save config.","wp-smushit")});case 4:return e.a(2)}},e,null,[[1,3]])}));return function(){return e.apply(this,arguments)}}(),G=function(){var e=ig(rg().m(function e(t){var n,r,o;return rg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(r=null===(n=t.target.files)||void 0===n?void 0:n[0]){e.n=1;break}return e.a(2);case 1:return t.target.value="",e.p=2,e.n=3,s(r);case 3:e.n=5;break;case 4:e.p=4,o=e.v,window.alert(o.message||(0,Zn.__)("Failed to upload config file.","wp-smushit"));case 5:return e.a(2)}},e,null,[[2,4]])}));return function(t){return e.apply(this,arguments)}}();(0,a.useEffect)(function(){var e=p.size>0;if(Z.current&&(clearTimeout(Z.current),Z.current=null),e)return z(!0),void(Z.current=setTimeout(function(){D(!0),Z.current=null},20));D(!1),Z.current=setTimeout(function(){z(!1),Z.current=null},220)},[p.size]),(0,a.useEffect)(function(){return function(){Z.current&&clearTimeout(Z.current)}},[]);var W=function(){var e=ig(rg().m(function e(){var t;return rg().w(function(e){for(;;)switch(e.p=e.n){case 0:return T(!1),e.p=1,e.n=2,u(ng(p));case 2:d(new Set),p.has(h)&&(C(null),null==n||n(null)),e.n=4;break;case 3:e.p=3,t=e.v,window.alert(t.message||(0,Zn.__)("Failed to delete configs.","wp-smushit"));case 4:return e.a(2)}},e,null,[[1,3]])}));return function(){return e.apply(this,arguments)}}();return a.createElement("div",{className:"wpmudev-config-list"},a.createElement("input",{ref:V,type:"file",accept:".json,application/json",style:{display:"none"},onChange:G}),a.createElement("div",{className:"".concat(r,"__select-all")},a.createElement("label",{className:"".concat(r,"__select-all-label"),onClick:function(){d(F?new Set:new Set(i.map(function(e){return e.id})))}},a.createElement("span",{className:"".concat(r,"__checkbox ").concat(F?"".concat(r,"__checkbox--checked"):"")},a.createElement(gn,{name:"Check",size:14})),a.createElement("span",{className:"".concat(r,"__label")},(0,Zn.__)("Select all","wp-smushit"))),a.createElement("div",{className:"".concat(r,"__actions")},a.createElement(jn,{variant:"transparent",size:"sm",onClick:function(){var e;return null===(e=V.current)||void 0===e?void 0:e.click()},disabled:l},a.createElement(gn,{name:"Upload",size:16}),(0,Zn.__)("Upload","wp-smushit")),a.createElement(jn,{variant:"transparent",size:"sm",onClick:function(){E(""),j(""),k(null),y(!0)},disabled:l},(0,Zn.__)("Save New","wp-smushit")))),a.createElement("div",{className:"".concat(r,"__list")},i.map(function(e){var t=function(e){if(!e)return null;var t=Number(e);if(!Number.isNaN(t)&&t>0&&t<1e9)return null;var n=Number.isNaN(t)?e:t<1e12?1e3*t:t,r=new Date(n);if(Number.isNaN(r.getTime()))return null;var o=r.toLocaleDateString("en-US",{month:"short"});return"".concat(o,", ").concat(r.getDate()," ").concat(r.getFullYear())}(null==e?void 0:e.date);return a.createElement("div",{key:e.id,className:"".concat(r,"__item ").concat(h===e.id?"".concat(r,"__item--selected"):""),onClick:function(){return function(e){var t=h===e?null:e;C(t);var r=t?i.find(function(e){return e.id===t}):null;null==n||n(r)}(e.id)}},a.createElement("div",{className:"".concat(r,"__item-header")},a.createElement("div",{className:"".concat(r,"__item-label")},a.createElement("span",{className:"".concat(r,"__radio ").concat(p.has(e.id)?"".concat(r,"__radio--checked"):""),onClick:function(t){return function(e,t){e.stopPropagation(),d(function(e){var n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n})}(t,e.id)}},a.createElement(gn,{name:"Check",size:16})),a.createElement("span",{className:"".concat(r,"__item-icon ").concat(e.badge?"".concat(r,"__item-icon--badge"):"")},a.createElement(gn,{name:"Configs",size:16})),a.createElement("div",{className:"".concat(r,"__content")},a.createElement("div",{className:"".concat(r,"__title-row")},a.createElement("span",{className:"".concat(r,"__title")},e.title,e.badge&&a.createElement(Un,{variant:"default",size:"sm",className:"".concat(r,"__badge")},e.badge))),e.description&&a.createElement("p",{className:"".concat(r,"__description")},e.description))),t&&h!==e.id&&a.createElement("span",{className:"".concat(r,"__date")},t),h===e.id&&a.createElement("div",{className:"".concat(r,"__expand-controls")},a.createElement(gn,{name:"ArrowRight",size:16}))))})),a.createElement(up,{isOpen:b,onClose:R,width:380,className:"wpmudev-config-note-panel-modal",panelClassName:"wpmudev-config-note-panel",contentClassName:"wpmudev-config-note-panel__content",portalWrapperClassName:"wpmudev-config"},a.createElement("h3",{className:"wpmudev-config-note-panel__title"},(0,Zn.__)("Save config","wp-smushit")),a.createElement(P.Column,{gap:"10px",style:{width:"100%"}},a.createElement("div",{className:"wpmudev-config-note-panel__field ".concat(_?"wpmudev-config-note-panel__field--active":"")},a.createElement("span",{className:"wpmudev-config-note-panel__field-label"},(0,Zn.__)("Config name","wp-smushit")),a.createElement("input",{type:"text",className:"wpmudev-config-note-panel__input",value:_,onChange:function(e){return E(e.target.value)}})),a.createElement("div",{className:"wpmudev-config-note-panel__field ".concat(S?"wpmudev-config-note-panel__field--active":"")},a.createElement("span",{className:"wpmudev-config-note-panel__field-label"},(0,Zn.__)("Note","wp-smushit")),a.createElement("input",{type:"text",className:"wpmudev-config-note-panel__input",value:S,onChange:function(e){return j(e.target.value)}}))),x&&("required_config_name"===x.code?a.createElement("p",{className:"wpmudev-config-note-panel__error"},a.createElement("strong",null,(0,Zn.__)("Config name","wp-smushit")),(0,Zn.__)(" is required.","wp-smushit")):a.createElement("p",{className:"wpmudev-config-note-panel__error"},x.message)),a.createElement("div",{className:"wpmudev-config-note-panel__actions"},a.createElement(jn,{variant:"black",size:"lg",onClick:U,disabled:l},l?(0,Zn.__)("Saving…","wp-smushit"):(0,Zn.__)("Save","wp-smushit")),a.createElement("p",{className:"wpmudev-config-note-panel__hint"},(0,Zn.__)("Save your current settings. Download and apply them to your other sites.","wp-smushit")),a.createElement(jn,{variant:"ghost",size:"lg",onClick:R,disabled:l},(0,Zn.__)("Cancel","wp-smushit")))),I&&a.createElement("div",{className:"".concat(r,"__bulk-bar ").concat("".concat(r,B?"__bulk-bar--open":"__bulk-bar--closing"))},a.createElement("button",{type:"button",className:"".concat(r,"__bulk-bar-item"),onClick:function(){var e=i.filter(function(e){return p.has(e.id)&&(null==e?void 0:e.raw)});e.length&&e.forEach(function(e){var t=new Blob([JSON.stringify(e.raw,null,2)],{type:"application/json"}),n=URL.createObjectURL(t),r=(e.title||"config").replace(/[^a-z0-9_-]/gi,"-").toLowerCase(),o=document.createElement("a");o.href=n,o.download="".concat(r,".json"),o.click(),URL.revokeObjectURL(n)})},disabled:l||0===p.size},a.createElement(gn,{name:"Download",size:16}),(0,Zn.__)("Download all","wp-smushit")),a.createElement("button",{type:"button",variant:"transparent",className:"".concat(r,"__bulk-bar-item ").concat(r,"__bulk-bar-item--delete"),onClick:function(){return T(!0)},disabled:l||1===p.size&&p.has(m)},a.createElement(gn,{name:"Delete",size:16,color:"var(--wpmudev-text-warning, #D70015)"}),(0,Zn.__)("Delete all","wp-smushit")),a.createElement("button",{type:"button",className:"".concat(r,"__bulk-bar-item ").concat(r,"__bulk-bar-item--cancel"),onClick:function(){return d(new Set)}},(0,Zn.__)("Cancel","wp-smushit"))),a.createElement(Yf,{isOpen:L,onClose:function(){return T(!1)},title:(0,Zn.__)("Delete this config?","wp-smushit"),content:(0,Zn.__)("This will permanently remove the selected items. Default configurations cannot be deleted.","wp-smushit"),buttonText:(0,Zn.__)("Cancel","wp-smushit"),buttonVariant:"transparent",showCloseButton:!1,className:"config-delete-confirmation-modal",extraButton:a.createElement(jn,{style:{width:"100%"},variant:"danger",size:"lg",onClick:W,disabled:l,loading:l},(0,Zn.__)("Confirm","wp-smushit"))}))};ug.displayName="ConfigList",ug.propTypes={onConfigSelect:l().func};var mg=ug;function fg(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return pg(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(pg(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,pg(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,pg(m,"constructor",s),pg(s,"constructor",c),c.displayName="GeneratorFunction",pg(s,o,"GeneratorFunction"),pg(m),pg(m,o,"Generator"),pg(m,r,function(){return this}),pg(m,"toString",function(){return"[object Generator]"}),(fg=function(){return{w:a,m:f}})()}function pg(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}pg=function(e,t,n,r){function a(t,n){pg(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},pg(e,t,n,r)}function dg(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function vg(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){dg(a,r,o,i,l,"next",e)}function l(e){dg(a,r,o,i,l,"throw",e)}i(void 0)})}}function hg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cg(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var gg=function(e){var t=e.config,n=e.className,r=void 0===n?"":n,o=e.compact,i=void 0!==o&&o,l=bo().addNotification,c=["wpmudev-config-action",r].filter(Boolean).join(" "),s=!(null==t||!t.badge),u=eg(),m=u.applyConfig,f=u.updateConfig,p=u.deleteConfigs,d=u.isLoading,v=hg((0,a.useState)(!1),2),h=v[0],C=v[1],g=hg((0,a.useState)(!1),2),b=g[0],y=g[1],w=hg((0,a.useState)((null==t?void 0:t.description)||""),2),_=w[0],E=w[1],O=hg((0,a.useState)(""),2),S=O[0],j=O[1],N=hg((0,a.useState)(""),2),x=N[0],k=N[1],A=hg((0,a.useState)(!1),2),L=A[0],T=A[1],M=hg((0,a.useState)(!1),2),I=M[0],z=M[1],H=(0,a.useRef)(null);(0,a.useEffect)(function(){if(I){var e=function(e){H.current&&!H.current.contains(e.target)&&z(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}},[I]);var B=function(){y(!1),E((null==t?void 0:t.description)||""),k(""),C(!0)},D=function(){return C(!1)},V=function(){var e=vg(fg().m(function e(){var n;return fg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(null!=t&&t.id){e.n=1;break}return e.a(2);case 1:return j(""),e.p=2,e.n=3,m(t.id);case 3:window.location.reload(),e.n=5;break;case 4:e.p=4,n=e.v,j(n.message||(0,Zn.__)("Failed to apply config.","wp-smushit"));case 5:return e.a(2)}},e,null,[[2,4]])}));return function(){return e.apply(this,arguments)}}(),Z=function(){if(null!=t&&t.raw){var e=new Blob([JSON.stringify(t.raw,null,2)],{type:"application/json"}),n=URL.createObjectURL(e),r=(t.title||"config").replace(/[^a-z0-9_-]/gi,"-").toLowerCase(),o=document.createElement("a");o.href=n,o.download="".concat(r,".json"),o.click(),URL.revokeObjectURL(n),l({content:(0,Zn.sprintf)((0,Zn.__)("%s downloaded.","wp-smushit"),t.title),module:"settings"})}},F=function(){return T(!0)},R=function(){var e=vg(fg().m(function e(){var n;return fg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(T(!1),null!=t&&t.id){e.n=1;break}return e.a(2);case 1:return e.p=1,e.n=2,p([t.id]);case 2:e.n=4;break;case 3:e.p=3,n=e.v,window.alert(n.message||(0,Zn.__)("Failed to delete config.","wp-smushit"));case 4:return e.a(2)}},e,null,[[1,3]])}));return function(){return e.apply(this,arguments)}}(),U=function(){var e=vg(fg().m(function e(){var n;return fg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(null!=t&&t.id){e.n=1;break}return e.a(2);case 1:return k(""),e.p=2,e.n=3,f(t.id,{description:_,note_added_time:Date.now()});case 3:C(!1),e.n=5;break;case 4:e.p=4,n=e.v,k(n.message||(0,Zn.__)("Failed to save note.","wp-smushit"));case 5:return e.a(2)}},e,null,[[2,4]])}));return function(){return e.apply(this,arguments)}}(),G=function(){var e=vg(fg().m(function e(){var n;return fg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(null!=t&&t.id){e.n=1;break}return e.a(2);case 1:return k(""),e.p=2,e.n=3,f(t.id,{description:"",note_added_time:""});case 3:C(!1),e.n=5;break;case 4:e.p=4,n=e.v,k(n.message||(0,Zn.__)("Failed to delete note.","wp-smushit"));case 5:return e.a(2)}},e,null,[[2,4]])}));return function(){return e.apply(this,arguments)}}(),W=function(e){if(!e)return null;var t=Number(e);if(!Number.isNaN(t)&&t>0&&t<1e9)return null;var n=Number.isNaN(t)?e:t<1e12?1e3*t:t,r=new Date(n);if(Number.isNaN(r.getTime()))return null;var o=r.toLocaleDateString("en-US",{month:"short"}),a=r.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0}).replace(/\s?(AM|PM)$/i,function(e){return e.replace(/\s+/g,"").toLowerCase()});return"".concat(o,", ").concat(r.getDate()," ").concat(r.getFullYear()," ").concat(a)}(null==t?void 0:t.date),q=a.createElement(up,{isOpen:b,onClose:function(){return y(!1)},width:380,className:"wpmudev-config-note-panel-modal",panelClassName:"wpmudev-config-note-panel",contentClassName:"wpmudev-config-note-panel__content",portalWrapperClassName:"wpmudev-config".concat(i?" wpmudev-config--narrow":"")},a.createElement(P.Column,{fullWidth:!0,gap:"12px",className:"wpmudev-config-action__about"},a.createElement(P,{className:"wpmudev-config-action__about--item ".concat(s?"wpmudev-config-action__about--item--default":""),fullWidth:!0,align:"flex-start",justify:"space-between"},a.createElement(Hi,{color:"var(--wpmudev-text-primary)"},(0,Zn.__)("Note","wp-smushit")),a.createElement(P.Column,{align:"flex-end",gap:"6px"},(null==t?void 0:t.description)&&a.createElement(Hi,{color:"var(--wpmudev-text-secondary)",size:"sm"},t.description),!s&&a.createElement(Ms.Basic,{width:t.description?100:80,className:"wpmudev-config-tooltip wpmudev-config-status__edit-icon ".concat(t.description?"wpmudev-config-tooltip--edit":"wpmudev-config-tooltip--add-note"),content:t.description?(0,Zn.__)("Edit note","wp-smushit"):(0,Zn.__)("Add note","wp-smushit"),onClick:B},a.createElement(gn,{name:"Content",size:16})))),W&&a.createElement(P,{className:"wpmudev-config-action__about--item wpmudev-config-action__about--item--date",fullWidth:!0,align:"center",justify:"space-between"},a.createElement(Hi,{color:"var(--wpmudev-text-primary)"},(0,Zn.__)("Date added","wp-smushit")),a.createElement(Hi,{color:"var(--wpmudev-text-secondary)"},W)))),$=a.createElement(up,{isOpen:h,onClose:D,width:380,className:"wpmudev-config-note-panel-modal",panelClassName:"wpmudev-config-note-panel",contentClassName:"wpmudev-config-note-panel__content",portalWrapperClassName:"wpmudev-config".concat(i?" wpmudev-config--narrow":"")},a.createElement(Hi.H3,{className:"wpmudev-config-note-panel__title"},null!=t&&t.description?(0,Zn.__)("Edit Note","wp-smushit"):(0,Zn.__)("Add Note","wp-smushit")),a.createElement("div",{className:"wpmudev-config-note-panel__field wpmudev-config-note-panel__field--textarea ".concat(null!=_&&_.length?"wpmudev-config-note-panel__field--active":"")},a.createElement("span",{className:"wpmudev-config-note-panel__field-label"},(0,Zn.__)("Note","wp-smushit")),a.createElement("textarea",{className:"wpmudev-config-note-panel__input",value:_,onChange:function(e){return E(e.target.value)}})),x&&a.createElement("p",{className:"wpmudev-config-note-panel__error"},x),a.createElement("div",{className:"wpmudev-config-note-panel__actions"},a.createElement(jn,{variant:"black",size:"lg",onClick:U,disabled:d},d?(0,Zn.__)("Saving…","wp-smushit"):(0,Zn.__)("Save","wp-smushit")),(null==t?void 0:t.description)&&a.createElement(jn,{variant:"ghost",size:"lg",onClick:G,disabled:d},(0,Zn.__)("Delete Note","wp-smushit")),a.createElement(jn,{variant:"ghost",size:"lg",onClick:D,disabled:d},(0,Zn.__)("Cancel","wp-smushit")))),K=a.createElement(Yf,{isOpen:L,onClose:function(){return T(!1)},title:(0,Zn.__)("Delete this config?","wp-smushit"),content:(0,Zn.__)("This action will permanently remove the selected item and can't be undone.","wp-smushit"),buttonText:(0,Zn.__)("Cancel","wp-smushit"),buttonVariant:"transparent",showCloseButton:!1,className:"config-delete-confirmation-modal",extraButton:a.createElement(jn,{style:{width:"100%"},variant:"danger",size:"lg",onClick:R,disabled:d},(0,Zn.__)("Confirm","wp-smushit"))});return i?a.createElement(a.Fragment,null,a.createElement("div",{className:"wpmudev-config-action__dropdown-wrapper",ref:H},a.createElement("span",{className:"wpmudev-config-status__edit-icon",onClick:function(){return z(function(e){return!e})}},a.createElement(gn,{name:"More",size:16})),I&&a.createElement("div",{className:"wpmudev-config-action__dropdown"},a.createElement("button",{type:"button",className:"wpmudev-config-action__dropdown-item",onClick:function(){V(),z(!1)},disabled:d},a.createElement(gn,{name:"Check",size:16}),(0,Zn.__)("Apply this config","wp-smushit")),a.createElement("button",{type:"button",className:"wpmudev-config-action__dropdown-item",onClick:function(){Z(),z(!1)}},a.createElement(gn,{name:"Download",size:16}),(0,Zn.__)("Download","wp-smushit")),a.createElement("div",{className:"wpmudev-config-action__dropdown-divider"}),a.createElement("button",{type:"button",className:"wpmudev-config-action__dropdown-item",onClick:function(){y(!0),z(!1)}},a.createElement(gn,{name:"InfoNoBorder",size:16}),(0,Zn.__)("Info","wp-smushit")),!s&&a.createElement("button",{type:"button",className:"wpmudev-config-action__dropdown-item",onClick:function(){B(),z(!1)}},a.createElement(gn,{name:"Content",size:16}),t.description?(0,Zn.__)("Edit note","wp-smushit"):(0,Zn.__)("Add note","wp-smushit")),!s&&a.createElement(a.Fragment,null,a.createElement("div",{className:"wpmudev-config-action__dropdown-divider"}),a.createElement("button",{type:"button",className:"wpmudev-config-action__dropdown-item wpmudev-config-action__dropdown-item--delete",onClick:function(){F(),z(!1)},disabled:d},a.createElement(gn,{name:"Delete",size:16}),(0,Zn.__)("Delete","wp-smushit"))))),q,$,K):a.createElement(a.Fragment,null,a.createElement("div",{className:c},a.createElement(ff,{gap:"var( --wpmudev-space-2-5 )"},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("Action","wp-smushit"))),a.createElement(ff.Body,{style:{borderRadius:"25px"}},a.createElement("div",{className:"wpmudev-config-action__content"},a.createElement("button",{type:"button",className:"wpmudev-config-action__item",onClick:V,disabled:d},a.createElement(gn,{name:"Check",size:16})," ",a.createElement(Hi,null,(0,Zn.__)("Apply this config","wp-smushit"))),S&&a.createElement("p",{className:"wpmudev-config-action__error"},S),a.createElement("button",{type:"button",className:"wpmudev-config-action__item",onClick:Z},a.createElement(gn,{size:16,name:"Download"})," ",a.createElement(Hi,null,(0,Zn.__)("Download","wp-smushit"))),!s&&a.createElement("button",{type:"button",className:"wpmudev-config-action__item wpmudev-config-action__item--delete",onClick:F,disabled:d},a.createElement(gn,{size:16,name:"Delete"})," ",a.createElement(Hi,null,(0,Zn.__)("Delete","wp-smushit")))))),a.createElement(ff,{gap:"var( --wpmudev-space-2-5 )"},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("Info","wp-smushit"))),a.createElement(ff.Body,null,a.createElement(P.Column,{fullWidth:!0,gap:"12px",className:"wpmudev-config-action__about"},a.createElement(P,{className:"wpmudev-config-action__about--item ".concat(s?"wpmudev-config-action__about--item--default":""),fullWidth:!0,align:"flex-start",justify:"space-between"},a.createElement(Hi,{color:"var(--wpmudev-text-primary)"},(0,Zn.__)("Note","wp-smushit")),a.createElement(P.Column,{align:"flex-end",gap:"6px"},(null==t?void 0:t.description)&&a.createElement(Hi,{className:"config-about-note",color:"var(--wpmudev-text-secondary)",size:"sm",style:{textAlign:"right"}},t.description),!s&&a.createElement(Ms.Basic,{width:t.description?30:100,className:"wpmudev-config-tooltip wpmudev-config-status__edit-icon ".concat(t.description?"wpmudev-config-tooltip--edit":"wpmudev-config-tooltip--add-note"),content:t.description?(0,Zn.__)("Edit","wp-smushit"):(0,Zn.__)("Add note","wp-smushit"),onClick:B},a.createElement(gn,{name:"Content",size:16})))),W&&a.createElement(P,{className:"wpmudev-config-action__about--item wpmudev-config-action__about--item--date",fullWidth:!0,align:"center",justify:"space-between"},a.createElement(Hi,{color:"var(--wpmudev-text-primary)"},(0,Zn.__)("Date added","wp-smushit")),a.createElement(Hi,{size:"11px",color:"var(--wpmudev-text-secondary)"},W)))))),q,$,K)};gg.displayName="ConfigAction",gg.propTypes={config:l().shape({id:l().oneOfType([l().string,l().number]),badge:l().string,date:l().string,description:l().string,noteAddedTime:l().string}),className:l().string,compact:l().bool};var bg=gg,yg=function(){return a.createElement("div",{className:"wpmudev-config-status__empty"},a.createElement(gn,{size:16,className:"wpmudev-config-status__preview-icon",name:"Configs"}),a.createElement("span",{className:"wpmudev-config-status__empty-message"},(0,Zn.__)("No config selected","wp-smushit")))};yg.displayName="ConfigEmptyState";var wg=yg;function _g(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Eg(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Eg(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Eg(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Eg(m,"constructor",s),Eg(s,"constructor",c),c.displayName="GeneratorFunction",Eg(s,o,"GeneratorFunction"),Eg(m),Eg(m,o,"Generator"),Eg(m,r,function(){return this}),Eg(m,"toString",function(){return"[object Generator]"}),(_g=function(){return{w:a,m:f}})()}function Eg(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Eg=function(e,t,n,r){function a(t,n){Eg(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Eg(e,t,n,r)}function Og(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function Sg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jg(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ng={on:(0,Zn.__)("On","wp-smushit"),off:(0,Zn.__)("Off","wp-smushit"),disabled:(0,Zn.__)("Disabled","wp-smushit")},Pg=function(e){var t,n=e.status;return a.createElement("span",{className:"wpmudev-config-status__pill wpmudev-config-status__pill--".concat(n)},null!==(t=Ng[n])&&void 0!==t?t:n)};Pg.propTypes={status:l().oneOf(["on","off","disabled"]).isRequired};var xg=function(e){var t,n,r,o=e.config,i=e.className,l=void 0===i?"":i,c=e.compact,s=void 0!==c&&c,u=e.onBack,m=["wpmudev-config-status",l].filter(Boolean).join(" "),f=!(null==o||!o.badge),p=!(null===(t=window)||void 0===t||null===(t=t.smushUIData)||void 0===t||!t.isPro),d=Sg((0,a.useState)(!1),2),v=d[0],h=d[1],C=Sg((0,a.useState)(""),2),g=C[0],b=C[1],y=Sg((0,a.useState)(""),2),w=y[0],_=y[1],E=eg(),O=E.updateConfig,S=E.isLoading,j=function(){return h(!1)},N=function(){var e,t=(e=_g().m(function e(){var t;return _g().w(function(e){for(;;)switch(e.p=e.n){case 0:if(null!=o&&o.id){e.n=1;break}return e.a(2);case 1:return _(""),e.p=2,e.n=3,O(o.id,{name:g});case 3:h(!1),e.n=5;break;case 4:e.p=4,t=e.v,_(t.message||(0,Zn.__)("Failed to update config name.","wp-smushit"));case 5:return e.a(2)}},e,null,[[2,4]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Og(a,r,o,i,l,"next",e)}function l(e){Og(a,r,o,i,l,"throw",e)}i(void 0)})});return function(){return t.apply(this,arguments)}}();if(!o)return a.createElement("div",{className:"".concat(m," wpmudev-config-status--empty")},a.createElement(wg,null));var x=null!==(n=o.modules)&&void 0!==n?n:[];return a.createElement(a.Fragment,null,a.createElement("div",{className:m},a.createElement("div",{className:"wpmudev-config-status__preview"},a.createElement(ff,{gap:"var( --wpmudev-space-2-5 )"},a.createElement(ff.Body,null,a.createElement(P.Column,{fullWidth:!0,align:"center",justify:"space-between",gap:"15px"},a.createElement(P,{fullWidth:!0,align:"center",justify:"space-between"},a.createElement(Hi.H1,{className:"wpmudev-config-status__header",style:{fontSize:"32px",gap:"10px",lineHeight:"40px"}},u&&a.createElement("button",{type:"button",className:"wpmudev-config-status__back",onClick:u,"aria-label":(0,Zn.__)("Back","wp-smushit")},a.createElement(gn,{size:16,name:"ArrowLeft"})),a.createElement(P,{fullWidth:!0,align:"center",justify:"space-between"},a.createElement(gn,{size:16,className:"wpmudev-config-status__preview-icon".concat(f?" wpmudev-config-status__preview-icon--badge":""),name:"Configs"}),a.createElement("span",{className:"wpmudev-config-status__preview-title"},null!==(r=o.title)&&void 0!==r?r:(0,Zn.__)("No config selected","wp-smushit")),f&&a.createElement(Un,{className:" wpmudev-config__badge",variant:"default"},"Default"))),s?a.createElement(bg,{config:o,compact:!0}):!f&&a.createElement(Ms.Basic,{content:(0,Zn.__)("Edit","wp-smushit"),width:"fit-content",className:"wpmudev-config-tooltip"},a.createElement("span",{className:"wpmudev-config-status__edit-icon edit-config",onClick:function(){var e;b(null!==(e=o.title)&&void 0!==e?e:""),_(""),h(!0)}},a.createElement(gn,{name:"Content",size:16}))))),a.createElement("div",{className:"wpmudev-config-status__table"},a.createElement("div",{className:"wpmudev-config-status__row wpmudev-config-status__row--header"},a.createElement("div",{className:"wpmudev-config-status__cell wpmudev-config-status__cell--module"},(0,Zn.__)("MODULES","wp-smushit")),a.createElement("div",{className:"wpmudev-config-status__cell wpmudev-config-status__cell--options"},(0,Zn.__)("OPTIONS","wp-smushit")),a.createElement("div",{className:"wpmudev-config-status__cell wpmudev-config-status__cell--status"},(0,Zn.__)("STATUS","wp-smushit"))),x.map(function(e,t){var n=e.module,r=e.isPro,o=e.options;return a.createElement("div",{key:t,className:"wpmudev-config-status__module"},o.map(function(e,t){return a.createElement("div",{key:t,className:"wpmudev-config-status__row"},a.createElement("div",{className:"wpmudev-config-status__cell wpmudev-config-status__cell--module"},0===t?a.createElement("span",{className:"wpmudev-config-status__module-name"},n):null),a.createElement("div",{className:"wpmudev-config-status__cell wpmudev-config-status__cell--options"},e.label,!p&&(e.isPro||r)&&a.createElement(Un,{variant:"pro",size:"sm",interactive:!1},(0,Zn.__)("Pro","wp-smushit"))),a.createElement("div",{className:"wpmudev-config-status__cell wpmudev-config-status__cell--status"},a.createElement(Pg,{status:p||!e.isPro&&!r?e.status:"disabled"})))}))}))))),!s&&a.createElement(bg,{config:o})),a.createElement(up,{isOpen:v,onClose:j,width:380,className:"wpmudev-config-note-panel-modal",panelClassName:"wpmudev-config-note-panel",contentClassName:"wpmudev-config-note-panel__content",portalWrapperClassName:"wpmudev-config".concat(s?" wpmudev-config--narrow":"")},a.createElement(Hi.H3,{className:"wpmudev-config-note-panel__title"},(0,Zn.__)("Edit config name","wp-smushit")),a.createElement("div",{className:"wpmudev-config-note-panel__field ".concat(g?"wpmudev-config-note-panel__field--active":"")},a.createElement("span",{className:"wpmudev-config-note-panel__field-label"},(0,Zn.__)("Config name","wp-smushit")),a.createElement("input",{type:"text",className:"wpmudev-config-note-panel__input",value:g,onChange:function(e){return b(e.target.value)}})),w&&a.createElement("p",{className:"wpmudev-config-note-panel__error"},w),a.createElement("div",{className:"wpmudev-config-note-panel__actions"},a.createElement(jn,{variant:"black",size:"lg",onClick:N,disabled:S},S?(0,Zn.__)("Saving…","wp-smushit"):(0,Zn.__)("Save","wp-smushit")),a.createElement(jn,{variant:"ghost",size:"lg",onClick:j,disabled:S},(0,Zn.__)("Cancel","wp-smushit")))))};xg.displayName="ConfigStatus",xg.propTypes={config:l().shape({title:l().string,badge:l().string,date:l().string,modules:l().array}),className:l().string,compact:l().bool,onBack:l().func};var kg=xg,Ag=function(){var e=ai(),t=e.hubConnectorData,n=e.setOpenHubConnectionFlow,r=e.openHubConnectInfoModal,o=e.setOpenHubConnectInfoModal,i=e.hubConnectionCampaign,l=e.redirectToDashboardIfAvailable,c=(0,e.buildAuthUrl)((null==t?void 0:t.hub_signup_url)||"https://wpmudev.com/api/dashboard/v2/site-authenticate",i||"smush_profile_avatar_connect_create_account"),s=a.createElement(a.Fragment,null,a.createElement("p",null,(0,Zn.__)("to 2X Smush your images","wp-smushit")),a.createElement(jn,{className:"hub-connector-modal-button",variant:"black",size:"lg",onClick:function(){l()||(window.location.href=c)},style:{marginTop:"20px"}},(0,Zn.__)("Create free account","wp-smushit")),a.createElement("span",{className:"hub-connector-modal-button-divider"},(0,Zn.__)("or","wp-smushit")),a.createElement(jn,{className:"hub-connector-modal-button",variant:"secondary",size:"lg",onClick:function(){o(!1),l()||n("login",(i||"smush_profile_avatar_connect_create_account").replace("_create_account","_signin"))}},(0,Zn.__)("Sign in","wp-smushit")));return a.createElement(Yf,{isOpen:r,className:"hub-connector-modal-ovarlay",onClose:function(){return o(!1)},avatar:a.createElement(gn,{name:"UserDisconnected",color:"#fff",size:16}),title:(0,Zn.__)("Connect to WPMU DEV","wp-smushit"),content:s,showCloseButton:!1,showButton:!1,closeOnOverlayClick:!0})};function Lg(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Tg(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Tg(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Tg(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Tg(m,"constructor",s),Tg(s,"constructor",c),c.displayName="GeneratorFunction",Tg(s,o,"GeneratorFunction"),Tg(m),Tg(m,o,"Generator"),Tg(m,r,function(){return this}),Tg(m,"toString",function(){return"[object Generator]"}),(Lg=function(){return{w:a,m:f}})()}function Tg(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Tg=function(e,t,n,r){function a(t,n){Tg(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Tg(e,t,n,r)}function Mg(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function Ig(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Mg(a,r,o,i,l,"next",e)}function l(e){Mg(a,r,o,i,l,"throw",e)}i(void 0)})}}function zg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Hg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hg(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Bg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onlyWhenActiveTab,n=void 0!==t&&t,r=e.activeTab,o=void 0===r?"":r,i=hi(),l=i.isNoticeDismissed,c=i.dismissNotice,s=zg((0,a.useState)(function(){var e=l(vr);return n?"config"===o&&!e:!e}),2),u=s[0],m=s[1];return(0,a.useEffect)(function(){l(vr)?m(!1):m(!n||"config"===o)},[o,n,l]),{isOpen:u,handleClose:(0,a.useCallback)(Ig(Lg().m(function e(){return Lg().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,c(vr);case 1:m(!1);case 2:return e.a(2)}},e)})),[c])}};function Dg(e){return Dg="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},Dg(e)}function Vg(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 Zg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vg(Object(n),!0).forEach(function(t){Fg(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vg(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fg(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Dg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Dg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Dg(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ug(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ug(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ug(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Gg=function(e){var t,n,r=e.onConfigSelect,o="wpmudev-toast",i=eg().configs,l=qr().setToast,c=ai(),s=c.hubConnectorData,u=c.setOpenHubConnectInfoModal,m=Rg((0,a.useState)(null),2),f=m[0],p=m[1],d=Rg((0,a.useState)(9999),2),v=d[0],h=d[1],C=Rg((0,a.useState)(!1),2),g=C[0],b=C[1],y=(0,a.useRef)(!1),w=(0,a.useRef)(!1),_=(n=(0,a.useRef)(null),(0,a.useEffect)(function(){var e=n.current;if(e){var t=!1,r=new ResizeObserver(function(){return o()});return r.observe(e),window.addEventListener("scroll",o,{passive:!0}),window.addEventListener("resize",o),a(),function(){r.disconnect(),window.removeEventListener("scroll",o),window.removeEventListener("resize",o)}}function o(){t||(t=!0,requestAnimationFrame(function(){t=!1,a()}))}function a(){e.style.height="";var t=e.offsetHeight,n=e.getBoundingClientRect(),r=window.innerHeight-n.top;e.style.height=Math.max(t,r)+"px"}},[]),n),E=Bg(),O=E.isOpen;E.handleClose;(0,a.useEffect)(function(){O&&(w.current=!0)},[O]),(0,a.useEffect)(function(){var e=_.current;if(e){var t=new ResizeObserver(function(e){h(Math.round(e[0].contentRect.width))});return t.observe(e),h(e.offsetWidth),function(){return t.disconnect()}}},[]);var S=("undefined"!=typeof window?window.innerWidth:v)<=1200,j=v<1230;(0,a.useEffect)(function(){S||b(!1)},[S]),(0,a.useEffect)(function(){var e,t,n=!(null===(e=window)||void 0===e||null===(e=e.smushUIData)||void 0===e||!e.isPro),r=!(null===(t=window)||void 0===t||null===(t=t.smushUIData)||void 0===t||null===(t=t.configsData)||void 0===t||!t.configTipsDismissed);if(!(n||r||y.current||O)){var i=w.current?5e3:1e4,c=setTimeout(function(){y.current=!0;var e=function(){Kn.common.dismissNotice("config_tips_toast").catch(function(){})},t=function(){l(function(e){return Zg(Zg({},e),{},{open:!1,info:null,autoClose:!0,className:""})})},n=function(){e(),t()},r=function(){e(),t(),!!!(null!=s&&s.is_logged_in||null!=s&&s.profile_data)&&null!=s&&s.is_available?u(!0):window.location.href="https://wpmudev.com/hub2/configs"};l(function(e){return Zg(Zg({},e),{},{open:!0,autoClose:!1,className:"".concat(o," wpmudev-config__config-tips"),info:{icon:a.createElement(gn,{name:"Bulb",size:16}),title:(0,Zn.__)("Tips","wp-smushit"),description:(0,Zn.__)("Manage and apply configs to multiple sites from the Hub","wp-smushit"),actions:a.createElement(P,{className:"".concat(o,"__actions"),align:"center",justify:"start"},a.createElement(jn,{variant:"ghost",size:"sm",className:"".concat(o,"__button ").concat(o,"__button--ghost"),onClick:n},(0,Zn.__)("Not now","wp-smushit")),a.createElement(jn,{variant:"black",size:"sm",className:"".concat(o,"__button ").concat(o,"__button--primary"),onClick:r},(0,Zn.__)("Try Now","wp-smushit"))),closable:!1}})})},i);return function(){return clearTimeout(c)}}},[O,s,u,l]);var N=f&&null!==(t=i.find(function(e){return e.id===f}))&&void 0!==t?t:null;(0,a.useEffect)(function(){f&&!N&&(p(null),S&&b(!1),null==r||r(null))},[f,N,S,r]);var x=!S||!g,k=!S||g;return a.createElement(a.Fragment,null,a.createElement(Ag,null),a.createElement("div",{className:"wpmudev-config".concat(S?" wpmudev-config--narrow":""),ref:_},x&&a.createElement(mg,{onConfigSelect:function(e){var t,n=null!==(t=null==e?void 0:e.id)&&void 0!==t?t:null;p(n),S&&b(!!n),null==r||r(e)}}),k&&a.createElement(kg,{config:N,compact:j,onBack:S&&g?function(){return b(!1)}:void 0})))};Gg.propTypes={onConfigSelect:l().func};var Wg=function(e){var t=e.onConfigSelect;return a.createElement(tg,null,a.createElement(Gg,{onConfigSelect:t}))};Wg.propTypes={onConfigSelect:l().func};var qg=Wg;function $g(e){return $g="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},$g(e)}function Kg(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 Xg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kg(Object(n),!0).forEach(function(t){Jg(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kg(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Jg(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=$g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$g(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Qg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qg(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var eb="wpmudev-toast",tb="s3_support_notice",nb="s3_not_configured_notice",rb="s3_not_interactable_notice",ob=function(){var e=qr().setToast,t=hi(),n=t.isNoticeDismissed,r=t.dismissNotice,o=Yg(Ja("s3",!1),2),i=o[0],l=o[1],c=(0,a.useCallback)(function(){e(function(e){return Xg(Xg({},e),{},{open:!1})})},[e]),s=(0,a.useCallback)(function(){r(tb),c()},[r,c]),u=(0,a.useCallback)(function(){l(!0),c()},[l,c]),m=(0,a.useCallback)(function(){r(nb),c()},[r,c]),f=(0,a.useCallback)(function(){r(rb),c()},[r,c]);return(0,a.useEffect)(function(){var t=Lr().s3NoticeData||{},r=t.wpOffloadMediaActive,o=void 0!==r&&r,l=t.isS3Active,c=void 0!==l&&l,p=t.canInteract,d=void 0!==p&&p,v=t.isPluginSetup,h=void 0===v?null:v,C=t.pluginPageUrl,g=void 0===C?"":C;o&&(i||c||n(tb)||!br()?!br()||d||n(rb)?!br()||!c||h||n(nb)||e({open:!0,placement:"top-right",info:{title:(0,Zn.__)("WP Offload Media not configured","wp-smushit"),description:(0,ic.A)((0,Zn.__)("Complete your <a>WP Offload Media configuration</a> to enable Amazon S3 support.","wp-smushit"),{a:a.createElement("a",{href:g,target:"_blank",rel:"noopener noreferrer"})}),icon:a.createElement(gn,{name:"AmazonS3",size:16,color:"#FFFFFF"}),actions:a.createElement(P,{className:"".concat(eb,"__actions"),align:"center",justify:"start"},a.createElement(jn,{variant:"ghost",size:"sm",className:"".concat(eb,"__button ").concat(eb,"__button--ghost"),onClick:m},(0,Zn.__)("Dismiss","wp-smushit"))),closable:!1},autoClose:!1}):e({open:!0,placement:"top-right",info:{title:(0,Zn.__)("WP Offload Media issue","wp-smushit"),description:(0,ic.A)((0,Zn.__)("WP Offload Media not responding. Please ensure it's active, or <a>report a bug</a>.","wp-smushit"),{a:a.createElement("a",{href:"https://wpmudev.com/contact",target:"_blank",rel:"noopener noreferrer"})}),icon:a.createElement(gn,{name:"AmazonS3",size:16,color:"#FFFFFF"}),actions:a.createElement(P,{className:"".concat(eb,"__actions"),align:"center",justify:"start"},a.createElement(jn,{variant:"ghost",size:"sm",className:"".concat(eb,"__button ").concat(eb,"__button--ghost"),onClick:f},(0,Zn.__)("Dismiss","wp-smushit"))),closable:!1},autoClose:!1}):e({open:!0,placement:"top-right",info:{title:(0,Zn.__)("WP Offload Media detected","wp-smushit"),description:(0,Zn.__)("WP Offload Media detected. Enable Amazon S3 Support to optimize your S3 images.","wp-smushit"),icon:a.createElement(gn,{name:"AmazonS3",size:16,color:"#FFFFFF"}),actions:a.createElement(P,{className:"".concat(eb,"__actions"),align:"center",justify:"start"},a.createElement(jn,{variant:"ghost",size:"sm",className:"".concat(eb,"__button ").concat(eb,"__button--ghost"),onClick:s},(0,Zn.__)("Dismiss","wp-smushit")),a.createElement(jn,{variant:"black",size:"sm",className:"".concat(eb,"__button ").concat(eb,"__button--primary"),onClick:u},(0,Zn.__)("Enable S3 Support","wp-smushit"))),closable:!1},autoClose:!1}))},[i,n,s,u,m,f]),null};function ab(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ib(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ib(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ib(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var lb=function(){var e,t,n="wpmudev-integrations",r=qr().setOpenProFeatures,o=(t=qr().setToast,(0,a.useCallback)(function(){t({open:!0,placement:"top-right",info:{title:(0,Zn.__)("Amazon S3 not available","wp-smushit"),description:(0,Zn.__)("WP Offload Media and Amazon S3 account are required for this feature.","wp-smushit"),icon:a.createElement(gn,{name:"AmazonS3",size:16,color:"#FFFFFF"}),closable:!0},autoClose:!0})},[t])),i=ab(Ja("gutenberg",!1,function(e){return e?(0,Zn.__)("Gutenberg Support enabled.","wp-smushit"):(0,Zn.__)("Gutenberg Support disabled.","wp-smushit")}),2),l=i[0],c=i[1],s=ab(Ja("jsBuilder",!1,function(e){return e?(0,Zn.__)("WPBakery Page Builder enabled.","wp-smushit"):(0,Zn.__)("WPBakery Page Builder disabled.","wp-smushit")}),2),u=s[0],m=s[1],f=ab(Ja("gform",!1,function(e){return e?(0,Zn.__)("Gravity Forms enabled.","wp-smushit"):(0,Zn.__)("Gravity Forms disabled.","wp-smushit")}),2),p=f[0],d=f[1],v=ab(Ja("s3",!1,function(e){return e?(0,Zn.__)("Amazon S3 enabled.","wp-smushit"):(0,Zn.__)("Amazon S3 disabled.","wp-smushit")}),2),h=v[0],C=v[1],g=(null===(e=window.smushUIData)||void 0===e?void 0:e.integrationStatus)||{},b=[{id:"gutenberg",name:(0,Zn.__)("Gutenberg Support","wp-smushit"),icon:"Gutenberg",installed:!!g.gutenberg,tooltip:(0,Zn.__)("Add statistics and the manual smush button to Gutenberg blocks that display images.","wp-smushit"),value:l,setter:c},{id:"wpbakery",name:(0,Zn.__)("WPBakery Page Builder","wp-smushit"),icon:"Wpbakery",installed:!!g.jsBuilder,tooltip:(0,Zn.__)("Allow smushing images resized in WPBakery Page Builder editor.","wp-smushit"),value:u,setter:m},{id:"gravity-forms",name:(0,Zn.__)("Gravity Forms","wp-smushit"),icon:"GravityForms",installed:!!g.gform,tooltip:(0,Zn.__)("Allow compressing images uploaded with Gravity Forms.","wp-smushit"),value:p,setter:d},{id:"amazon-s3",name:(0,Zn.__)("Amazon S3","wp-smushit"),icon:"AmazonS3",installed:!!g.s3,badge:!0,pro:!0,tooltip:(0,Zn.__)("Storing your images on S3 buckets using WP Offload Media? Smush can detect and smush those assets for you, including when you're removing files from your host server.","wp-smushit"),value:h,setter:C}];return a.createElement(a.Fragment,null,a.createElement(ob,null),a.createElement(ff,{className:n},a.createElement(ff.Body,null,a.createElement("div",{className:"".concat(n,"__setting-container")},b.map(function(e){var t=["".concat(n,"__setting-item"),e.pro&&yr("is-disabled")].filter(Boolean).join(" ");return a.createElement("div",{key:e.id,onClick:function(){return function(e){var t="amazon-s3"===e.id,n=br();t&&!e.installed&&n?o():e.pro?r(!0,"smush_settings_integrations_amazons3"):e.installed&&e.setter(!e.value)}(e)},className:t,style:{cursor:e.installed?"pointer":"default"}},a.createElement("span",{className:"".concat(n,"__setting-label")},a.createElement(gn,{name:e.icon,width:30,height:30,className:"".concat(n,"__setting-icon")}),a.createElement("span",{className:"".concat(n,"__setting-name")},e.name),e.badge&&a.createElement(Ei,{style:{marginLeft:"-5px"}}),a.createElement(Ms.Basic,{placement:"bottom-right",content:e.tooltip})),!e.installed||e.pro&&!br()?a.createElement(Hi,{className:"".concat(n,"__not-in-use")},(0,Zn.__)("Not in use","wp-smushit")):a.createElement(cl,{checked:!!e.value,onChange:function(t){return e.setter(t)},disabled:e.pro&&yr()}))})))))};function cb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return sb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ub=function(){var e=cb(Ja("auto",!1,function(e){return e?(0,Zn.__)("Automatic optimization enabled.","wp-smushit"):(0,Zn.__)("Automatic optimization disabled.","wp-smushit")}),2),t=e[0],n=e[1],r=cb(Ja("stripExif",!1,function(e){return e?(0,Zn.__)("Remove metadata from images enabled.","wp-smushit"):(0,Zn.__)("Remove metadata from images disabled.","wp-smushit")}),2),o=r[0],i=r[1],l=cb(Ja("original",!1,function(e){return e?(0,Zn.__)("Optimize original image enabled.","wp-smushit"):(0,Zn.__)("Optimize original image disabled.","wp-smushit")}),2),c=l[0],s=l[1],u="smush-settings-tools";return a.createElement("div",{className:"".concat(u,"__general-settings")},a.createElement(ff,{id:"tools-general",gap:"var( --wpmudev-space-2-5 )"},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("General","wp-smushit"))),a.createElement(ff.Body,{className:"".concat(u,"__settings-body"),style:{"--wpmudev-form-field-border-radius":0}},a.createElement(P.Column,{fullWidth:!0,gap:0},a.createElement(Vf,{label:a.createElement(a.Fragment,null,(0,Zn.__)("Automatic Compression","wp-smushit"),a.createElement(Ms.Basic,{placement:"bottom-right",content:(0,Zn.__)("When you upload images to your site, we will automatically optimize and compress them for you.","wp-smushit")})),checked:!!t,onChange:n}),a.createElement(Vf,{label:a.createElement(a.Fragment,null,(0,Zn.__)("Remove metadata from images","wp-smushit")),checked:!!o,onChange:i}),a.createElement(Vf,{label:a.createElement(a.Fragment,null,(0,Zn.__)("Optimize original images","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Enable to optimize original images along with the generated attachments.","wp-smushit")})),checked:!!c,onChange:s})))))};function mb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var pb=function(){var e=mb(Ja("noScale",!1,function(e){return e?(0,Zn.__)("Disable scaled images enabled.","wp-smushit"):(0,Zn.__)("Disable scaled images disabled.","wp-smushit")}),2),t=e[0],n=e[1],r=mb(Ja("resize",!1,function(e){return e?(0,Zn.__)("Resize large images enabled.","wp-smushit"):(0,Zn.__)("Resize large images disabled.","wp-smushit")}),2),o=r[0],i=r[1],l=mb(Ja("resizeSizes",!1,function(e){var t=(null==e?void 0:e.width)||0,n=(null==e?void 0:e.height)||0;return t&&n?(0,Zn.__)("Images max width changed to","wp-smushit")+" "+t+" px, "+(0,Zn.__)("max height changed to","wp-smushit")+" "+n+" px.":t?(0,Zn.__)("Images max width changed to","wp-smushit")+" "+t+" px.":n?(0,Zn.__)("Images max height changed to","wp-smushit")+" "+n+" px.":null}),2),c=l[0],s=l[1],u=mb((0,a.useState)(function(){return(null==c?void 0:c.width)||""}),2),m=u[0],f=u[1],p=mb((0,a.useState)(function(){return(null==c?void 0:c.height)||""}),2),d=p[0],v=p[1],h=(0,a.useRef)(!1);(0,a.useEffect)(function(){h.current||(f((null==c?void 0:c.width)||""),v((null==c?void 0:c.height)||""))},[c]);var C=function(){s({width:parseInt(m,10)||0,height:parseInt(d,10)||0})},g="smush-settings-tools";return a.createElement("div",{className:"".concat(g,"__large-image-settings")},a.createElement(ff,{id:"tools-large-image",gap:"var( --wpmudev-space-2-5 )"},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("Large Image Resizing","wp-smushit"))),a.createElement(ff.Body,{className:"".concat(g,"__settings-body"),style:{"--wpmudev-form-field-border-radius":0}},a.createElement(P.Column,{fullWidth:!0,gap:0},a.createElement(Vf,{label:a.createElement(a.Fragment,null,(0,Zn.__)("Resize large images","wp-smushit"),a.createElement(Ms.Basic,{placement:"bottom-right",content:(0,Zn.__)("Automatically resize images that exceed specified dimensions to improve load times and performance.","wp-smushit")})),checked:!!o,onChange:i,className:o?"with-sub-content":""}),o&&a.createElement(a.Fragment,null,a.createElement("div",{className:"wpmudev-form-field field-container large-image-resize-settings"},a.createElement("div",{className:"large-image-dimensions"},a.createElement("div",{className:"large-image-dimensions__field"},a.createElement(Mf,{style:{border:"none"}},a.createElement(Mf.Label,{htmlFor:"max-width"},(0,Zn.__)("Max width","wp-smushit")),a.createElement("div",{className:"wpmudev-form-control-with-suffix"},a.createElement(Mf.Input,{name:"max-width",placeholder:"2560",value:m,onChange:function(e){return f(e.target.value)},onFocus:function(){h.current=!0},onBlur:function(){h.current=!1,C()}}),a.createElement(Hi,{className:"wpmudev-form-field-suffix"},(0,Zn.__)("px","wp-smushit"))))),a.createElement("div",{className:"large-image-dimensions__divider"}),a.createElement("div",{className:"large-image-dimensions__field"},a.createElement(Mf,{style:{border:"none"}},a.createElement(Mf.Label,{htmlFor:"max-height"},(0,Zn.__)("Max height","wp-smushit")),a.createElement("div",{className:"wpmudev-form-control-with-suffix"},a.createElement(Mf.Input,{name:"max-height",placeholder:"2560",value:d,onChange:function(e){return v(e.target.value)},onFocus:function(){h.current=!0},onBlur:function(){h.current=!1,C()}}),a.createElement(Hi,{className:"wpmudev-form-field-suffix"},(0,Zn.__)("px","wp-smushit"))))))),a.createElement(Hi,{size:"xs",className:"wpmudev-form-description large-image-description"},(0,Zn.__)("Images are automatically resized on upload. For Retina displays, use double double the display dimensions. Animated GIFs aren’t resized—use a tool like","wp-smushit"),a.createElement("a",{href:"https://gifgifs.com/resizer",target:"_blank",rel:"noopener noreferrer"}," "+(0,Zn.__)("GIF Resizer","wp-smushit"),a.createElement("span",{className:"new-tab-indicator","aria-hidden":"true"},"↗")),(0,Zn.__)(" Before uploading.","wp-smushit"))),a.createElement(Vf,{label:a.createElement(a.Fragment,null,(0,Zn.__)("Disable scaled images","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Increase the dimensions of smaller images to meet specified minimum size requirements.","wp-smushit")})),checked:!!t,onChange:n})))))};function db(e){return db="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},db(e)}function vb(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 hb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vb(Object(n),!0).forEach(function(t){Cb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Cb(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=db(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=db(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==db(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gb(e){return function(e){if(Array.isArray(e))return wb(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||yb(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||yb(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yb(e,t){if(e){if("string"==typeof e)return wb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wb(e,t):void 0}}function wb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var _b={thumbnail:(0,Zn.__)("Thumbnail","wp-smushit"),thumb:(0,Zn.__)("Thumbnail","wp-smushit"),medium:(0,Zn.__)("M","wp-smushit"),medium_large:(0,Zn.__)("ML","wp-smushit"),large:(0,Zn.__)("L","wp-smushit"),"1536x1536":(0,Zn.__)("XL","wp-smushit"),"2048x2048":(0,Zn.__)("2XL","wp-smushit")};var Eb={thumbnail:{width:150,height:150,crop:!0},medium:{width:300,height:300,crop:!1},medium_large:{width:768,height:768},large:{width:1024,height:1024,crop:!1},"1536x1536":{width:1536,height:1536,crop:!1},"2048x2048":{width:2048,height:2048,crop:!1}},Ob=function(){var e=qr().bulkSmushMetaData,t=(void 0===e?{}:e).imageSizes,n=(void 0===t?{}:t).sizes,r=function(e){return Object.entries(e).sort(function(e,t){var n=bb(e,2)[1],r=bb(t,2)[1];return(Number(n.width)||0)-(Number(r.width)||0)}).map(function(e){var t,n=bb(e,2),r=n[0],o=n[1];return{id:r,label:"".concat(o.width,"x").concat(o.height),subtitle:null!==(t=_b[r])&&void 0!==t?t:r}})}(void 0===n?Eb:n),o=r.map(function(e){return e.id}),i=function(e){return Array.isArray(e)?e:o},l=bb(Ja("imageSizes",!1,function(e,t){var n=i(t),r=i(e),o=r.filter(function(e){return!n.includes(e)}),a=n.filter(function(e){return!r.includes(e)});return o.length+a.length>1?(0,Zn.__)("Image sizes updated.","wp-smushit"):1===o.length?(0,Zn.__)("Image size included for optimization:","wp-smushit")+" "+o[0]+".":1===a.length?(0,Zn.__)("Image size excluded from optimization:","wp-smushit")+" "+a[0]+".":null}),2),c=l[0],s=l[1],u=i(c),m=u.length===o.length;return a.createElement(ff,{className:"smush-settings-tools__image-size-settings",gap:"var(--wpmudev-space-2-5)"},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("Image sizes","wp-smushit")),a.createElement(Ms.Basic,{content:(0,Zn.__)("Select which image sizes you want to optimize.","wp-smushit")})),a.createElement(ff.Body,null,a.createElement(P.Column,{fullWidth:!0},a.createElement(P,{fullWidth:!0,align:"center",justify:"space-between"},a.createElement(Hi,{className:"image-sizes-header-title"},(0,Zn.__)("All image sizes","wp-smushit")),a.createElement(cl,{checked:m,onChange:function(e){s(e?gb(o):[])}})),a.createElement(ou,{className:"smush-image-size-selector",items:r.map(function(e){return hb(hb({},e),{},{selected:u.includes(e.id),tooltip:e.label})}),onSelectionChange:function(e){var t=e.filter(function(e){return e.selected}).map(function(e){return e.id});s(t.length===o.length?gb(o):t)},variant:"pill",size:"md",multiple:!0,style:{"--wpmudev-selector-item-font-size":"var(--wpmudev-text-sm)",padding:"15px",gap:"10px"}}))))};function Sb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Nb=function(){var e=Sb(Ma("lazyLoad"),2),t=e[0],n=(e[1],Sb(Ja("autoResizing",!1,function(e){return e?(0,Zn.__)("Automatic Resizing enabled.","wp-smushit"):(0,Zn.__)("Automatic Resizing disabled.","wp-smushit")}),2)),r=n[0],o=n[1],i=Sb(Ja("imageDimensions",!1,function(e){return e?(0,Zn.__)("Set image dimensions enabled.","wp-smushit"):(0,Zn.__)("Set image dimensions disabled.","wp-smushit")}),2),l=i[0],c=i[1],s="smush-settings-tools",u=t?(0,Zn.__)("Automatically resize, add dimensions, and generate dynamic sizes to ensure that the correct image size is loaded in every situation.","wp-smushit"):(0,Zn.__)("Enable Lazy Load to auto resize your images.","wp-smushit"),m=t?"top-right":"bottom-right";return a.createElement("div",{className:"".concat(s,"__image-sizing-settings")},a.createElement(ff,{id:"tools-image-sizing",gap:"var( --wpmudev-space-2-5 )",className:yr("smush-image-sizing__is-disabled")},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("Image sizing","wp-smushit"),yr(a.createElement(Ei,null))),a.createElement(Ms.Basic,{placement:m,content:u})),a.createElement(ff.Body,{className:"".concat(s,"__settings-body"),style:{"--wpmudev-form-field-border-radius":0}},a.createElement(P.Column,{fullWidth:!0,gap:0},a.createElement(Vf,{label:(0,Zn.__)("Automatic Resizing","wp-smushit"),checked:!!r,onChange:o},(0,Zn.__)("Auto-scale images to container size for faster loading","wp-smushit")),a.createElement(Vf,{label:(0,Zn.__)("Set image dimensions","wp-smushit"),checked:!!l,onChange:c},(0,Zn.__)("Add width and height attributes to prevent layout shifts.","wp-smushit"))))))};function Pb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var kb=function(){var e,t=Pb(Ja("pngToJpg",!1,function(e){return e?(0,Zn.__)("PNG to JPEG conversion enabled.","wp-smushit"):(0,Zn.__)("PNG to JPEG conversion disabled.","wp-smushit")}),2),n=t[0],r=t[1],o=Pb(Ja("backgroundEmail",!1,function(e){return e?(0,Zn.__)("Email notifications enabled.","wp-smushit"):(0,Zn.__)("Email notifications disabled.","wp-smushit")}),2),i=o[0],l=o[1],c=(null===(e=window)||void 0===e||null===(e=e.smushUIData)||void 0===e||null===(e=e.profileData)||void 0===e?void 0:e.email)||"",s="smush-settings-tools";return a.createElement("div",{className:"".concat(s,"__general-settings")},a.createElement(ff,{id:"tools-others",gap:"var( --wpmudev-space-2-5 )"},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("Others","wp-smushit"))),a.createElement(ff.Body,{className:"".concat(s,"__settings-body"),style:{"--wpmudev-form-field-border-radius":0}},a.createElement(P.Column,{fullWidth:!0,gap:0},a.createElement(Vf,{label:a.createElement(a.Fragment,null,(0,Zn.__)("PNG to JPEG conversion","wp-smushit"),a.createElement(Ms.Basic,{content:(0,Zn.__)("Convert PNG images to JPEG format to reduce file size while maintaining quality.","wp-smushit")})),checked:!!n,onChange:r}),a.createElement(Vf,{label:a.createElement(a.Fragment,null,(0,Zn.__)("Email Notification","wp-smushit")),checked:!!i,onChange:l},c)))))},Ab=new Set;var Lb,Tb={track:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&!Ab.has(e)&&null!==(t=window.wp_smush_mixpanel)&&void 0!==t&&t.opt_in)return Ab.add(e),Kn.common.track(e,n).finally(function(){setTimeout(function(){return Ab.delete(e)},1e3)})}},Mb=Tb;function Ib(e){return Ib="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},Ib(e)}function zb(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Ib(e)+" is not iterable")}function Hb(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ub(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function Bb(e){return function(e){if(Array.isArray(e))return Gb(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ub(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Db(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return Vb(s,"_invoke",function(n,r,o){var a,l,c,s=0,u=o||[],m=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,c=e,f.n=n,i}};function p(n,r){for(l=n,c=r,t=0;!m&&s&&!o&&t<u.length;t++){var o,a=u[t],p=f.p,d=a[2];n>3?(o=d===r)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<d&&(o=n<3||a[0]>r||r>d)&&(a[4]=n,a[5]=r,f.n=d,l=0))}if(o||n>1)return i;throw m=!0,r}return function(o,u,d){if(s>1)throw TypeError("Generator is already running");for(m&&1===u&&p(u,d),l=u,c=d;(t=l<2?e:c)||!m;){a||(l?l<3?(l>1&&(f.n=-1),p(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(m=f.n<0)?c:n.call(r,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:m}}}(n,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Vb(t={},r,function(){return this}),t),m=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Vb(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=s,Vb(m,"constructor",s),Vb(s,"constructor",c),c.displayName="GeneratorFunction",Vb(s,o,"GeneratorFunction"),Vb(m),Vb(m,o,"Generator"),Vb(m,r,function(){return this}),Vb(m,"toString",function(){return"[object Generator]"}),(Db=function(){return{w:a,m:f}})()}function Vb(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Vb=function(e,t,n,r){function a(t,n){Vb(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},Vb(e,t,n,r)}function Zb(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function Fb(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){Zb(a,r,o,i,l,"next",e)}function l(e){Zb(a,r,o,i,l,"throw",e)}i(void 0)})}}function Rb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||Ub(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ub(e,t){if(e){if("string"==typeof e)return Gb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gb(e,t):void 0}}function Gb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Wb=(null===(Lb=window)||void 0===Lb?void 0:Lb.ajaxurl)||"/wp-admin/admin-ajax.php",qb=(0,a.memo)(function(e){var t=qr().setOpenProFeatures,n=bo().addNotification,r=Rb((0,a.useState)(!1),2),o=r[0],i=r[1],l=Rb((0,a.useState)(!1),2),c=l[0],s=l[1],u=(0,a.useRef)(!1),m=Rb(Ma("lazyLoad"),2),f=m[0],p=m[1],d=Kl().showFeatureToggleToast,v=Rb((0,a.useState)(function(){var e,t=(null===(e=window)||void 0===e||null===(e=e.smushUIData)||void 0===e||null===(e=e.requestsData)||void 0===e||null===(e=e.ImageRestoreData)||void 0===e?void 0:e.restore_ids)||[];return Array.isArray(t)?t:Object.values(t)}),2),h=v[0],C=v[1],b=h.length,y=b>0,w=ui(),_=w.isBulkAvailable,E=w.isLazyLoadAvailable,O=function(){br()?f||d({featureName:(0,Zn.__)("Lazy Load","wp-smushit"),onTurnOn:function(){p(!0)},icon:"Lazyload",description:(0,Zn.__)("Turn on Lazy load to automatically resize images.","wp-smushit")}):t(!0,"smush_settings_tools_image_sizing")},S=function(){var e=Fb(Db().m(function e(t){var n,r,o;return Db().w(function(e){for(;;)switch(e.n){case 0:return(r=new FormData).append("action","restore_step"),r.append("item",t),r.append("_ajax_nonce",(null===(n=window)||void 0===n||null===(n=n.smushUIData)||void 0===n||null===(n=n.requestsData)||void 0===n||null===(n=n.ImageRestoreData)||void 0===n?void 0:n.smush_bulk_restore)||""),e.n=1,fetch(Wb,{method:"POST",body:r});case 1:return o=e.v,e.a(2,o.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=Fb(Db().m(function e(){var t,r,o,a,l,c,m;return Db().w(function(e){for(;;)switch(e.p=e.n){case 0:s(!0),u.current=!1,t=Bb(h),r=0,o=0,a=Hb(t),e.p=1,c=Db().m(function e(){var t,n,a;return Db().w(function(e){for(;;)switch(e.p=e.n){case 0:if(t=l.value,!u.current){e.n=1;break}return e.a(2,1);case 1:return e.p=1,e.n=2,S(t);case 2:n=e.v,C(function(e){return e.filter(function(e){return String(e)!==String(t)})}),n.success?o++:"missing_backup"===(null==n?void 0:n.error_code)&&r++,e.n=4;break;case 3:e.p=3,a=e.v,console.error("Failed to restore image ".concat(t,":"),a);case 4:return e.a(2)}},e,null,[[1,3]])}),a.s();case 2:if((l=a.n()).done){e.n=5;break}return e.d(zb(c()),3);case 3:if(!e.v){e.n=4;break}return e.a(3,5);case 4:e.n=2;break;case 5:e.n=7;break;case 6:e.p=6,m=e.v,a.e(m);case 7:return e.p=7,a.f(),e.f(7);case 8:if(s(!1),i(!1),Mb.track("Bulk Restore Triggered",{Type:"All","Total images restored":o,"Total images":t.length,"Backup not found":r}),!u.current){e.n=9;break}return e.a(2);case 9:n({content:(0,Zn.__)("All images restored to their original state.","wp-smushit"),module:"settings"});case 10:return e.a(2)}},e,null,[[1,6,7,8]])}));return function(){return e.apply(this,arguments)}}();return E&&!_?a.createElement(P.Column,{className:"smush-settings-tools",fullWidth:!0,gap:"15px"},a.createElement(g,{className:"smush-settings-tools__section",gap:7,rowGap:5},a.createElement(P.Column,{gap:"20px",fullWidth:!0},a.createElement(no,{className:"smush-tools-image-sizing",isDisabled:!br()||!f,onDisabledClick:O},a.createElement(Nb,null))))):a.createElement("div",null,a.createElement(P.Column,{className:"smush-settings-tools",fullWidth:!0,gap:"15px"},a.createElement(g,{className:"smush-settings-tools__section",gap:7,rowGap:5},a.createElement(P.Column,{gap:"20px",fullWidth:!0},a.createElement(Rf,null,a.createElement(ub,null)),E&&a.createElement(no,{className:"smush-tools-image-sizing",isDisabled:!br()||!f,onDisabledClick:O},a.createElement(Nb,null)),a.createElement(Rf,null,a.createElement(Ob,null))),a.createElement(P.Column,{gap:"20px",fullWidth:!0},a.createElement(Rf,null,a.createElement(pb,null)),a.createElement(Rf,null,a.createElement(kb,null)),a.createElement(Rf,null,a.createElement("div",{className:"smush-settings-tools__image-restore"},a.createElement("div",{className:"restore-content"},a.createElement(Hi,{size:"14",weight:"normal",gap:"0px"},"Restore all images",a.createElement(Ms.Basic,{content:"Revert all optimized images back to their original versions using the backups created before optimization."})),a.createElement(Hi.Paragraph,{size:"11",weight:"normal",color:"#777777"},(0,Zn.__)("Bring all images back to their original state.","wp-smushit"))),a.createElement("div",{className:"restore-button"},a.createElement(jn,{variant:"secondary",disabled:!y,size:"sm",className:"__restore-button",onClick:function(){i(!0)}},a.createElement(gn,{name:"Restore",color:"#d70015",size:16})," ",(0,Zn.__)("Restore","wp-smushit")))))))),a.createElement(Yf,{isOpen:o,onClose:function(){if(c)return u.current=!0,s(!1),i(!1),void n({content:(0,Zn.__)("Image restoration stopped.","wp-smushit"),module:"settings"});i(!1)},title:(0,Zn.__)("Restore all images?","wp-smushit"),content:a.createElement(P.Column,{gap:"20px",align:"center",style:{width:"100%"}},a.createElement(Hi.Paragraph,{size:"14",style:{textAlign:"center",maxWidth:"375px",color:"var(--wpmduev-text-primary, #1A1A1A)"}},(0,ic.A)((0,Zn.sprintf)((0,Zn.__)("This action will restore all <strong>%d</strong> images to their original, non-optimized states. For more control, use the Media Library to restore specific images.","wp-smushit"),b),{strong:a.createElement("strong",null)}))),buttonText:(0,Zn.__)("Cancel","wp-smushit"),buttonVariant:"transparent",showButton:!0,showCloseButton:!1,closeOnOverlayClick:!c,closeOnEscape:!c,extraButton:a.createElement(jn,{variant:"danger",size:"lg",onClick:j,disabled:c,loading:c},c?(0,Zn.__)("Restoring...","wp-smushit"):(0,Zn.__)("Restore","wp-smushit"))}))});function $b(e){return function(e){if(Array.isArray(e))return Jb(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Xb(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||Xb(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xb(e,t){if(e){if("string"==typeof e)return Jb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jb(e,t):void 0}}function Jb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Yb=[{id:"none",label:(0,Zn.__)("None","wp-smushit")},{id:"all",label:(0,Zn.__)("All","wp-smushit")},{id:"custom",label:(0,Zn.__)("Custom","wp-smushit")}],Qb={"--wpmudev-form-field-border-color":"var( --wpmudev-border-secondary, #f2f2f2 )"},ey=function(e){var t=e.message;return a.createElement(Mf,{id:"permissions-description-panel",style:Qb},a.createElement(Hi,{size:"xs",gap:"2px"},a.createElement(gn,{name:"Info",color:"#666",size:18}),t))},ty=function(e){var t=e.enabledModules,n=e.onToggle,r=Rl().getWhitelabelText,o=[{id:"bulk",label:r((0,Zn.__)("Bulk Smush","wp-smushit"),(0,Zn.__)("Bulk Optimization","wp-smushit"))},{id:"cdn",label:(0,Zn.__)("CDN","wp-smushit")},{id:"integrations",label:(0,Zn.__)("Integrations","wp-smushit")},{id:"lazy_load",label:(0,Zn.__)("Lazy Load & Preload","wp-smushit")},{id:"directory_smush",label:r((0,Zn.__)("Directory Smush","wp-smushit"),(0,Zn.__)("Directory Optimization","wp-smushit"))}];return a.createElement(P.Column,{fullWidth:!0,gap:0,className:"permissions-custom-modules"},o.map(function(e){return a.createElement(Vf,{key:e.id,label:e.label,checked:!!t[e.id],onChange:function(t){return n(e.id,t)}})}),a.createElement(Ag,null))},ny=function(){var e,t,n,r=null!==(e=null===(t=window.smushUIData)||void 0===t?void 0:t.permissionsSettings)&&void 0!==e?e:{mode:"none",modules:[]},o=Kb(Ja("lossy"),1)[0],i=ai().setOpenHubConnectInfoModal,l=La({initialSettings:r,context:"permissions"}),c=l.settings,s=l.updateSettings,u=Rl().removeBrandingFromText,m=null!==(n=c.mode)&&void 0!==n?n:"none",f=a.useMemo(function(){var e,t={};return(null!==(e=c.modules)&&void 0!==e?e:[]).forEach(function(e){t[e]=!0}),t},[c.modules]);return a.createElement(ff,{id:"smush-permissions",gap:"var( --wpmudev-space-2-5 )"},a.createElement(ff.Header,null,a.createElement(ff.Title,null,(0,Zn.__)("Choose modules that sub-sites can override","wp-smushit"))),a.createElement(ff.Body,null,a.createElement(P.Column,{fullWidth:!0,align:"center",justify:"space-between",gap:"0"},a.createElement(qs,{size:"sm",tabs:Yb,activeTab:m,onChange:function(e){var t;"none"!==e&&wr(o)?i(!0):s({mode:e,modules:"custom"===e&&null!==(t=c.modules)&&void 0!==t?t:[]})}}),a.createElement(qs.Panel,{tabId:"none",activeTab:m},a.createElement(ey,{message:u((0,Zn.__)("Sub-site admins cannot override any Smush settings. All settings are controlled at the network level.","wp-smushit"))})),a.createElement(qs.Panel,{tabId:"all",activeTab:m},a.createElement(ey,{message:u((0,Zn.__)("Sub-site admins can override all available Smush settings for their site.","wp-smushit"))})),a.createElement(qs.Panel,{tabId:"custom",activeTab:m},a.createElement(ty,{enabledModules:f,onToggle:function(e,t){var n,r=null!==(n=c.modules)&&void 0!==n?n:[],o=t?$b(new Set([].concat($b(r),[e]))):r.filter(function(t){return t!==e});s({mode:m,modules:o})}})))),a.createElement(Ag,null))},ry=["className","onActiveTabChange"];function oy(){return oy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oy.apply(null,arguments)}function ay(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iy(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iy(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ly=[{id:"tools",visibleIfAny:["isBulkAvailable","isLazyLoadAvailable"],icon:a.createElement(gn,{name:"Tools",size:16}),label:a.createElement("span",null,(0,Zn.__)("Tools","wp-smushit")),tooltip:(0,Zn.__)("Tools","wp-smushit")},{id:"nextgen",visibleIfAny:["isNextgenAvailable"],icon:a.createElement(gn,{name:"NextGen",size:16}),label:a.createElement("span",null,(0,Zn.__)("Next-Gen Formats","wp-smushit")),tooltip:(0,Zn.__)("Next-Gen Formats","wp-smushit")},{id:"integrations",visibleIfAny:["isIntegrationsAvailable"],icon:a.createElement(gn,{name:"Integrations",size:16}),label:a.createElement("span",null,(0,Zn.__)("Integrations","wp-smushit")),tooltip:(0,Zn.__)("Integrations","wp-smushit")},{id:"permissions",visibleIfAny:["isPermissionsAvailable"],icon:a.createElement(gn,{name:"Lock",size:16}),label:a.createElement("span",null,(0,Zn.__)("Permissions","wp-smushit")),tooltip:(0,Zn.__)("Permissions","wp-smushit")},{id:"config",visibleIfAny:["isConfigsAvailable"],icon:a.createElement(gn,{name:"Configs",size:16}),label:a.createElement("span",null,(0,Zn.__)("Configs","wp-smushit")),tooltip:(0,Zn.__)("Configs","wp-smushit")},{id:"other-settings",visibleIfAny:["isSettingsAvailable"],icon:a.createElement(gn,{name:"Settings",size:16}),label:a.createElement("span",null,(0,Zn.__)("Other Settings","wp-smushit")),tooltip:(0,Zn.__)("Other Settings","wp-smushit")}],cy=function(e){var t,n,r=e.className,o=void 0===r?"":r,i=e.onActiveTabChange,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ry),c=ui(),s=function(e){var t=Array.isArray(e.visibleIfAny)?e.visibleIfAny:[];return 0===t.length||t.some(function(e){return!1!==(null==c?void 0:c[e])})},u=(0,a.useMemo)(function(){return ly.filter(s)},[c]),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tools",n=(0,a.useCallback)(function(){var n=new URLSearchParams(window.location.search).get("view");return e.map(function(e){return e.id}).includes(n)?n:t},[e,t]),r=jl((0,a.useState)(n),2),o=r[0],i=r[1];return[o,(0,a.useCallback)(function(e){i(e);var t=new URL(window.location);t.searchParams.set("view",e),window.history.pushState({},"",t)},[])]}(u,null!==(t=null===(n=u[0])||void 0===n?void 0:n.id)&&void 0!==t?t:"tools"),f=ay(m,2),p=f[0],d=f[1],v=ay((0,a.useState)(null),2),h=v[0],C=v[1],b="config"===p&&!!h,y=ay((0,a.useState)(!1),2),w=y[0],_=y[1];(0,a.useEffect)(function(){var e;return b?e=setTimeout(function(){return _(!0)},310):_(!1),function(){return clearTimeout(e)}},[b]),(0,a.useEffect)(function(){"config"!==p&&C(null)},[p]),(0,a.useEffect)(function(){null==i||i(p)},[p,i]);var E="smush-sidenav-main-container",O=["".concat(E),"".concat(E,"--").concat(p),o].filter(Boolean).join(" ");return a.createElement(a.Fragment,null,a.createElement(g,oy({gap:0,className:O},l),a.createElement(P,{className:"".concat(E,"__navigation").concat(b?" ".concat(E,"__navigation--collapsed"):"")},a.createElement(Mm,{collapsed:w,id:"smush-side-navigation",tabs:u,activeTab:p,onChange:d})),a.createElement(P.Column,{className:"".concat(E,"__main"),gap:30},a.createElement(Mm.Panel,{tabId:"tools",activeTab:p},a.createElement(qb,null)),a.createElement(Mm.Panel,{tabId:"integrations",activeTab:p},a.createElement(lb,null)),a.createElement(Mm.Panel,{tabId:"data-settings",activeTab:p},a.createElement(Mh,null)),a.createElement(Mm.Panel,{tabId:"nextgen",activeTab:p},a.createElement(gC,null)),a.createElement(Mm.Panel,{tabId:"permissions",activeTab:p},a.createElement(ny,null)),a.createElement(Mm.Panel,{tabId:"config",activeTab:p},a.createElement(qg,{onConfigSelect:C})),a.createElement(Mm.Panel,{tabId:"other-settings",activeTab:p},a.createElement(LC,null)))))};cy.displayName="MainContent",cy.propTypes={className:l().string,onActiveTabChange:l().func};var sy=cy,uy=function(e){var t=e.isOpen,n=e.onClose,r=Rl(),o=r.removeBrandingFromText,i=r.getWhitelabelText,l=[{title:(0,Zn.__)("Use default configs","wp-smushit"),description:i((0,Zn.__)("Start with WPMU DEV’s recommended Smush setup, optimized for performance out of the box","wp-smushit"),o((0,Zn.__)("Start with recommended Smush setup, optimized for performance out of the box","wp-smushit")))},{title:(0,Zn.__)("Create your own","wp-smushit"),description:(0,Zn.__)("Build custom configs and roll them out across all your sites","wp-smushit")},{title:(0,Zn.__)("Scale across every site","wp-smushit"),description:o((0,Zn.__)("Keep Smush settings consistent and skip repetitive setups","wp-smushit"))},{title:i((0,Zn.__)("Works with all WPMU DEV plugins","wp-smushit"),(0,Zn.__)("Works with all plugins","wp-smushit")),description:(0,Zn.__)("Create and deploy configs for every plugin from one place","wp-smushit")}];return a.createElement(dv,{isOpen:t,onClose:n,className:"wpmudev-config-welcome-modal",panelClassName:"wpmudev-config-welcome-modal__panel"},a.createElement(P,{gap:"30px",direction:"column",align:"center",justify:"center"},a.createElement(dv.Header,{icon:"Configs",title:o((0,Zn.__)("Smush Configuration","wp-smushit")),description:o((0,Zn.__)("Set up Smush once. Apply it everywhere.","wp-smushit"))}),a.createElement(dv.Content,{steps:l,hideIcon:!0,className:"wpmudev-config-welcome-modal__steps",contentClassName:"wpmudev-config-welcome-modal__steps-content"}),a.createElement(dv.Actions,{className:"wpmudev-config-welcome-modal__actions"},a.createElement(jn,{className:"wpmudev-slide-modal__button",variant:"black",size:"lg",onClick:n},(0,Zn.__)("Got it","wp-smushit")))))};uy.propTypes={isOpen:l().bool.isRequired,onClose:l().func.isRequired};var my=uy;function fy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return py(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?py(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function py(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var dy=function(){var e=new URLSearchParams(window.location.search).get("view")||"tools",t=fy((0,a.useState)(e),2),n=t[0],r=t[1],o=Bg({onlyWhenActiveTab:!0,activeTab:n}),i=o.isOpen,l=o.handleClose,c=["smush-maincontent","smush-settings-maincontent"];return a.createElement(a.Fragment,null,a.createElement(my,{isOpen:i,onClose:l}),i?a.createElement(wh,{className:"smush-settings-page smush-page--left-aligned-content"},a.createElement(sy,{className:c.join(" "),onActiveTabChange:r})):a.createElement(Th,{className:"smush-settings-page smush-page--left-aligned-content"},a.createElement(sy,{className:c.join(" "),onActiveTabChange:r})))},vy=n(5338),hy=n(7665),Cy="wpmudev-error-boundary-fallback",gy=function(e){e.error;var t,n=e.resetErrorBoundary,r=(null===(t=window)||void 0===t||null===(t=t.smushUIData)||void 0===t?void 0:t.support_url)||"https://wpmudev.com/get-support/";return a.createElement("div",{className:Cy,role:"alert"},a.createElement("div",{className:"".concat(Cy,"__content")},a.createElement("div",{className:"".concat(Cy,"__icon-circle"),"aria-hidden":"true"},a.createElement(op,{customIconSize:"40",style:{opacity:"0.7"}})),a.createElement("h2",{className:"".concat(Cy,"__title")},(0,Zn.__)("Something went wrong","wp-smushit")),a.createElement("div",{className:"".concat(Cy,"__buttons")},a.createElement(jn,{variant:"black",size:"lg",className:"".concat(Cy,"__btn-refresh"),onClick:function(){n(),window.location.reload()}},(0,Zn.__)("Refresh page","wp-smushit")),a.createElement(Hi.Link,{href:r,target:"_blank",rel:"noopener noreferrer",className:"".concat(Cy,"__btn-support wpmudev-text-link--underline")},a.createElement("span",{className:"".concat(Cy,"__btn-support-label")},(0,Zn.__)("Contact support","wp-smushit"))))))};gy.displayName="ErrorBoundaryFallback",gy.propTypes={error:l().instanceOf(Error),resetErrorBoundary:l().func.isRequired};var by=gy,yy=["children","onError","onReset","FallbackComponent","resetKeys"];function wy(){return wy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wy.apply(null,arguments)}var _y=function(e){var t=e.children,n=e.onError,r=e.onReset,o=e.FallbackComponent,i=void 0===o?by:o,l=e.resetKeys,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,yy);return a.createElement(hy.tH,wy({FallbackComponent:i,onError:function(e,t){console.error("[Smush] Uncaught React error:",e,t),Kn.request("smush_ui_error",{code:(null==e?void 0:e.name)||"UnknownError",message:(null==e?void 0:e.message)||"",stack:((null==e?void 0:e.stack)||"").slice(0,2e3),component_stack:((null==t?void 0:t.componentStack)||"").slice(0,2e3),page:window.location.pathname+window.location.search}).catch(function(){}),null==n||n(e,t)},onReset:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];null==r||r.apply(void 0,t)},resetKeys:l},c),t)};_y.displayName="SmushErrorBoundary",_y.propTypes={children:l().node.isRequired,onError:l().func,onReset:l().func,FallbackComponent:l().elementType,resetKeys:l().array};var Ey=_y;!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpmudev-plugin-ui-smush-page-root";document.addEventListener("DOMContentLoaded",function(){var n=document.getElementById(t);n&&vy.createRoot(n).render(a.createElement(a.StrictMode,null,a.createElement(Yr,null,a.createElement(bi,null,a.createElement(Ey,null,a.createElement(e,null))))))})}(dy)}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,a),n.exports}a.m=r,e=[],a.O=function(t,n,r,o){if(!n){var i=1/0;for(u=0;u<e.length;u++){n=e[u][0],r=e[u][1],o=e[u][2];for(var l=!0,c=0;c<n.length;c++)(!1&o||i>=o)&&Object.keys(a.O).every(function(e){return a.O[e](n[c])})?n.splice(c--,1):(l=!1,o<i&&(i=o));if(l){e.splice(u--,1);var s=r();void 0!==s&&(t=s)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o]},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};t=t||[null,n({}),n([]),n(n)];for(var l=2&r&&e;("object"==typeof l||"function"==typeof l)&&!~t.indexOf(l);l=n(l))Object.getOwnPropertyNames(l).forEach(function(t){i[t]=function(){return e[t]}});return i.default=function(){return e},a.d(o,i),o},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.j=474,function(){var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e+"../"}(),function(){var e={474:0};a.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,i=n[0],l=n[1],c=n[2],s=0;if(i.some(function(t){return 0!==e[t]})){for(r in l)a.o(l,r)&&(a.m[r]=l[r]);if(c)var u=c(a)}for(t&&t(n);s<i.length;s++)o=i[s],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(u)},n=self.webpackChunkwp_smushit=self.webpackChunkwp_smushit||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var i=a.O(void 0,[627],function(){return a(2197)});i=a.O(i)}();