From dbc830716fe22d70d47dd568b2941cff02f01059 Mon Sep 17 00:00:00 2001 From: Nurul Umbhiya Date: Tue, 31 Oct 2023 21:41:16 +0600 Subject: [PATCH 1/2] fix: fixed Appsero security issue chore: updated npm packages --- .gitignore | 2 + composer.json | 9 +- composer.lock | 243 +- dist/app.js | 2 +- dist/runtime.js | 2 +- dist/vendors.css | 362 +- dist/vendors.js | 2 +- dist/vendors.js.LICENSE.txt | 10 +- languages/texty.pot | 89 +- package-lock.json | 10045 ++++++++++++++++++++++++++++++++++ package.json | 3 +- yarn.lock | 6904 ----------------------- 12 files changed, 10385 insertions(+), 7288 deletions(-) create mode 100644 package-lock.json delete mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore index 8c15882..60c57ca 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ node_modules yarn-error.log dev-config.json build +.idea/* +dist/vendors.js.LICENSE.txt diff --git a/composer.json b/composer.json index 069c224..3d27bda 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { - "appsero/client": "^1.2" + "appsero/client": "dev-develop" }, "autoload": { "psr-4": { @@ -21,7 +21,7 @@ }, "require-dev": { "tareq1988/wp-php-cs-fixer": "dev-master", - "wp-coding-standards/wpcs": "dev-master", + "wp-coding-standards/wpcs": "dev-develop", "phpcompatibility/php-compatibility": "*", "phpcompatibility/phpcompatibility-wp": "*", "dealerdirect/phpcodesniffer-composer-installer": "^0.7" @@ -33,5 +33,10 @@ "phpcbf": [ "phpcbf -p" ] + }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } } } diff --git a/composer.lock b/composer.lock index 33869a0..fc66657 100644 --- a/composer.lock +++ b/composer.lock @@ -4,25 +4,34 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a7d5e69e169086ac4c8f8d0137cd3fa8", + "content-hash": "58dc860e2529e546d92ff71f6573d6eb", "packages": [ { "name": "appsero/client", - "version": "v1.2.0", + "version": "dev-develop", "source": { "type": "git", "url": "https://github.com/Appsero/client.git", - "reference": "5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87" + "reference": "3b68f17ac29d56d14a78cc4817c4b80f692e4e3a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Appsero/client/zipball/5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87", - "reference": "5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87", + "url": "https://api.github.com/repos/Appsero/client/zipball/3b68f17ac29d56d14a78cc4817c4b80f692e4e3a", + "reference": "3b68f17ac29d56d14a78cc4817c4b80f692e4e3a", "shasum": "" }, "require": { - "php": ">=5.3" + "php": ">=5.6" }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2", + "phpcompatibility/phpcompatibility-wp": "dev-master", + "phpunit/phpunit": "^8.5.31", + "squizlabs/php_codesniffer": "^3.7", + "tareq1988/wp-php-cs-fixer": "dev-master", + "wp-coding-standards/wpcs": "dev-develop" + }, + "default-branch": true, "type": "library", "autoload": { "psr-4": { @@ -48,9 +57,9 @@ ], "support": { "issues": "https://github.com/Appsero/client/issues", - "source": "https://github.com/Appsero/client/tree/v1.2.0" + "source": "https://github.com/Appsero/client/tree/develop" }, - "time": "2020-09-10T09:10:28+00:00" + "time": "2023-10-11T09:13:55+00:00" } ], "packages-dev": [ @@ -193,16 +202,16 @@ }, { "name": "phpcompatibility/phpcompatibility-paragonie", - "version": "1.3.1", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git", - "reference": "ddabec839cc003651f2ce695c938686d1086cf43" + "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/ddabec839cc003651f2ce695c938686d1086cf43", - "reference": "ddabec839cc003651f2ce695c938686d1086cf43", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/bba5a9dfec7fcfbd679cfaf611d86b4d3759da26", + "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26", "shasum": "" }, "require": { @@ -239,26 +248,27 @@ "paragonie", "phpcs", "polyfill", - "standards" + "standards", + "static analysis" ], "support": { "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues", "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie" }, - "time": "2021-02-15T10:24:51+00:00" + "time": "2022-10-25T01:46:02+00:00" }, { "name": "phpcompatibility/phpcompatibility-wp", - "version": "2.1.3", + "version": "2.1.4", "source": { "type": "git", "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git", - "reference": "d55de55f88697b9cdb94bccf04f14eb3b11cf308" + "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/d55de55f88697b9cdb94bccf04f14eb3b11cf308", - "reference": "d55de55f88697b9cdb94bccf04f14eb3b11cf308", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5", + "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5", "shasum": "" }, "require": { @@ -293,26 +303,163 @@ "compatibility", "phpcs", "standards", + "static analysis", "wordpress" ], "support": { "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues", "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP" }, - "time": "2021-12-30T16:37:40+00:00" + "time": "2022-10-24T09:00:36+00:00" + }, + { + "name": "phpcsstandards/phpcsextra", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", + "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/746c3190ba8eb2f212087c947ba75f4f5b9a58d5", + "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "phpcsstandards/phpcsutils": "^1.0.8", + "squizlabs/php_codesniffer": "^3.7.1" + }, + "require-dev": { + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcsstandards/phpcsdevcs": "^1.1.6", + "phpcsstandards/phpcsdevtools": "^1.2.1", + "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-stable": "1.x-dev", + "dev-develop": "1.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors" + } + ], + "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.", + "keywords": [ + "PHP_CodeSniffer", + "phpcbf", + "phpcodesniffer-standard", + "phpcs", + "standards", + "static analysis" + ], + "support": { + "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues", + "source": "https://github.com/PHPCSStandards/PHPCSExtra" + }, + "time": "2023-09-20T22:06:18+00:00" + }, + { + "name": "phpcsstandards/phpcsutils", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", + "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/69465cab9d12454e5e7767b9041af0cd8cd13be7", + "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7", + "shasum": "" + }, + "require": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", + "php": ">=5.4", + "squizlabs/php_codesniffer": "^3.7.1 || 4.0.x-dev@dev" + }, + "require-dev": { + "ext-filter": "*", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcsstandards/phpcsdevcs": "^1.1.6", + "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-stable": "1.x-dev", + "dev-develop": "1.x-dev" + } + }, + "autoload": { + "classmap": [ + "PHPCSUtils/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors" + } + ], + "description": "A suite of utility functions for use with PHP_CodeSniffer", + "homepage": "https://phpcsutils.com/", + "keywords": [ + "PHP_CodeSniffer", + "phpcbf", + "phpcodesniffer-standard", + "phpcs", + "phpcs3", + "standards", + "static analysis", + "tokens", + "utility" + ], + "support": { + "docs": "https://phpcsutils.com/", + "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues", + "source": "https://github.com/PHPCSStandards/PHPCSUtils" + }, + "time": "2023-07-16T21:39:41+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.6.2", + "version": "3.7.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", "shasum": "" }, "require": { @@ -348,14 +495,15 @@ "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", "keywords": [ "phpcs", - "standards" + "standards", + "static analysis" ], "support": { "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "time": "2021-12-12T21:44:58+00:00" + "time": "2023-02-22T23:07:41+00:00" }, { "name": "tareq1988/wp-php-cs-fixer", @@ -363,12 +511,12 @@ "source": { "type": "git", "url": "https://github.com/tareq1988/wp-php-cs-fixer.git", - "reference": "56b9c1dd2b979a4ff7a25afa2e1c6b290a5ae876" + "reference": "465ea717d0894942bbba260051f0df955286e617" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tareq1988/wp-php-cs-fixer/zipball/56b9c1dd2b979a4ff7a25afa2e1c6b290a5ae876", - "reference": "56b9c1dd2b979a4ff7a25afa2e1c6b290a5ae876", + "url": "https://api.github.com/repos/tareq1988/wp-php-cs-fixer/zipball/465ea717d0894942bbba260051f0df955286e617", + "reference": "465ea717d0894942bbba260051f0df955286e617", "shasum": "" }, "default-branch": true, @@ -393,35 +541,44 @@ "issues": "https://github.com/tareq1988/wp-php-cs-fixer/issues", "source": "https://github.com/tareq1988/wp-php-cs-fixer/tree/master" }, - "time": "2020-09-21T09:47:38+00:00" + "time": "2023-06-19T06:26:04+00:00" }, { "name": "wp-coding-standards/wpcs", - "version": "dev-master", + "version": "dev-develop", "source": { "type": "git", "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", - "reference": "7da1894633f168fe244afc6de00d141f27517b62" + "reference": "7722c0b8a6f4eb615be4ba8ebe22ed92a5fa87d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62", - "reference": "7da1894633f168fe244afc6de00d141f27517b62", + "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7722c0b8a6f4eb615be4ba8ebe22ed92a5fa87d7", + "reference": "7722c0b8a6f4eb615be4ba8ebe22ed92a5fa87d7", "shasum": "" }, "require": { + "ext-filter": "*", + "ext-libxml": "*", + "ext-tokenizer": "*", + "ext-xmlreader": "*", "php": ">=5.4", - "squizlabs/php_codesniffer": "^3.3.1" + "phpcsstandards/phpcsextra": "^1.1.0", + "phpcsstandards/phpcsutils": "^1.0.8", + "squizlabs/php_codesniffer": "^3.7.2" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6", + "php-parallel-lint/php-console-highlighter": "^1.0.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", "phpcompatibility/php-compatibility": "^9.0", - "phpcsstandards/phpcsdevtools": "^1.0", + "phpcsstandards/phpcsdevtools": "^1.2.0", "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically." + "ext-iconv": "For improved results", + "ext-mbstring": "For improved results" }, + "default-branch": true, "type": "phpcodesniffer-standard", "notification-url": "https://packagist.org/downloads/", "license": [ @@ -437,6 +594,7 @@ "keywords": [ "phpcs", "standards", + "static analysis", "wordpress" ], "support": { @@ -444,12 +602,19 @@ "source": "https://github.com/WordPress/WordPress-Coding-Standards", "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" }, - "time": "2020-05-13T23:57:56+00:00" + "funding": [ + { + "url": "https://opencollective.com/thewpcc/contribute/wp-php-63406", + "type": "custom" + } + ], + "time": "2023-09-20T23:16:50+00:00" } ], "aliases": [], "minimum-stability": "dev", "stability-flags": { + "appsero/client": 20, "tareq1988/wp-php-cs-fixer": 20, "wp-coding-standards/wpcs": 20 }, @@ -457,5 +622,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.3.0" } diff --git a/dist/app.js b/dist/app.js index 6c042d2..b843703 100644 --- a/dist/app.js +++ b/dist/app.js @@ -1 +1 @@ -(self.webpackChunktexty=self.webpackChunktexty||[]).push([[143],{8187:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a,r=n(1570),o=n(7294),l=n(3727),s=n(5977),c=n(1171),i=n(8602),u=n(7046),d=n(2700),f=n(4469);function m(){return o.createElement(l.UT,null,o.createElement(c.Ix,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!0,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!1,draggable:!0,pauseOnHover:!0}),o.createElement(i.Z,null),o.createElement("div",{className:"wrap texty"},o.createElement("div",{className:"texty-container"},o.createElement(s.rs,null,o.createElement(s.AW,{path:"/notifications",component:u.Z}),o.createElement(s.AW,{path:"/tools",component:f.Z}),o.createElement(s.AW,{path:"/",exact:!0,component:d.Z})))))}e=n.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var y=(0,r.w)(m);const p=y;var v,b;(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(v.register(m,"App","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/App.js"),v.register(y,"default","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/App.js")),(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&b(e)},8359:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a,r=n(7294);function o(){return r.createElement("svg",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",stroke:"currentColor",viewBox:"0 0 24 24",className:"active-icon"},r.createElement("path",{d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))}e=n.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var l=o;const s=l;var c,i;(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(c.register(o,"ActiveIcon","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/components/ActiveIcon.js"),c.register(l,"default","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/components/ActiveIcon.js")),(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&i(e)},8602:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a,r=n(7294),o=n(3163),l=n(3727);function s(){return r.createElement("div",{className:"texty-header-wrap"},r.createElement("div",{className:"texty-container"},r.createElement("div",{className:"texty-header"},r.createElement("div",{className:"texty-admin-header__logo"},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 97 28",width:"97",height:"28"},r.createElement("g",{fill:"none",fillRule:"nonzero"},r.createElement("path",{fill:"#FF0F45",d:"M15.617 0c.893 0 1.766.084 2.613.244a7.954 7.954 0 00-1.633 4.087 9.766 9.766 0 00-.98-.05c-5.36 0-9.706 4.346-9.706 9.706 0 2.262.774 4.4 2.17 6.117l.933 1.148-1.433 2.44h8.036c5.36 0 9.705-4.345 9.705-9.705 0-.3-.013-.597-.04-.89a7.948 7.948 0 004.102-1.594c.145.806.22 1.636.22 2.484 0 7.725-6.262 13.988-13.987 13.988H0l3.862-6.405-.018-.028a13.934 13.934 0 01-2.214-7.555C1.63 6.262 7.892 0 15.617 0zm8.932 0a5.138 5.138 0 110 10.276A5.138 5.138 0 0124.55 0z"}),r.createElement("path",{fill:"#000",d:"M87.482 7.8l2.65 8.9 2.636-8.9h4.087l-5.734 16.53-.317.755-.039.084c-.856 1.813-2.25 2.72-4.18 2.72a5.977 5.977 0 01-1.687-.252v-2.896l.58.013h.09c.676-.01 1.184-.12 1.525-.33.356-.221.635-.587.837-1.098l.449-1.177-4.997-14.35h4.1zm-43.91-3.518V7.8h2.44v2.803h-2.44v7.142l.001.071c.009.492.11.847.303 1.066.202.23.589.344 1.16.344.422 0 .795-.03 1.12-.093v2.897l-.14.041a7.825 7.825 0 01-2.167.302c-2.671 0-4.033-1.353-4.086-4.06v-7.71H37.68V7.8h2.083V4.282h3.81zm9.894 3.253c1.95 0 3.486.617 4.607 1.852 1.1 1.211 1.66 2.92 1.68 5.127v1.683h-9.082l.013.093c.135.892.502 1.61 1.1 2.156.62.564 1.405.846 2.354.846 1.437 0 2.567-.511 3.389-1.534l.052-.066 1.871 2.103-.061.086c-.565.77-1.318 1.374-2.259 1.811-.975.454-2.056.681-3.243.681-2.091 0-3.794-.643-5.108-1.93-1.29-1.265-1.947-2.941-1.97-5.03v-.628c.018-1.38.295-2.617.83-3.712.554-1.133 1.338-2.006 2.353-2.619 1.015-.612 2.173-.919 3.474-.919zm26.533-3.253V7.8h2.44v2.803h-2.44v7.142l.001.071c.009.492.11.847.303 1.066.202.23.589.344 1.16.344.422 0 .795-.03 1.12-.093v2.897l-.14.041a7.825 7.825 0 01-2.167.302c-2.671 0-4.034-1.353-4.086-4.06v-7.71h-2.083V7.8h2.083V4.282H80zM64.541 7.8l2.347 4.271 2.4-4.271h4.072l-4.06 7.009 4.232 7.3h-4.087l-2.544-4.497-2.531 4.497h-4.1l4.232-7.3-4.047-7.01h4.086zm-11.089 2.83c-.755 0-1.368.255-1.839.767-.454.494-.75 1.193-.888 2.097l-.015.098h5.3v-.304l-.003-.087c-.03-.804-.258-1.43-.683-1.877-.44-.463-1.063-.694-1.872-.694z"})))),r.createElement("div",{className:"texty-admin-header__menu"},r.createElement(l.OL,{to:"/",exact:!0,className:"header-link",title:(0,o.__)("Gateway Settings","texty")},r.createElement("span",{className:"dashicons dashicons-admin-settings"}),r.createElement("span",{className:"title"},(0,o.__)("Gateway Settings","texty"))),r.createElement(l.OL,{to:"/notifications",className:"header-link",title:(0,o.__)("Notifications","texty")},r.createElement("span",{className:"dashicons dashicons-admin-plugins"}),r.createElement("span",{className:"title"},(0,o.__)("Notifications","texty"))),r.createElement(l.OL,{to:"/tools",className:"header-link",title:(0,o.__)("Tools","texty")},r.createElement("span",{className:"dashicons dashicons-admin-tools"}),r.createElement("span",{className:"title"},(0,o.__)("Tools","texty")))))))}e=n.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var c=s;const i=c;var u,d;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(s,"Header","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/components/Header.js"),u.register(c,"default","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/components/Header.js")),(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&d(e)},9931:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a,r=n(7294),o=n(3163),l=n(4184),s=n.n(l),c=n(5373),i=n(6117),u=n(5311),d=n(3412),f=n(1613);function m(e){var t=e.title,n=e.description,a=e.keyName,l=e.roles,m=e.settings,y=e.setOption,p=m.replacements.map((function(e){return"{".concat(e,"}")})).join(", ");return r.createElement(c.Z,{initialOpen:!1,title:r.createElement(r.Fragment,null,r.createElement("span",null,t),r.createElement("span",{className:s()("label",{active:!0===m.enabled})},m.enabled?(0,o.__)("active","texty"):(0,o.__)("inactive","texty")))},r.createElement(i.Z,{label:(0,o.__)("Enable","texty"),help:n,checked:m.enabled,onChange:function(e){return y(a,"enabled",e)}}),"role"===m.type&&r.createElement(u.Z,{label:(0,o.__)("Recipients"),help:"role"===m.type?(0,o.__)("Select one or multiple user roles. Users with phone number in their profile will receive the text","texty"):""},r.createElement(f.ZP,{required:!0,isMulti:"role"===m.type,value:l.filter((function(e){return m.recipients.includes(e.value)})),options:l,onChange:function(e){y(a,"recipients",null!==e?e.map((function(e){return e.value})):[])}})),r.createElement(d.Z,{label:(0,o.__)("Message","texty"),className:"monospace",required:!0,help:r.createElement("span",{className:"help",dangerouslySetInnerHTML:{__html:(0,o.__)("You may use these variables: ","texty")+p}}),value:m.message,onChange:function(e){return y(a,"message",e)}}))}e=n.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var y=m;const p=y;var v,b;(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(v.register(m,"NotificationItem","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/components/NotificationItem.js"),v.register(y,"default","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/components/NotificationItem.js")),(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&b(e)},2797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var a,r=n(7294),o=n(3163),l=n(7606),s=n.n(l),c=n(9545),i=n(3412),u=n(7226),d=n(1171);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],a=!0,r=!1,o=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{a||null==s.return||s.return()}finally{if(r)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n{"use strict";n.d(t,{Z:()=>p});var a,r=n(7294),o=n(3163),l=n(7606),s=n.n(l),c=n(1264),i=n(4410),u=n(7347);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],a=!0,r=!1,o=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{a||null==s.return||s.return()}finally{if(r)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n{"use strict";n.d(t,{Z:()=>p});var a,r=n(7294),o=n(3163),l=n(7606),s=n.n(l),c=n(9545),i=n(7226),u=n(1171);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],a=!0,r=!1,o=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{a||null==s.return||s.return()}finally{if(r)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n{"use strict";var a,r=n(7294),o=n(9060),l=n(788),s=n(8187);n(4061),e=n.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var c,i,u=document.getElementById("texty-app");o.render(r.createElement(s.Z,null),u),(0,l.Z)("texty"),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&c.register(u,"mountNode","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/index.js"),(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&i(e)},7046:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var a,r=n(7294),o=n(3163),l=n(1171),s=n(7606),c=n.n(s),i=n(4184),u=n.n(i),d=n(4410),f=n(3818),m=n(4746),y=n(6887),p=n(3033),v=n(7226),b=n(9931);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,a=new Array(t);n{"use strict";n.d(t,{Z:()=>j});var a,r=n(7294),o=n(3163),l=n(7606),s=n.n(l),c=n(4410),i=n(3818),u=n(4746),d=n(6887),f=n(5311),m=n(9545),y=n(7226),p=n(4184),v=n.n(p),b=n(1171),g=n(7555),h=n.n(g),x=n(8359);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,a=new Array(t);n{"use strict";n.d(t,{Z:()=>y});var a,r=n(7294),o=n(3163),l=n(3818),s=n(4746),c=n(6887),i=n(6992),u=n(2797),d=n(9653);function f(){return r.createElement("div",{className:"texty-tools"},r.createElement("h1",null,(0,o.__)("Tools","texty")),r.createElement(i.Z,null),r.createElement("div",{className:"texty-two-col"},r.createElement("div",{className:"texty-col"},r.createElement(l.ZP,{className:"mt-4"},r.createElement(s.ZP,null,(0,o.__)("Test Message","texty")),r.createElement(c.ZP,null,r.createElement(d.Z,null)))),r.createElement("div",{className:"texty-col"},r.createElement(l.ZP,{className:"mt-4"},r.createElement(s.ZP,null,(0,o.__)("Quick Send","texty")),r.createElement(c.ZP,null,r.createElement(u.Z,null))))))}e=n.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var m=f;const y=m;var p,v;(p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(p.register(f,"Tools","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/pages/Tools.js"),p.register(m,"default","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/pages/Tools.js")),(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&v(e)},788:(e,t,n)=>{"use strict";var a;function r(e){var t=jQuery,n=t("#toplevel_page_"+e),a=window.location.href,r=a.substr(a.indexOf("admin.php"));n.on("click","a",(function(){var e=t(this);t("ul.wp-submenu li",n).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",n).addClass("current"):e.parents("li").addClass("current")})),t("ul.wp-submenu a",n).each((function(e,n){t(n).attr("href")!==r||t(n).parent().addClass("current")}))}n.d(t,{Z:()=>l}),e=n.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o=r;const l=o;var s,c;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(s.register(r,"menuFix","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/utils/admin-menu-fix.js"),s.register(o,"default","/Users/tareq/Development/htdocs/texty/wp-content/plugins/texty/src/utils/admin-menu-fix.js")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)},7606:e=>{"use strict";e.exports=wp.apiFetch},3163:e=>{"use strict";e.exports=wp.i18n}},0,[[5579,666,216]]]); \ No newline at end of file +"use strict";(self.webpackChunktexty=self.webpackChunktexty||[]).push([[143],{8187:(e,t,n)=>{n.d(t,{Z:()=>p});var r,a=n(1570),o=n(7294),l=n(3727),s=n(6550),c=n(1231),i=n(8602),u=n(7046),d=n(2700),f=n(4469);function m(){return o.createElement(l.UT,null,o.createElement(c.Ix,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!0,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!1,draggable:!0,pauseOnHover:!0}),o.createElement(i.Z,null),o.createElement("div",{className:"wrap texty"},o.createElement("div",{className:"texty-container"},o.createElement(s.rs,null,o.createElement(s.AW,{path:"/notifications",component:u.Z}),o.createElement(s.AW,{path:"/tools",component:f.Z}),o.createElement(s.AW,{path:"/",exact:!0,component:d.Z})))))}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var y=(0,a.w)(m);const p=y;var v,b;(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(v.register(m,"App","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/App.js"),v.register(y,"default","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/App.js")),(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&b(e)},8359:(e,t,n)=>{n.d(t,{Z:()=>s});var r,a=n(7294);function o(){return a.createElement("svg",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",stroke:"currentColor",viewBox:"0 0 24 24",className:"active-icon"},a.createElement("path",{d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var l=o;const s=l;var c,i;(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(c.register(o,"ActiveIcon","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/components/ActiveIcon.js"),c.register(l,"default","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/components/ActiveIcon.js")),(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&i(e)},8602:(e,t,n)=>{n.d(t,{Z:()=>i});var r,a=n(7294),o=n(4635),l=n(3727);function s(){return a.createElement("div",{className:"texty-header-wrap"},a.createElement("div",{className:"texty-container"},a.createElement("div",{className:"texty-header"},a.createElement("div",{className:"texty-admin-header__logo"},a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 97 28",width:"97",height:"28"},a.createElement("g",{fill:"none",fillRule:"nonzero"},a.createElement("path",{fill:"#FF0F45",d:"M15.617 0c.893 0 1.766.084 2.613.244a7.954 7.954 0 00-1.633 4.087 9.766 9.766 0 00-.98-.05c-5.36 0-9.706 4.346-9.706 9.706 0 2.262.774 4.4 2.17 6.117l.933 1.148-1.433 2.44h8.036c5.36 0 9.705-4.345 9.705-9.705 0-.3-.013-.597-.04-.89a7.948 7.948 0 004.102-1.594c.145.806.22 1.636.22 2.484 0 7.725-6.262 13.988-13.987 13.988H0l3.862-6.405-.018-.028a13.934 13.934 0 01-2.214-7.555C1.63 6.262 7.892 0 15.617 0zm8.932 0a5.138 5.138 0 110 10.276A5.138 5.138 0 0124.55 0z"}),a.createElement("path",{fill:"#000",d:"M87.482 7.8l2.65 8.9 2.636-8.9h4.087l-5.734 16.53-.317.755-.039.084c-.856 1.813-2.25 2.72-4.18 2.72a5.977 5.977 0 01-1.687-.252v-2.896l.58.013h.09c.676-.01 1.184-.12 1.525-.33.356-.221.635-.587.837-1.098l.449-1.177-4.997-14.35h4.1zm-43.91-3.518V7.8h2.44v2.803h-2.44v7.142l.001.071c.009.492.11.847.303 1.066.202.23.589.344 1.16.344.422 0 .795-.03 1.12-.093v2.897l-.14.041a7.825 7.825 0 01-2.167.302c-2.671 0-4.033-1.353-4.086-4.06v-7.71H37.68V7.8h2.083V4.282h3.81zm9.894 3.253c1.95 0 3.486.617 4.607 1.852 1.1 1.211 1.66 2.92 1.68 5.127v1.683h-9.082l.013.093c.135.892.502 1.61 1.1 2.156.62.564 1.405.846 2.354.846 1.437 0 2.567-.511 3.389-1.534l.052-.066 1.871 2.103-.061.086c-.565.77-1.318 1.374-2.259 1.811-.975.454-2.056.681-3.243.681-2.091 0-3.794-.643-5.108-1.93-1.29-1.265-1.947-2.941-1.97-5.03v-.628c.018-1.38.295-2.617.83-3.712.554-1.133 1.338-2.006 2.353-2.619 1.015-.612 2.173-.919 3.474-.919zm26.533-3.253V7.8h2.44v2.803h-2.44v7.142l.001.071c.009.492.11.847.303 1.066.202.23.589.344 1.16.344.422 0 .795-.03 1.12-.093v2.897l-.14.041a7.825 7.825 0 01-2.167.302c-2.671 0-4.034-1.353-4.086-4.06v-7.71h-2.083V7.8h2.083V4.282H80zM64.541 7.8l2.347 4.271 2.4-4.271h4.072l-4.06 7.009 4.232 7.3h-4.087l-2.544-4.497-2.531 4.497h-4.1l4.232-7.3-4.047-7.01h4.086zm-11.089 2.83c-.755 0-1.368.255-1.839.767-.454.494-.75 1.193-.888 2.097l-.015.098h5.3v-.304l-.003-.087c-.03-.804-.258-1.43-.683-1.877-.44-.463-1.063-.694-1.872-.694z"})))),a.createElement("div",{className:"texty-admin-header__menu"},a.createElement(l.OL,{to:"/",exact:!0,className:"header-link",title:(0,o.__)("Gateway Settings","texty")},a.createElement("span",{className:"dashicons dashicons-admin-settings"}),a.createElement("span",{className:"title"},(0,o.__)("Gateway Settings","texty"))),a.createElement(l.OL,{to:"/notifications",className:"header-link",title:(0,o.__)("Notifications","texty")},a.createElement("span",{className:"dashicons dashicons-admin-plugins"}),a.createElement("span",{className:"title"},(0,o.__)("Notifications","texty"))),a.createElement(l.OL,{to:"/tools",className:"header-link",title:(0,o.__)("Tools","texty")},a.createElement("span",{className:"dashicons dashicons-admin-tools"}),a.createElement("span",{className:"title"},(0,o.__)("Tools","texty")))))))}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var c=s;const i=c;var u,d;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(s,"Header","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/components/Header.js"),u.register(c,"default","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/components/Header.js")),(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&d(e)},9931:(e,t,n)=>{n.d(t,{Z:()=>p});var r,a=n(7294),o=n(4635),l=n(4184),s=n.n(l),c=n(5373),i=n(6117),u=n(9586),d=n(3412),f=n(211);function m(e){var t=e.title,n=e.description,r=e.keyName,l=e.roles,m=e.settings,y=e.setOption,p=m.replacements.map((function(e){return"{".concat(e,"}")})).join(", ");return a.createElement(c.Z,{initialOpen:!1,title:a.createElement(a.Fragment,null,a.createElement("span",null,t),a.createElement("span",{className:s()("label",{active:!0===m.enabled})},m.enabled?(0,o.__)("active","texty"):(0,o.__)("inactive","texty")))},a.createElement(i.Z,{label:(0,o.__)("Enable","texty"),help:n,checked:m.enabled,onChange:function(e){return y(r,"enabled",e)}}),"role"===m.type&&a.createElement(u.Z,{label:(0,o.__)("Recipients"),help:"role"===m.type?(0,o.__)("Select one or multiple user roles. Users with phone number in their profile will receive the text","texty"):""},a.createElement(f.ZP,{required:!0,isMulti:"role"===m.type,value:l.filter((function(e){return m.recipients.includes(e.value)})),options:l,onChange:function(e){y(r,"recipients",null!==e?e.map((function(e){return e.value})):[])}})),a.createElement(d.Z,{label:(0,o.__)("Message","texty"),className:"monospace",required:!0,help:a.createElement("span",{className:"help",dangerouslySetInnerHTML:{__html:(0,o.__)("You may use these variables: ","texty")+p}}),value:m.message,onChange:function(e){return y(r,"message",e)}}))}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var y=m;const p=y;var v,b;(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(v.register(m,"NotificationItem","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/components/NotificationItem.js"),v.register(y,"default","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/components/NotificationItem.js")),(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&b(e)},2797:(e,t,n)=>{n.d(t,{Z:()=>v});var r,a=n(7294),o=n(4635),l=n(1865),s=n.n(l),c=n(9545),i=n(3412),u=n(9676),d=n(1231);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,a,o,l,s=[],c=!0,i=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){i=!0,a=e}finally{try{if(!c&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(i)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{n.d(t,{Z:()=>p});var r,a=n(7294),o=n(4635),l=n(1865),s=n.n(l),c=n(1264),i=n(4410),u=n(7347);function d(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,a,o,l,s=[],c=!0,i=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){i=!0,a=e}finally{try{if(!c&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(i)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{n.d(t,{Z:()=>p});var r,a=n(7294),o=n(4635),l=n(1865),s=n.n(l),c=n(9545),i=n(9676),u=n(1231);function d(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,a,o,l,s=[],c=!0,i=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){i=!0,a=e}finally{try{if(!c&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(i)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var r,a=n(7294),o=n(9060),l=n(788),s=n(8187);n(4061),e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var c,i,u=document.getElementById("texty-app");o.render(a.createElement(s.Z,null),u),(0,l.Z)("texty"),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&c.register(u,"mountNode","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/index.js"),(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&i(e)},7046:(e,t,n)=>{n.d(t,{Z:()=>H});var r,a=n(7294),o=n(4635),l=n(1231),s=n(1865),c=n.n(s),i=n(4184),u=n.n(i),d=n(4410),f=n(3818),m=n(4746),y=n(6887),p=n(3033),v=n(9676),b=n(9931);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 h(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 E(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{n.d(t,{Z:()=>O});var r,a=n(7294),o=n(4635),l=n(1865),s=n.n(l),c=n(4410),i=n(3818),u=n(4746),d=n(6887),f=n(9586),m=n(9545),y=n(9676),p=n(4184),v=n.n(p),b=n(1231),g=n(7555),h=n.n(g),E=n(8359);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{n.d(t,{Z:()=>y});var r,a=n(7294),o=n(4635),l=n(3818),s=n(4746),c=n(6887),i=n(6992),u=n(2797),d=n(9653);function f(){return a.createElement("div",{className:"texty-tools"},a.createElement("h1",null,(0,o.__)("Tools","texty")),a.createElement(i.Z,null),a.createElement("div",{className:"texty-two-col"},a.createElement("div",{className:"texty-col"},a.createElement(l.ZP,{className:"mt-4"},a.createElement(s.ZP,null,(0,o.__)("Test Message","texty")),a.createElement(c.ZP,null,a.createElement(d.Z,null)))),a.createElement("div",{className:"texty-col"},a.createElement(l.ZP,{className:"mt-4"},a.createElement(s.ZP,null,(0,o.__)("Quick Send","texty")),a.createElement(c.ZP,null,a.createElement(u.Z,null))))))}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var m=f;const y=m;var p,v;(p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(p.register(f,"Tools","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/pages/Tools.js"),p.register(m,"default","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/pages/Tools.js")),(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&v(e)},788:(e,t,n)=>{var r;function a(e){var t=jQuery,n=t("#toplevel_page_"+e),r=window.location.href,a=r.substr(r.indexOf("admin.php"));n.on("click","a",(function(){var e=t(this);t("ul.wp-submenu li",n).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",n).addClass("current"):e.parents("li").addClass("current")})),t("ul.wp-submenu a",n).each((function(e,n){t(n).attr("href")!==a||t(n).parent().addClass("current")}))}n.d(t,{Z:()=>l}),e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o=a;const l=o;var s,c;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(s.register(a,"menuFix","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/utils/admin-menu-fix.js"),s.register(o,"default","/Users/wedevs/htdocs/dokan/wp-content/plugins/texty/src/utils/admin-menu-fix.js")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)},1865:e=>{e.exports=wp.apiFetch},4635:e=>{e.exports=wp.i18n}},e=>{e.O(0,[216],(()=>(5579,e(e.s=5579)))),e.O()}]); \ No newline at end of file diff --git a/dist/runtime.js b/dist/runtime.js index 104ce10..678024b 100644 --- a/dist/runtime.js +++ b/dist/runtime.js @@ -1 +1 @@ -(()=>{"use strict";var e={},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={id:o,loaded:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}t.m=e,t.x=e=>{},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0},r=[],o=e=>{},n=(n,l)=>{for(var a,i,[s,u,d,p]=l,c=0,h=[];c{}),o}l.forEach(n.bind(null,0)),l.push=n.bind(null,l.push.bind(l));var i=t.x;t.x=()=>(t.x=i||(e=>{}),(o=a)())})(),t.x()})(); \ No newline at end of file +(()=>{"use strict";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var i=t[e]={id:e,loaded:!1,exports:{}};return r[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=r,e=[],o.O=(r,t,n,i)=>{if(!t){var l=1/0;for(u=0;u=i)&&Object.keys(o.O).every((e=>o.O[e](t[d])))?t.splice(d--,1):(a=!1,i0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[t,n,i]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var n,i,[l,a,d]=t,s=0;if(l.some((r=>0!==e[r]))){for(n in a)o.o(a,n)&&(o.m[n]=a[n]);if(d)var u=d(o)}for(r&&r(t);s{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{e.exports=function(e){if(Array.isArray(e))return e}},3646:(e,t,n)=>{var r=n(7228);e.exports=function(e){if(Array.isArray(e))return r(e)}},1506:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},9713:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},676:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nr})},3349:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},6610:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},5991:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;no})},6156:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},2122:(e,t,n)=>{"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;tr})},7608:(e,t,n)=>{"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:()=>r})},5255:(e,t,n)=>{"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,{Z:()=>o})},1788:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,{Z:()=>r})},1253:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9756);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},9756:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},6070:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(484),o=n(3349);function i(e,t){return!t||"object"!==(0,r.Z)(t)&&"function"!=typeof t?(0,o.Z)(e):t}},4699:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2961);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(e,t)||(0,r.Z)(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.")}()}},2465:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},7329:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(676),o=n(2961);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||(0,o.Z)(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.")}()}},484:(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:()=>r})},2961:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(676);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},7154:e=>{function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t{e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},6860:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},3884:e=>{e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}},521:e=>{e.exports=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.")}},8206:e=>{e.exports=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.")}},6479:(e,t,n)=>{var r=n(7316);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},7316:e=>{e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}},3038:(e,t,n)=>{var r=n(2858),o=n(3884),i=n(379),a=n(521);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},8655:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},319:(e,t,n)=>{var r=n(3646),o=n(6860),i=n(379),a=n(8206);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},8:e=>{function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},379:(e,t,n)=>{var r=n(7228);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},6043:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(9664);const o=function(e){function t(e,r,l,s,p){for(var d,h,v,m,w,k=0,x=0,S=0,O=0,C=0,R=0,I=v=d=0,D=0,M=0,F=0,z=0,Z=l.length,V=Z-1,U="",B="",H="",W="";Dd)&&(z=(U=U.replace(" ",":")).length),0r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102r.charCodeAt(0)&&(r=r.trim()),r=[r],0{"use strict";n.d(t,{nq:()=>c,ms:()=>_,Ni:()=>s,iv:()=>m.Z,tZ:()=>g,F4:()=>y,Xn:()=>f});n(1788);var r=n(7294),o=n(6043),i=(n(5354),n(8087)),a=n(2015),u=Object.prototype.hasOwnProperty,l=(0,r.createContext)("undefined"!=typeof HTMLElement?(0,o.Z)():null),s=(0,r.createContext)({}),c=l.Provider,f=function(e){var t=function(t,n){return(0,r.createElement)(l.Consumer,null,(function(r){return e(t,r,n)}))};return(0,r.forwardRef)(t)},p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",d=function(e,t){var n={};for(var r in t)u.call(t,r)&&(n[r]=t[r]);return n[p]=e,n},h=function(e,t,n,o){var l=null===n?t.css:t.css(n);"string"==typeof l&&void 0!==e.registered[l]&&(l=e.registered[l]);var s=t[p],c=[l],f="";"string"==typeof t.className?f=(0,i.f)(e.registered,c,t.className):null!=t.className&&(f=t.className+" ");var d=(0,a.O)(c);(0,i.M)(e,d,"string"==typeof s),f+=e.key+"-"+d.name;var h={};for(var v in t)u.call(t,v)&&"css"!==v&&v!==p&&(h[v]=t[v]);return h.ref=o,h.className=f,(0,r.createElement)(s,h)},v=f((function(e,t,n){return"function"==typeof e.css?(0,r.createElement)(s.Consumer,null,(function(r){return h(t,e,r,n)})):h(t,e,null,n)})),m=(n(9664),n(3998)),g=function(e,t){var n=arguments;if(null==t||!u.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=v,i[1]=d(e,t);for(var a=2;a{"use strict";n.d(t,{Z:()=>o});var r=n(2015);const o=function(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{Z:()=>r});const r=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},2015:(e,t,n)=>{"use strict";n.d(t,{O:()=>v});const r=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var i=n(2717),a=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},s=function(e){return null!=e&&"boolean"!=typeof e},c=(0,i.Z)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,(function(e,t,n){return d={name:t,styles:n,next:d},t}))}return 1===o[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return d={name:n.name,styles:n.styles,next:d},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)d={name:o.name,styles:o.styles,next:d},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o{"use strict";n.d(t,{m:()=>r});var r=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t{"use strict";n.d(t,{Z:()=>g});var r=n(9713),o=n.n(r),i=n(7294),a=n(2717),u=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const l=(0,a.Z)((function(e){return u.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var s=n(3225),c=n(8087),f=n(2015),p=l,d=function(e){return"theme"!==e&&"innerRef"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:d};function v(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 m(e){for(var t=1;t{"use strict";function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}n.d(t,{f:()=>r,M:()=>o});var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0),o=o.next}while(void 0!==o)}}},1583:(e,t,n)=>{"use strict";var r=n(7294),o=n(7418),i=n(2323);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n